From: Reg <re...@ri...> - 2007-12-07 11:30:35
|
Hi David, As you suspected, the following:- [root@Appserver TinyCat]# htcobol -v -x /TinyCat/DEGRABBER.COB as -o DEGRABBER.o DEGRABBER.s gcc -o DEGRABBER DEGRABBER.o -L/usr/local/lib -lhtcobol -ldl -ldb -lncurses -lm DEGRABBER.o: In function `DEGRABBER': DEGRABBER.COB:(.text+0x662): undefined reference to `tcob_read_next_seq' DEGRABBER.COB:(.text+0xa31): undefined reference to `tcob_write_idx' DEGRABBER.COB:(.text+0xd40): undefined reference to `tcob_read_next_seq' collect2: ld returned 1 exit status [root@Appserver TinyCat]# as -o DEGRABBER.o DEGRABBER.s Assembler messages: Error: can't open DEGRABBER.s for reading: No such file or directory [root@Appserver TinyCat]# htcobol -v -c /TinyCat/DEGRABBER.COB as -o DEGRABBER.o DEGRABBER.s [root@Appserver TinyCat]# gcc -o DEGRABBER DEGRABBER.o -L/usr/lib -lhtcobol -ldb1 -lncurses -ldl -lm /usr/bin/ld: cannot find -ldb1 collect2: ld returned 1 exit status [root@Appserver TinyCat]# gcc -o DEGRABBER DEGRABBER.o -L/usr/lib -lhtcobol -lncurses -ldl -lm -ldb1 /usr/bin/ld: cannot find -ldb1 collect2: ld returned 1 exit status [root@Appserver TinyCat]# gcc -o DEGRABBER DEGRABBER.o -L/usr/lib -lhtcobol -lncurses -ldl -lm DEGRABBER.o: In function `DEGRABBER': DEGRABBER.COB:(.text+0x662): undefined reference to `tcob_read_next_seq' DEGRABBER.COB:(.text+0xa31): undefined reference to `tcob_write_idx' DEGRABBER.COB:(.text+0xd40): undefined reference to `tcob_read_next_seq' collect2: ld returned 1 exit status [root@Appserver TinyCat]# find / -name db1 -print [root@Appserver TinyCat]# -- View this message in context: http://www.nabble.com/Segmentation-Fault-tf4383688.html#a14210829 Sent from the tiny-cobol-users mailing list archive at Nabble.com. |