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 #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:
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. ctao.28070 selec
1994.300. dirlsit.tmp selec2
1994.300. selec2.f
1994.300. graphe2.aux selec3
1994.300. graphe2bis.aux selec3.f
1994.300. graphe2bis.tex selec.f
1994.300. graphe2.tex selection
1994.300. graphe.aux set.m
1994.300. graphe.tex split
1994.300.CTAO.sac.e header split_mult
1994.300.CTAO.sac.n highdt_wookey
1994.300.CTAO.sac.z iasp91.hed split.tar
1997. iasp91.tbl src
1997. iasp91.tvel statcoor.tmp

SAC> r 1997.
ERROR 1301: No data files read in.

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


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
make: *** [enlarge.o] Error 1

This is the sticking point of the compile.

Ray Martin
Unix Administrator (IT)
Research School of Earth Science
Jaeger 2, Building 61, Mills Road
Canberra ACT 0200 Australia
T: +61 2 61254269
F: +61 2 62572737
email: ray.martin<at>

CRICOS Provider #001200C

14:03:45 v.ad6b513c