www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/11/27/20:25:31

From: Tudor <tudor AT cam DOT org>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Linking error
Date: Wed, 27 Nov 1996 17:07:52 -0800
Organization: Communications Accesibles Montreal
Lines: 36
Message-ID: <329CE5E8.45DA@cam.org>
References: <3287AF80 DOT 3092 AT phs DOT mat-su DOT k12 DOT ak DOT us>
Reply-To: tudor AT cam DOT org
NNTP-Posting-Host: dynamicppp-158.hip.cam.org
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Kevin Dickerson wrote:
> 
> OK...yes, I'm new to DJGPP, and I've been out of practice in grand world
> of C, so my question will most likely sound stupid. Having established
> this, I state my problem:
> 
> While Linking any program (to the simplicity of trying to compile a file
> which contains the line "#include <stdio.h>") I recieve the error (and I
> quote):
> 
> "D:\CODE\DJGPP\BIN/ld.exe: warning: cannot find entry symbol start;
> defaulting to 000018a8"
> 
> I've tried looking for a description of the error message, but alas, to
> no avail. If anyone could help me, I'd be much obliged. BTW, I'm running
> RHIDE 1.0 ß5, my paths are set correctly and the file "eef.c" is in my
> project window. This file contains one line: "#include <stdio.h>" Oh,
> and one more question. In the file DJGPP.env, how would I state the path
> name? DJGPP is installed into the dircetory "d:/code/djgpp/", and right
> now the DJDIR variable is set to "DJDIR=%/>CODE/DJGPP%". Please inform
> me if this is correct. One more thing: Sometimes, the file which I
> attempt to compile is deleted without notice or warning. Thanks for the
> help!
> 
> 
> -Kevin Dickerson
>         -If one studies too zealously, one easily loses his pants.
>                 -Albert Einstein
if that's of any help(and I seriosly doubt it)
I have a C++ file containing something like
#include <dos.h>
................
delay(1000);

and i get the error "undefined reference to delay()".
Really beats me why...

- Raw text -


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