Mail Archives: djgpp/2001/09/11/08:37:09
On Tue, 11 Sep 2001, Orlando P. Hevia wrote:
> 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
These functions are in libc.a, so I'm guessing that the order of the
libraries on the link command line was wrong. Link with -v and look at
the command used to invoke the linker; if that doesn't give a clue, post
everything the compiler printed here.
- Raw text -