delorie.com/archives/browse.cgi | search |
Xref: | news2.mv.net comp.os.msdos.djgpp:6132 |
From: | davidp AT ophir DOT com DOT au (David Peters) |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | _main.c (undefined ref to djgpp_last_ctor) Quick Question |
Date: | Thu, 18 Jul 1996 07:47:42 GMT |
Organization: | Advance Energy |
Lines: | 30 |
Message-ID: | <4skts7$r33@inferno.mpx.com.au> |
Reply-To: | davidp AT ophir DOT com DOT au |
NNTP-Posting-Host: | gw.ophir.com.au |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Just Installed DJGPP v2.0 in order to compile some unix progs on my laptop but when I try to compile any prog I get the following error messages: ar rc libgd.a gd.o gdfontt.o gdfonts.o gdfontmb.o \ gdfontl.o gdfontg.o gcc -O -c gddemo.c -o gddemo.o gcc gddemo.o -o gddemo -L./ -lgd -lm _main.c(.text+0x1a): undefined reference to `djgpp_last_ctor' _main.c(.text+0x1f): undefined reference to `djgpp_first_ctor' _main.c(.text+0x2f): undefined reference to `djgpp_first_ctor' exit.c(.text+0x29): undefined reference to `djgpp_last_dtor' exit.c(.text+0x2e): undefined reference to `djgpp_first_dtor' exit.c(.text+0x3f): undefined reference to `djgpp_first_dtor' make.exe: *** [gddemo] Error 1 I did what the docs said regarding install - where did I go wrong? BTW I installed in \usr\.... thanks. ================================================= David Peters - Programming Sysadmin Netadmin etc Company - Advance Energy email - davidp AT ophir DOT com DOT au http://www.gatekeeper.ophir.com.au ========================================
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |