Thread: Problems with build on SuSe 9.3 AMD 64 bit processors

Started: 2005-08-17 19:12:35
Last activity: 2005-08-17 19:12:35
Topics: SAC Help
The linux binaries give a segmentation fault and the build fails.
See details attached below
A build of SAC2000 on SuSe 9.3
for Linux rayleigh 2.6.11.4-20a-smp #1 SMP Wed Mar 23 21:52:37 UTC 2005
x86_64 x86_64 x86_64 GNU/Linux


I've taken out the -m64 in the build and get a stable sac prompt but it
thinks its bigendian when its little endian and
won't read sac files:
ie
Directory: /Tdata/p1/split_sac_2000
p1/split_sac_2000> sac
Error determining byte order
Cannot open file to read.
Will assume machine is bigendin when reading CSS waveforms
SEISMIC ANALYSIS CODE [08/16/2005 (Version 100.00)]
Copyright 1995 Regents of the University of California

SAC> ls
1993.080.CTAO.sac.e a.n SB03.smea
1993.080.CTAO.sac.n a.var SB03.split
1993.080.CTAO.sac.var avril2004.19963 seedtools
1993.080.CTAO.sac.z a.z sel
1994.300.22.18.23.5750.IU.CTAO..BHE.D.SAC ctao.28070 selec
1994.300.22.19.35.3750.IU.CTAO..BHN.D.SAC dirlsit.tmp selec2
1994.300.22.20.35.3750.IU.CTAO..BHZ.D.SAC event.info selec2.f
1994.300.22.21.24.1770.IU.CTAO..BHE.D.SAC graphe2.aux selec3
1994.300.22.23.35.9740.IU.CTAO..BHZ.D.SAC graphe2bis.aux selec3.f
1994.300.22.24.24.7750.IU.CTAO..BHE.D.SAC graphe2bis.tex selec.f
1994.300.22.26.20.7750.IU.CTAO..BHZ.D.SAC graphe2.tex selection
1994.300.22.30.41.9740.IU.CTAO..BHE.D.SAC graphe.aux set.m
1994.300.22.33.07.0750.IU.CTAO..BHE.D.SAC graphe.tex split
1994.300.CTAO.sac.e header split_mult
1994.300.CTAO.sac.n highdt_wookey
split_mult_fab
1994.300.CTAO.sac.z iasp91.hed split.tar
1997.145.23.24.46.5790.IU.NWAO..BHE.D.SAC iasp91.tbl src
1997.145.23.25.05.2300.IU.NWAO..BHN.D.SAC iasp91.tvel statcoor.tmp

SAC> r 1997.145.23.24.46.5790.IU.NWAO..BHE.D.SAC
ERROR 1301: No data files read in.
SAC>

SO I'm trying to work on the static integer statemnt in

enlarge.c

which gives:

/usr/local/sac/src/SeisMgr/cssListOps # make
cc -c enlarge.c
enlarge.c: In function âenlargeâ:
enlarge.c:20: error: invalid storage class for function âe_decompressâ
enlarge.c: At top level:
enlarge.c:149: error: static declaration of âe_decompressâ follows
non-static declaration
enlarge.c:70: error: previous implicit declaration of âe_decompressâ was
here
make: *** [enlarge.o] Error 1

This is the sticking point of the compile.




--
Ray Martin
Unix Administrator (IT)
Seismology
Research School of Earth Science
Jaeger 2, Building 61, Mills Road
Canberra ACT 0200 Australia
T: +61 2 61254269
F: +61 2 62572737
W: http://rses.anu.edu.au/~ray
email: ray.martin<at>anu.edu.au

CRICOS Provider #001200C


Page built 20:31:48 | v.b'59d0d2