Date: Wed, 27 Feb 2008 22:58:47 +0200 From: John Hay <jhay@meraka.org.za> To: freebsd-arm@freebsd.org Subject: skyeye kernel build broken Message-ID: <20080227205847.GA70520@zibbi.meraka.csir.co.za>
next in thread | raw e-mail | index | archive | help
Hi, I have been thinking of using a arm simulator to see if I could build local arm packages that way. So I saw that there is a SKYEYE kernel in the arm directory, but when trying to crossbuild it, it gives this error: ###################### make TARGET_ARCH=arm buildkernel KERNCONF=SKYEYE ... cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcpu=arm9 -ffreestanding -Werror vnode_if.c :> hack.c cc -shared -nostdlib hack.c -o hack.So rm -f hack.c cat /usr/src/sys/conf/ldscript.arm|sed s/KERNPHYSADDR/0x20000000/g| sed s/KERNVIRTADDR/0xc0000000/g > ldscript.arm MAKE=make sh /usr/src/sys/conf/newvers.sh KB920X cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcpu=arm9 -ffreestanding -Werror vers.c linking kernel.debug hack.So: could not read symbols: Invalid operation *** Error code 1 Stop in /export/obj/arm/usr/src/sys/SKYEYE. ###################### Should it work? I can build the AVILA kernel without a problem. Is there another easier way to build packages? Currently I use an AVILA board with a diskless NFS setup to build the packages I need. FreeBSD itself I just cross compile. John -- John Hay -- John.Hay@meraka.csir.co.za / jhay@FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080227205847.GA70520>