On Friday 19 January 2007 23:18, James Hein wrote:
> Hello,
> My kernel for freebsd 6.2 is not compiling but only with my custom config. 
> I was able to compile it with the GENERIC kernel included, but my modified
> one will not compile.  All I see at the end of my compilation is: awk -f
> /usr/home/ncvs/src/sys/modules/zlib/../../conf/kmod_syms.awk zlib.kld 
> export_syms | xargs -J% objcopy % zlib.kld ld -Bshareable  -d -warn-common
> -o zlib.ko.debug zlib.kld
> objcopy --strip-debug zlib.ko.debug zlib.ko
> 1 error
> *** Error code 2
> 1 error
> *** Error code 2
> 1 error
> It compiles ok with the generic kernel, but for whatever reason, my custom
> one will not compile.  My process was that I cvsupped the src files(for
> fbsd 6.2 upgrade, from 6.1 p5), then cleaned out the /usr/obj stuff, then
> went back to my cvsup src directory and did a make buildworld, then I
> copied the GENERIC kernel file in sys/i386/conf to MAINSERVER, edited the
> ident option of the kernel config to reflect the name, copied MAINSERVER to
> /root/kernels then deleted the one in the conf directory and recreated it
> as a symlink to the one in the kernels directory.(lrwxr-xr-x  1 root  wheel
>     24 Jan 18 19:42 MAINSERVER -> /root/kernels/MAINSERVER ---- ls from
> conf directory.)  Then, I went back to the top level of src, and did a make
> -j4 buildkernel KERNCONF=MAINSERVER I did manage to get the generic config
> working as is reflected by my uname: FreeBSD  6.2-RELEASE FreeBSD
> 6.2-RELEASE #0: Fri Jan 19 01:48:20 CST 2007    
> james@:/usr/obj/usr/home/ncvs/src/sys/GENERIC  i386
>
> Included is my hardware information from dmsg and my kernel config. If you
> see something in my kernel config that doesn't look right, please let me
> know. Thanks very much.
>
> James Hein

Since you disabled inet6, you should also disable the ipv6 to ipv4 tunneling 
(device   gif).

Hope that helps.

Firas

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to