-
Notifications
You must be signed in to change notification settings - Fork 134
Description
Hi all,
I have compiled, after a bit of work, the latest version of Seismic Unix on a computer running Centos 9 stream, .. I resolved some error messages related to selinux, little endian- big endian, "-fcommon" .. etc... in the end everything compiles at once,,
I ran some examples from the demo directory correctly... however when running the suxedit command, I get an error message that I have not been able to fully understand.. :
#suxedit < sx000_1y2.su
suxedit: ! examine only (no header editing from STDIN)
36 traces in input file
tracl=24 tracr=24 tracf=24 nvs=3 offset=180 gx=180
ns=1000 dt=500 afilf=833 hour=14 minute=7 sec=8
grnlof=24
g 1 10
suxedit: subcalls.c: efopen: fopen failed
Any idea what's is wrong here ?
my Makefile.config file
gcc version 11.5.0
LINEHDRFLAG =
XDRFLAG = -DSUXDR -DSUTIRPC -I/usr/include/tirpc/rpc -I/usr/include/tirpc
XDRLFLAGS = -L/usr/lib64 -ltirpc
ENDIANFLAG = -DCWP_BIG_ENDIAN
LARGE_FILE_FLAG = -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
CWP_FLAGS =
...
...
IX11 = /usr/include
LX11 = /usr/lib64
IMOTIF = /usr/include
LMOTIF = /usr/lib64
LD_LIBRARY_PATH +=
CPP = cpp
CC = gcc
OPTC = -g -std=c99 -Wall -pedantic -Wno-long-long
CFLAGS = -I$I
FC = gfortran
FOPTS = -g
FFLAGS = $(FOPTS) -std=legacy -ffixed-line-length-none
C++FLAGS = -I$I