Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Sep 2002 08:50:35 UT
From:      alex@alliance-intl.com
To:        freebsd-questions@freebsd.org
Subject:   Problems Building Kernel in 4.6.2
Message-ID:  <200209130850.g8D8oZl55226@mmm2624.sbc-webhosting.com>

next in thread | raw e-mail | index | archive | help
Hello,

I've been trying to recompile my kernel on 4.6.2 Release but keep getting error messages, (I think when its trying to link?) no matter what i do...

here's a log of what's happening:

Script started on Thu Sep 12 20:36:23 2002

outpost# make buildkernel KERNCONF=OUTPOST

--------------------------------------------------------------
>>> Kernel build for OUTPOST started on Thu Sep 12 20:37:03 PDT 2002
--------------------------------------------------------------
===> OUTPOST
mkdir -p /usr/obj/usr/src/sys
cd /usr/src/sys/i386/conf;  PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/sr$
Don't forget to do a ``make depend''
Kernel build directory is /usr/obj/usr/src/sys/OUTPOST
cd /usr/obj/usr/src/sys/OUTPOST;  MAKEOBJDIRPREFIX=/usr/obj  MACHINE_ARCH=i386 $
rm -f *.o *.so *.So *.ko *.s eddep errs  kernel kernel linterrs makelinks  setd$
cd /usr/obj/usr/src/sys/OUTPOST;  MAKEOBJDIRPREFIX=/usr/obj  MACHINE_ARCH=i386 $
cd /usr/src/sys/modules ; env MAKEOBJDIRPREFIX=/usr/obj/usr/src/sys/OUTPOST/mod$
===> accf_data
rm -f setdef0.c setdef1.c setdefs.h setdef0.o setdef1.o accf_data.ko accf_data.$
rm -f .depend /usr/src/sys/modules/accf_data/GPATH /usr/src/sys/modules/accf_da$
===> accf_http

........
..SNIP..
........

cc -c -O -pipe -march=pentiumpro -Wall -Wredundant-decls -Wnested-externs -Wstr$
cc -c -O -pipe -march=pentiumpro -Wall -Wredundant-decls -Wnested-externs -Wstr$
cc -c -O -pipe -march=pentiumpro -Wall -Wredundant-decls -Wnested-externs -Wstr$
cc -c -O -pipe -march=pentiumpro -Wall -Wredundant-decls -Wnested-externs -Wstr$
cc -c -O -pipe -march=pentiumpro -Wall -Wredundant-decls -Wnested-externs -Wstr$
touch hack.c
cc -elf -shared -nostdlib hack.c -o hack.So
rm -f hack.c
sh /usr/src/sys/conf/newvers.sh OUTPOST962002
cc -c -O -pipe -march=pentiumpro -Wall -Wredundant-decls -Wnested-externs -Wstr$
linking kernel
/usr/libexec/elf/ld: ffs_alloc.o: bad symbol index: 8198
ffs_alloc.o: could not read symbols: File format not recognized
*** Error code 1

Stop in /usr/obj/usr/src/sys/OUTPOST.
*** Error code 1

Stop in /usr/src.


I also have problems if i try to do it the old way (config,make depend...)

Any ideas of comments would be greatly appreciated!

-Thanks
Alex

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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