delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/05/13/19:30:30

From: Endlisnis <s257m AT unb DOT ca>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Link error: undefined reference
Date: Wed, 12 May 1999 20:43:35 -0400
Organization: BrunNet
Lines: 30
Message-ID: <373A2037.6BB3A377@unb.ca>
References: <37385CF9 DOT 61FA28F8 AT multimania DOT com> <3738915C DOT 8FDB7E76 AT cartsys DOT com> <3739879A DOT 3F82172E AT multimania DOT com>
NNTP-Posting-Host: ftnts2c35.brunnet.net
Mime-Version: 1.0
X-Mailer: Mozilla 4.51 [en] (Win95; U)
X-Accept-Language: en
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Sylvain VIART wrote:

> > > gene.c use the fonction in vparam.c
> > > put_error prototype is :
> > > void put_error(int val, ...);
> [...]
> > Do you actually define it in one of those files?
> Of course, the function put_error() is defined in the module vparam.c
> and called in gene.c.
>
> I haven't this linking problem under Unix, with the same source
> files and using the same command line...
>
> I've supposed the problem was due to the fonction prototype...

    Try posting the smallest version of the code that exibits this
functionality.  Make backup copies of all of the files, and then start
removing lines of code or function and recompile.  Hopefully this will reduce
down to just a few lines of code were the error occured.


--
     (\/) Endlisnis (\/)
          s257m AT unb DOT ca
          Endlisnis AT HotMail DOT com
          ICQ: 32959047




- Raw text -


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