Date: Sun, 1 Dec 1996 09:15:48 +0200 (IST) From: Eli Zaretskii To: Tudor Cc: djgpp AT delorie DOT com Subject: Re: Weird error(answer for Eli) (completed!) In-Reply-To: <329E3B1D.1D8C@cam.org> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Thu, 28 Nov 1996, Tudor wrote: > delay(1000); > return > 0; > } > ***************** > This is the command line: > > D:\DJGPP\RSXNTDJ\SAMPLE\CONSOLE\THREAD>gxx -Zwin32 -Zmt thread.c > > and the error message: > > thread.c(.text+0xd6): undefined reference to `delay' Please do this: redir -o gxx.txt -eo gxx -Zwin32 -Zmt thread.c then post the contents of the file gxx.txt. > I searched all the libs containing the word delay(like libc.a etc) > and tried linking them manually but it didn't work. What is the size and the date/time stamp of your libc.a?