Mail Archives: djgpp/1996/06/09/09:20:41
On Fri, 7 Jun 1996, Mark Nowak wrote:
> I'm having a hard time getting djdpp to work on my machine.
> I FTP'd the .zip files, followed the directions, had to create my own
> include and lib directories which surprised me, but when I run
> gcc -Wall -o hello.exe hello.c -lm
> the compilation fails and I get these messages:
>
> _main.c(.text+0x1a): undefined refernce to `djgpp_last_ctor`
> _main.c(.text+0x1f): undefined refernce to `djgpp_first_ctor`
Is this DJGPP v2 or v1? In v2, these functions are defined by the linker
script djgpp.lnk which should be in your lib subdirectory. Is it there?
If so, does it define these symbols?
If this doesn't help, please add -v to the compilation command line and
post everything gcc prints while compiling/linking.
- Raw text -