Hello

I'm in trouble with the ng_fec module at 6.2 on amd64 ( IBM X3650 )
the module compile well but failed to be loaded into the kernel

thanks for any help


mail2# make
Warning: Object directory not changed from original 
/usr/src/sys/modules/netgraph/fec
@ -> /usr/src/sys
machine -> /usr/src/sys/amd64/include
:> opt_inet.h
:> opt_inet6.h
:> opt_netgraph.h
cc -O2 -fno-strict-aliasing -pipe -DINET -DINET6 -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I- -I. -I@ -I@/contrib/altq -I@/../include -I/usr/include -finline-limit=8000 -fno-common -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -c /usr/src/sys/modules/netgraph/fec/../../../netgraph/ng_fec.c
ld  -d -warn-common -r -d -o ng_fec.ko ng_fec.o
:> export_syms
awk -f /usr/src/sys/modules/netgraph/fec/../../../conf/kmod_syms.awk ng_fec.ko export_syms | xargs -J% objcopy % ng_fec.ko
objcopy --strip-debug ng_fec.ko
mail2# make install
install -o root -g wheel -m 555   ng_fec.ko /boot/kernel
kldxref /boot/kernel
mail2# kldload /boot/kernel/ng_fec.ko
kldload: can't load /boot/kernel/ng_fec.ko: Exec format error
_______________________________________________
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