Port-sparc64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Unable to cross-compile netbsd



        Hello,

I'm not sure that it is sparc64 specific but for a few days, I'm unable to crosscompile netbsd sparc64. build.sh tools crashes with following error :

cc -DHAVE_CONFIG_H -I. -I/home/bertrand/netbsd/src/tools/binutils/../../external/gpl3/binutils/dist/binutils -I. -I/home/bertrand/netbsd/src/tools/binutils/../../external/gpl3/binutils/dist/binutils -I../bfd -I/home/bertrand/netbsd/src/tools/binutils/../../external/gpl3/binutils/dist/binutils/../bfd -I/home/bertrand/netbsd/src/tools/binutils/../../external/gpl3/binutils/dist/binutils/../include -DLOCALEDIR="\"/home/bertrand/netbsd/src/../tools/share/locale\"" -Dbin_dummy_emulation=bin_vanilla_emulation -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -O -c `test -f arparse.c || echo /home/bertrand/netbsd/src/tools/binutils/../../external/gpl3/binutils/dist/binutils/`arparse.c In file included from /home/bertrand/netbsd/src/tools/binutils/../../external/gpl3/binutils/dist/binutils/../include/alloca-conf.h:1:0, from /home/bertrand/netbsd/src/tools/binutils/../../external/gpl3/binutils/dist/binutils/sysdep.h:25, from /home/bertrand/netbsd/src/external/gpl3/binutils/dist/binutils/arparse.y:30: ./config.h:7:4: error: #error config.h must be #included before system headers
 #  error config.h must be #included before system headers
    ^

*** Failed target:  arparse.o

Host system is a Linux debian/testing up to date. The same source tree can be built without error by a virtualized NetBSD 6.0 (amd64).

        Regards,

        JKB


Home | Main Index | Thread Index | Old Index