Hi Jagatjit,

It look like you have not unpacked the libmseed packet, please read the 
instruction in the manual:
http://seis.geus.net/software/seisan/node22.html

good luck, Peter

Fra: [email protected] [mailto:[email protected]] På vegne af 
Jagajit Moirangthem
Sendt: 22. oktober 2011 14:50
Til: [email protected]
Emne: [seisan] Compilation issue

Dear Sir

Is there any special instruction required for compiling on RedHat 6 based 
distribution?

With thanks and Regards
Jagajit M.
Manipur University
India

OS Version
Scientific linux 6
Linux version 2.6.32-71.29.1.el6.i686 
([email protected]<mailto:[email protected]>) (gcc version 4.4.4 
20100726 (Red Hat 4.4.4-13) (GCC) ) #1 SMP Tue May 10 17:35:05 CDT 2011

GCC Version
 Target: i686-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man 
--infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla 
--enable-bootstrap --enable-shared --enable-threads=posix 
--enable-checking=release --with-system-zlib --enable-__cxa_atexit 
--disable-libunwind-exceptions --enable-gnu-unique-object 
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk 
--disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre 
--enable-libgcj-multifile --enable-java-maintainer-mode 
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib 
--with-ppl --with-cloog --with-tune=generic --with-arch=i686 
--build=i686-redhat-linux
Thread model: posix
gcc version 4.4.4 20100726 (Red Hat 4.4.4-13) (GCC)

Compile Error
gcc -g -c -I../INC -o seisanarch.o seisanarch.c -Ilibmseed/
seisanarch.c:45:22: error: libmseed.h: No such file or directory
seisanarch.c:54: error: expected ')' before 'time'
seisanarch.c:55: error: expected ')' before 'starttime'
seisanarch.c:56: error: expected ')' before '*' token
seisanarch.c: In function 'getarchinfo_':
seisanarch.c:110: error: 'hptime_t' undeclared (first use in this function)
seisanarch.c:110: error: (Each undeclared identifier is reported only once
seisanarch.c:110: error: for each function it appears in.)
seisanarch.c:110: error: expected ';' before 'starttime'
seisanarch.c:111: error: expected ';' before 'endtime'
seisanarch.c:112: error: 'BTime' undeclared (first use in this function)
seisanarch.c:112: error: expected ';' before 'bstarttime'
seisanarch.c:113: error: expected ';' before 'bendtime'
seisanarch.c:126: error: 'starttime' undeclared (first use in this function)
seisanarch.c:127: error: 'endtime' undeclared (first use in this function)
seisanarch.c:130: error: 'bstarttime' undeclared (first use in this function)
seisanarch.c:131: error: 'bendtime' undeclared (first use in this function)
seisanarch.c:149: error: 'MSTraceGroup' undeclared (first use in this function)
seisanarch.c:149: error: 'mstg' undeclared (first use in this function)
seisanarch.c: In function 'getarchdata_':
seisanarch.c:227: error: 'hptime_t' undeclared (first use in this function)
seisanarch.c:227: error: expected ';' before 'starttime'
seisanarch.c:228: error: expected ';' before 'endtime'
seisanarch.c:229: error: 'BTime' undeclared (first use in this function)
seisanarch.c:229: error: expected ';' before 'bstarttime'
seisanarch.c:230: error: expected ';' before 'bendtime'
seisanarch.c:240: error: 'starttime' undeclared (first use in this function)
seisanarch.c:241: error: 'endtime' undeclared (first use in this function)
seisanarch.c:246: error: 'bstarttime' undeclared (first use in this function)
seisanarch.c:247: error: 'bendtime' undeclared (first use in this function)
seisanarch.c:264: error: 'MSTraceGroup' undeclared (first use in this function)
seisanarch.c:264: error: 'mstg' undeclared (first use in this function)
seisanarch.c: In function 'trim_string':
seisanarch.c:327: warning: incompatible implicit declaration of built-in 
function 'malloc'
seisanarch.c: At top level:
seisanarch.c:336: error: expected ')' before 'time'
seisanarch.c:364: error: expected ')' before 'starttime'
seisanarch.c:428: error: expected ')' before '*' token
make[1]: *** [seisanarch.o] Error 1
make[1]: Leaving directory `/home/seismo/LIB'
--------------------------------------------------
---- COMPILING SEISAN 9.0 PROGRAMS -----------------
--------------------------------------------------
make: *** No rule to make target `../LIB/./seisan.a', needed by `ahsei'.  Stop.
_______________________________________________
seisan mailing list
[email protected]
http://mailman.uib.no/listinfo/seisan

Reply via email to