Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jul 1995 14:28:46 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        freebsd-hackers@freebsd.org, root@debian.cps.cmich.edu
Cc:        current@freebsd.org
Subject:   Re: Help me please.. :)
Message-ID:  <199507120428.OAA09376@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>debian# make
>cc -O2 -I/usr/src/sys/libkern -I/usr/src/sys/libkern/.. -DKERNEL -c 
>adddi3.c -o adddi3.o
>In file included from quad.h:57,
>                 from adddi3.c:40:
>/usr/src/sys/libkern/../sys/types.h:72: parse error before `off_t'
>/usr/src/sys/libkern/../sys/types.h:72: warning: data definition has no 
>type or storage class
>/usr/src/sys/libkern/../sys/types.h:73: parse error before `pid_t'
>/usr/src/sys/libkern/../sys/types.h:73: warning: data definition has no 
>type or storage class
>*** Error code 1

Your <machine/ansi.h> is out of date.

There are two bugs here:

1) The include path is incorrect for compiling libkern.  <machine/ansi.h>
    is /usr/include/machine/ansi.h for compiling libkern but it is usually
    /usr/src/sys/i386/include/ansi.h for compiling the main part of the
    kernel.

2) FreeBSD releases have /usr/include/machine populated with files.  It
   should be a symlink to /sys/i386/include to avoid update problems.

Bruce




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199507120428.OAA09376>