Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seismic Unix 44R26: suxedit: subcalls.c: efopen: fopen failed #185

Open
rumekintun opened this issue Dec 17, 2024 · 0 comments
Open

Seismic Unix 44R26: suxedit: subcalls.c: efopen: fopen failed #185

rumekintun opened this issue Dec 17, 2024 · 0 comments

Comments

@rumekintun
Copy link

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 = $(LARGE_FILE_FLAG) $(ENDIANFLAG) $(XDRFLAG) $(LINEHDRFLAG) -L/usr/lib64 -ltirpc
...
...
IX11 = /usr/include
LX11 = /usr/lib64
IMOTIF = /usr/include
LMOTIF = /usr/lib64
LD_LIBRARY_PATH += $(CWPROOT)/lib:${LX11}:${LMOTIF}
CPP = cpp
CC = gcc
OPTC = -g -std=c99 -Wall -pedantic -Wno-long-long
CFLAGS = -I$I $(OPTC) $(CWP_FLAGS) -D_BSD_SOURCE -D_POSIX_SOURCE
FC = gfortran
FOPTS = -g
FFLAGS = $(FOPTS) -std=legacy -ffixed-line-length-none
C++FLAGS = -I$I $(OPTC) $(CWP_FLAGS)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant