[ipxe-devel] Build fail on FreeBSD
Jedrzej Kalinowski
kalinoj1 at iem.pw.edu.pl
Wed Oct 27 19:27:52 UTC 2010
On Wed, 27 Oct 2010 20:00:37 +0100, Michael Brown
<mbrown at fensystems.co.uk> wrote:
> On Wednesday 27 Oct 2010 19:44:10 Jedrzej Kalinowski wrote:
>> I try to build the latest source code found in the git repository
>> on
>> FreeBSD.
>> Unfortunately I get 'No rule to make target' from gmake. It follows
>> a
>> loop that starts with building arch/i386/prefix/linuxprefix.S.
>> Any ideas where to look for a solution?
>>
>> gmake build
>> <snip>
>> gmake: *** No rule to make target `build'. Stop.
>
> There is no Makefile target named "build". Just type "gmake" with no
> arguments.
>
> Michael
I tried just 'gmake', the build went further, but now I get:
[BUILD] bin/fakedhcp.o
[BUILD] bin/fc.o
[BUILD] bin/fcels.o
net/fcels.c: In function 'fc_els_prli_detect':
net/fcels.c:1101: internal compiler error: Segmentation fault: 11
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
gmake: *** [bin/fcels.o] Błąd 1
This was when I used gcc 4.2.1
I switched to gcc 4.4.5, and now I've got this:
[BUILD] bin/tap.o
In file included from drivers/linux/tap.c:22:
include/linux_api.h:37:25: error: linux/types.h: No such file or
directory
include/linux_api.h:38:31: error: linux/posix_types.h: No such file or
directory
In file included from drivers/linux/tap.c:22:
include/linux_api.h:39: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'pid_t'
....
Looks like looking for header files not present in FreeBSD.
--
JK
More information about the ipxe-devel
mailing list