Hi,
I have problem to install SRS5.1.0 on Linux (Slackware Linux v 2.2.18)
In IRIX 6.4 it compile without problems.
gcc -I/export2/tmargus/tri/srs/bin/linux -o
/export2/tmargus/tri/srs/bin/linux
/nodd /export2/tmargus/tri/srs/bin/linux/nodd.o
/export2/tmargus/tri/srs/bin/lin
ux/local.o /export2/tmargus/tri/srs/bin/linux/libsrs.a
/export2/tmargus/tri/srs/bin/linux/libsrs.a(icadebug.o): In
function `DbgIopStat
ement':
icadebug.o(.text+0xa2): undefined reference to `TermNewLineEditor'
icadebug.o(.text+0x111): undefined reference to `TermLineEdit'
collect2: ld returned 1 exit status
make: *** [/export2/tmargus/tri/srs/bin/linux/nodd] Error 1
srsmake: Stopping due to Error 2
srsinstall: Stopping due to Error 1
I checked what peoples have write about this problem.
Tim Cutt suggest
http://bionet.hgmp.mrc.ac.uk/hypermail/bio-srs/bio-srs.199906/0008.html
2) The problem is in a #include statement somewhere (I can't
remember
where). I think you need to change a #include <termio.h> to
#include
<termios.h> or vice versa The change needs to be made either in
icadebug.c itself, or in one of the include files it uses.
I replaced termio.h in icadebug.c with termios.h
( only termio.c and termio.h contained a string termio.h. I didnt
make replacement in these files.)
This cause an other error
cc -I/usr/local/bin1/srs/bin/linux -O2 -D__ODD
-DSRSINCLUDE=\"srs5.h\" -c -o /usr/local/bin1/srs/bin/l
ux/user.o user.c; ar r /usr/local/bin1/srs/bin/linux/libsrs.a
/usr/local/bin1/srs/bin/linux/user.o; /bin
m -f /usr/local/bin1/srs/bin/linux/user.o
ranlib /usr/local/bin1/srs/bin/linux/libsrs.a
cc -I/usr/local/bin1/srs/bin/linux -o
/usr/local/bin1/srs/bin/linux/nodd /usr/local/bin1/srs/bin/linux
odd.o /usr/local/bin1/srs/bin/linux/local.o
/usr/local/bin1/srs/bin/linux/libsrs.a
/usr/local/bin1/srs/bin/linux/libsrs.a(icabnf.o): In function
`IopNodeProg_':
icabnf.o(.text+0x1253): undefined reference to `DbgGetStatement'
icabnf.o(.text+0x1268): undefined reference to `DbgGetStatement'
/usr/local/bin1/srs/bin/linux/libsrs.a(icaop.o): In function
`IopContinue':
icaop.o(.text+0x556c): undefined reference to `DbgSetContinue'
/usr/local/bin1/srs/bin/linux/libsrs.a(icaop.o): In function
`IopNext':
icaop.o(.text+0x5578): undefined reference to `DbgSetNext'
collect2: ld returned 1 exit status
make: *** [/usr/local/bin1/srs/bin/linux/nodd] Error 1
srsmake: Stopping due to Error 2
srsinstall: Stopping due to Error 1
Have any idea how to overcome ?
Thanks in advance
Tõnu Margus E-mail tmargus at ebc.ee
Tartu University
Riia 23
Tartu 51010
Estonia
---