Re: Porting NetBSD to Eco32
Jens Mehler <[email protected]> Sun, 13 Jul 2014 10:52:52 +0200
| Newsgroups | gmane.os.netbsd.ports |
|---|---|
| Message-ID | <[email protected]> |
I ran into another problem while building the Userland for NetBSD/Eco32. I managed to get most of the libraries build and am currently researching why the following error occurs: do-build ===> . dependall ===> . (with: BUILD_tools=no BUILD_lib=no) dependall ===> include dependall ===> include/rpc dependall ===> include/../common/include/prop dependall ===> include/../common/include/ppath dependall ===> gnu dependall ===> gnu/usr.bin dependall ===> gnu/usr.bin/bc # link bc/bc ~/netbsd-on-eco32/usr/src/../tools/bin/eco32--netbsd-gcc --sysroot=/hdd/home/okarin/eco32/netbsd-on-eco32/usr/src/../dest -o bc bc.o execute.o global.o load.o main.o number.o scan.o storage.o util.o -ll -ledit -lterminfo ~/eco32/netbsd-on-eco32/usr/tools/bin/../lib/gcc/eco32--netbsd/4.5.3/../../../../eco32--netbsd/bin/ld: cannot find -lgcc ~/eco32/netbsd-on-eco32/usr/tools/bin/../lib/gcc/eco32--netbsd/4.5.3/../../../../eco32--netbsd/bin/ld: cannot find -lgcc_s ~/eco32/netbsd-on-eco32/usr/tools/bin/../lib/gcc/eco32--netbsd/4.5.3/../../../../eco32--netbsd/bin/ld: cannot find -lgcc ~/eco32/netbsd-on-eco32/usr/tools/bin/../lib/gcc/eco32--netbsd/4.5.3/../../../../eco32--netbsd/bin/ld: cannot find -lgcc_s I restricted the build-environment pretty harsh. Nearly disabled everything which I don't need using the MKXXX flags and the USE_XXX flags. Therefore I set MKGCC and MKBINUTILS back to default and run into: obj ===> lib/../external/gpl3/gcc/lib/libgcc obj ===> lib/../external/gpl3/gcc/lib/libgcc/libgcc nbmake: "~/eco32/netbsd-on-eco32/usr/src/share/mk/bsd.files.mk" line 110: Wrong number of words (1) in .for substitution list with 2 vars nbmake: Fatal errors encountered -- cannot continue nbmake: stopped in ~/eco32/netbsd-on-eco32/usr/src/external/gpl3/gcc/lib/libgcc/libgcc This one is pretty much what I am struggling with at the moment. Some pointer towards the right direction would be appreciated. ~Jens