On Wed, 18 Sep 2002, Maxim Konovalov wrote:

> On 07:10+0400, Sep 18, 2002, David O'Brien wrote:
>
> > On Tue, Sep 17, 2002 at 11:39:50AM +0200, Robert Suetterlin wrote:
> > > Hello!
> > >
> > >   I currently upgraded my 4.4 to 4.7-PRE and now tried to get from
> > > there to -CURRENT.
> > >
> > > Unfortunately ``make buildworld'' fails during stage 2 when building
> > > ``usr.bin/file'':
> > >   usr/src/usr.bin/file/../../contrib/file/file.h:45: stdint.h: No such
> > >   file or directory
> >
> > I need more context.  Please email a complete build log.
>
> Trying to build -CURRENT on -STABLE:
>
> $ uname -a
> FreeBSD golf.macomnet.net 4.6-20020805-MACOMNET-STABLE FreeBSD
> 4.6-20020805-MACOMNET-STABLE #18: Tue Sep 17 12:09:42 MSD 2002
> [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GOLF  i386
>
> $ cd build/current/src/usr.bin/file
>
> $ make
> cc -O -pipe  -DMAGIC='"/usr/share/misc/magic"' -DBUILTIN_ELF -DELFCORE
> -DHAVE_CONFIG_H -I/home/maxim/build/current/src/usr.bin/file
> -I/home/maxim/build/current/src/usr.bin/file/../../contrib/file    -c
> /home/maxim/build/current/src/usr.bin/file/../../contrib/file/file.c
> In file included from
> /home/maxim/build/current/src/usr.bin/file/../../contrib/file/file.c:28:
> /home/maxim/build/current/src/usr.bin/file/../../contrib/file/file.h:45:
> stdint.h: No such file or directory
> *** Error code 1
>
> Stop in /home/maxim/build/current/src/usr.bin/file.
> $

The mkmagic part of `file' is a build-tool, so it is compiled in the
host environment, so it needs to be portable.  It is unportabilized
using namespace pollution in "namespace_pollute.h", er, "file.h" :->.

Bruce


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to