Subject: Build problems anyone?
To: None <>
From: Jaromir Dolecek <>
List: current-users
Date: 08/15/2004 12:49:32

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/obj/obj.i386/usr/home/dolecek/soft/netbsd/tools/compat/include  -I/usr/home/dolecek/soft/netbsd/tools/lex/../compat -DHAVE_NBTOOL_CONFIG_H=1  -D_FILE_OFFSET_BITS=64  -I. -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 /usr/obj/obj.i386/usr/home/dolecek/soft/netbsd/tools/compat/config.h:114,
                 from /usr/home/dolecek/soft/netbsd/usr.bin/lex/flexdef.h:34,
                 from /usr/home/dolecek/soft/netbsd/usr.bin/lex/ccl.c:31:
/usr/home/dolecek/soft/netbsd/tools/compat/compat_defs.h:66:2: #error _NETBSD_SOURCE is *not* to be defined.

Anyone else seen this problem?

Jaromir Dolecek <>  
-=- We should be mindful of the potential goal, but as the Buddhist -=-
-=- masters say, ``You may notice during meditation that you        -=-
-=- sometimes levitate or glow.   Do not let this distract you.''   -=-