www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/01/11/21:41:46

Date: Wed, 11 Jan 1995 21:15:54 -0500
From: jeearr AT dns1 DOT cpcc DOT cc DOT nc DOT us (Jeearr the Demon of Chaos)
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: linking problem with ld?

When trying to compile a small program (using a Makefile cause it should grow
considerably soon) i got the following error

gcc -o intro.o -c -g -Wall -Wshadow -Wconversion -Wstrict-prototypes -Wredundant-decls  intro.c

ld intro.o  -o truth -Ld:/djgpp/lib -lc -lgcc

d:/djgpp/bin/ld.exe: warning: cannot find entry symbol _start; defaulting to 000000a8

ctordtor.c(.text+0x5): undefined reference to `__go32_last_ctor'

ctordtor.c(.text+0xb): undefined reference to `__go32_first_ctor'

ctordtor.c(.text+0x1b): undefined reference to `__go32_first_ctor'

ctordtor.c(.text+0x2b): undefined reference to `__go32_first_dtor'

ctordtor.c(.text+0x31): undefined reference to `__go32_last_dtor'

ctordtor.c(.text+0x41): undefined reference to `__go32_last_dtor'

fake(.text+0x4): undefined reference to `_core_select'

make.exe: *** [all] Error 1

(please excuse the extra spaces that my comm program adds)
Theseerrors seem quite strange to me and I have NO idea what i migh have done to cause them
If anyone can help it would be most appreciated
Jeearr

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019