delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/05/02/19:14:19

From: Jason Green <news AT jgreen4 DOT fsnet DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Problems with DJGPP
Date: Wed, 03 May 2000 00:18:45 +0100
Organization: Customer of Planet Online
Lines: 41
Message-ID: <d6ougssa2b5m61fgjtggv9ll3kgg1faj46@4ax.com>
References: <20000502203139 DOT 14850 DOT qmail AT hotmail DOT com>
NNTP-Posting-Host: modem-27.amitriptyline.dialup.pol.co.uk
Mime-Version: 1.0
X-Trace: newsg1.svr.pol.co.uk 957309542 3652 62.136.77.155 (2 May 2000 23:19:02 GMT)
NNTP-Posting-Date: 2 May 2000 23:19:02 GMT
X-Complaints-To: abuse AT theplanet DOT net
X-Newsreader: Forte Agent 1.7/32.534
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"Federici Alberto" <alberto_fed AT hotmail DOT com> wrote:

> Dear "Gurus",
>                 J download the djgpp files and unzipped, but J don't be able to compile anything: with your example in the Faq, Hello, when J compile it, on screen appear these messages: "'#include expects "FILENAME" or <FILENAME>; now J complete with <iostream> and on screen appear the message:"Error: implicit declaration of function 'int printf (...)'.What can J do?

Your otherwise complete post is missing some vital clues to your
problem:

The exact source code that you are trying to compile,
The command you use to compile,
The full errors you get.

I am guessing you are mixing C and C++.  

You need #include <stdio.h> if you want to use printf().

But by default gcc does not complain about "implicit declaration" so
maybe you invoked gcc with HELLO.C instead of hello.c, please post the
full information if you need more help.

> The files that J downloads are:
> -csdpmi4b
> -csdpmi4s
> -djdev203
> -faq211b
> -gcc2952b
> -gpp2952b
> -lgp2952b
> -rhide14b
> -rhide14s
> -txi312b

I think bnu281b.zip is needed too. Please re-visit the Zip-Picker at
http://www.delorie.com to be sure you you have all the necessary
packages and the correct instructions to install on your machine.

> J'm sorry for my eventual english mistakes, but not a champion in languages (if 

What mjstakes?  ;-))

ps. can you turn off HTML in your mailer.

- Raw text -


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