delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/01/04/06:22:41

Date: Mon, 4 Jan 1999 13:21:24 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: walt121 AT my-dejanews DOT com
cc: djgpp AT delorie DOT com
Subject: Re: Compiling problem
In-Reply-To: <76ps31$ac0$1@nnrp1.dejanews.com>
Message-ID: <Pine.SUN.3.91.990104131724.26097D-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On Mon, 4 Jan 1999 walt121 AT my-dejanews DOT com wrote:

> > c:/djgpp/bin/ld.exe: warning: cannot find entry symbol start; defaulting
> > to 0000
> > 18a8
> > C:\DJGPP\BIN\POINTER.O:  In function 'sumarray':
> > pointer.c:28: undefined reference to 'printf'
> >
> > Can someone help me out??  I've looked through the FAQ list and could
> > not find any help on this.
> 
> Well, Steve, you seem to be in almost the same boat as I am.  Even following
> all the instructions in readme and FAQ doesn't seem to help.

Actually, it usually does.

> Opening a project in RHIDE for the file seems to help a little.  But I think
> I'll just have to download LCC (a Win 95 port of GCC).	I'm told it comes
> with a self-installer that eliminates the new-user blues common to DJGPP.

Or, it could be that you didn't set up RHIDE correctly.  To make sure
DJGPP itself is set up okay, type the following from the DOS command line
(NOT from RHIDE!): 

	gcc -o myprog.exe myprog.c

where myprog.c is the name of the source file you are trying to compile 
(in this case, pointer.c seems to be the actual name).

If this compiles without a glitch and gives a program myprog.exe that you 
can run, then DJGPP is set up correctly and you need to look more closely 
at RHIDE's README and FAQ files for possible reasons.

- Raw text -


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