Subject: Re: Build problems anyone?
To: None <>
From: Emil =?iso-8859-1?Q?Sk=F6ldberg?= <>
List: current-users
Date: 09/07/2004 15:06:46
On 2004-08-15 wrote:

>building tools with up-to-date src tree using
>./ -T /usr/obj/tools -x -X /home/dolecek/soft/netbsd/xsrc -U -u
-j2 >tools
>fails for me in lex with:
>#   compile  lex/ccl.lo
>cc -O -I/usr/obj/obj.i386/usr/home/dolecek/soft/netbsd/tools/compat
>-I/usr/home/dolecek/soft/netbsd/tools/lex/../../usr.bin/lex -c -o
ccl.lo.o    >/usr/home/dolecek/soft/netbsd/usr.bin/lex/ccl.c
>In file included from
>                 from
>                 from /usr/home/dolecek/soft/netbsd/usr.bin/lex/ccl.c:31:
#error _NETBSD_SOURCE is *not* to be defined.

>Anyone else seen this problem?


trying to build 'tools' natively on an alpha (with an up-to-date source
tree), the build fails here. Cross-building from Linux (on an x86) works
fine though.

Any suggestions?

Emil Sköldberg
Dept. of Mathematics
National University of Ireland, Galway