Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jul 2004 03:25:24 +1000
From:      andrew clarke <mail@ozzmosis.com>
To:        freebsd-ports@freebsd.org
Subject:   devel/linux_devtools question
Message-ID:  <20040709172523.GA64473@ozzmosis.com>

next in thread | raw e-mail | index | archive | help
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).



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