devel/linux_devtools question

andrew clarke mail at ozzmosis.com
Fri Jul 9 10:25:30 PDT 2004


Hi,

I've installed linux_devtools-8.0_1 from the ports tree on a FreeBSD 4.8
machine but have run into some problems building anything useful
apparently due to missing header files.

Is it correct to expect that the following should compile, are there
files missing from the port, am I doing something wrong, or am I
expecting too much?  Thanks.

$cat blah.c 
#include <errno.h>

int main(void) { return 0; }

$setenv CC /compat/linux/usr/bin/gcc 

$make blah
/compat/linux/usr/bin/gcc -O -pipe   blah.c  -o blah
In file included from /usr/include/errno.h:36,
                 from blah.c:1:
/usr/include/bits/errno.h:25:26: linux/errno.h: No such file or directory
*** Error code 1

Stop in /usr/home/ozzmosis/src/csource/blah.

$file /compat/linux/usr/include/linux/errno.h
/compat/linux/usr/include/linux/errno.h: can't stat
`/compat/linux/usr/include/linux/errno.h' (No such file or directory).

$file /compat/linux/usr/include/linux
/compat/linux/usr/include/linux: can't stat
`/compat/linux/usr/include/linux' (No such file or directory).


More information about the freebsd-ports mailing list