Subject: Re: parse error
To: YU SONG <cs_yus@cs4.lamar.edu>
From: Michael Teske <teske@mail.desy.de>
List: port-amiga
Date: 05/06/1996 13:14:27
On Sun, 5 May 1996, YU SONG wrote:

> 
> Hi, everyone.
> 
> I recently experienced a lot of frustration in building some applications 
> for NetBSD Amiga port. Lot of them are : parse error, XXX undefined, 
> first use in the program". Even the GCC compiler output:"NULL undefined, 
> first use in XXX function." 
> So I thought it might be make program, and I replaced the default make 
> with gmake and the problems persist. Then I replaced default yacc, sed 
> with bison and newer sed. Well, the problems are still there. I am using 
> the default GCC and as, cpp come with 1.1 binary, which is GCC 2.4.5.
> 
> Can anybody give me some hints where the problem is?

Seems like an include file is missing or wrong.
Do a "grep NULL /usr/include/*" and #include the appropriate file.


-- 
Michael Teske (teske@wotan.desy.de)