Mail Archives: djgpp/2001/09/11/07:33:28
I am compiling a subroutine in PASCAL, no problem at
compiling time.
At link time with a FORTRAN program (as a library), I
receive this error message:
g:/usr/lib/gcc-
lib/djgpp/2.953/libgpc.a(rts.o)(.text+0x19c4):rts.c:
undefined reference to `tcsetpgrp'
g:/usr/lib/gcc-
lib/djgpp/2.953/libgpc.a(rts.o)(.text+0x19f0):rts.c:
undefined reference to `tcgetpgrp'
collect2: ld returned 1 exit status
make.exe: *** [tpbigp.exe] Error 1
The PASCAL source is a sample of how to add foreign
routines to the main program. Both FORTRAN an C foreign
routines are correctly linked. Only PASCAL has the problem.
Ing. Orlando P. Hevia
heviaop AT ciudad DOT com DOT ar
Santa Fe-Argentina
- Raw text -