Re: Kernel 5.3 error tryring to compile it

2004-11-12 Thread John Murphy
Cargnini wrote:

>hi i'm trrying to compile the new kernel 5.3 and i received the
>following error during compilation(please someone could know
>what it is ):

>udbp.o(.text+0x40c): In function `udbp_attach':
>: undefined reference to `ng_newtype'

Did you enable the following line? GENERIC has it disabled.

#device   udbp# USB Double Bulk Pipe devices

If you must have that device, check the man page for udbp
which suggests you also need 'options NETGRAPH' although
/sys/i386/conf/NOTES doesn't seem to mention it.

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


Kernel 5.3 error tryring to compile it

2004-11-12 Thread Luís Vitório Cargnini
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

hi i'm trrying to compile the new kernel 5.3 and i received the following error
during compilation(please someone could know what it is ):

cc -shared -nostdlib hack.c -o hack.So
rm -f hack.c
MAKE=/usr/obj/usr/src/make.i386/make sh /usr/src/sys/conf/newvers.sh SHARK
cc -c -O -pipe -march=athlon-xp -Wall -Wredundant-decls -Wnested-externs
- -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
-Wcast-qual 
- -fformat-extensions -std=c99  -nostdinc -I-  -I. -I/usr/src/sys
- -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/altq
- -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf
- -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd
- -I/usr/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common
- -finline-limit=8000 --param inline-unit-growth=100 --param
large-function-growth=1000  -mno-align-long-strings -mpreferred-stack-boundary=2
- -ffreestanding -Werror  vers.c linking kernel
udbp.o(.text+0x40c): In function `udbp_attach':
: undefined reference to `ng_newtype'
udbp.o(.text+0x43a): In function `udbp_attach':
: undefined reference to `ng_make_node_common'
udbp.o(.text+0x481): In function `udbp_attach':
: undefined reference to `ng_name_node'
udbp.o(.text+0x4c0): In function `udbp_attach':
: undefined reference to `dumpnode'
udbp.o(.text+0x4dc): In function `udbp_attach':
: undefined reference to `ng_unref_node'
udbp.o(.text+0x52b): In function `udbp_attach':
: undefined reference to `dumpnode'
udbp.o(.text+0x691): In function `udbp_detach':
: undefined reference to `ng_rmnode_self'
udbp.o(.text+0x6c6): In function `udbp_detach':
: undefined reference to `dumpnode'
udbp.o(.text+0x716): In function `udbp_detach':
: undefined reference to `dumpnode'
udbp.o(.text+0x732): In function `udbp_detach':
: undefined reference to `ng_unref_node'
udbp.o(.text+0x889): In function `udbp_in_transfer_cb':
: undefined reference to `ng_package_data'
udbp.o(.text+0x8ae): In function `udbp_in_transfer_cb':
: undefined reference to `ng_address_hook'
udbp.o(.text+0x8d0): In function `udbp_in_transfer_cb':
: undefined reference to `ng_snd_item'
udbp.o(.text+0xbc3): In function `ng_udbp_newhook':
: undefined reference to `dumpnode'
udbp.o(.text+0xc2a): In function `ng_udbp_newhook':
: undefined reference to `dumphook'
udbp.o(.text+0xca0): In function `ng_udbp_rcvmsg':
: undefined reference to `dumpnode'
udbp.o(.text+0xce3): In function `ng_udbp_rcvmsg':
: undefined reference to `dumpitem'
udbp.o(.text+0xd39): In function `ng_udbp_rcvmsg':
: undefined reference to `M_NETGRAPH_MSG'
udbp.o(.text+0xdff): In function `ng_udbp_rcvmsg':
: undefined reference to `dumpitem'
udbp.o(.text+0xe3a): In function `ng_udbp_rcvmsg':
: undefined reference to `dumpitem'
udbp.o(.text+0xe7e): In function `ng_udbp_rcvmsg':
: undefined reference to `dumpitem'
udbp.o(.text+0xebb): In function `ng_udbp_rcvmsg':
: undefined reference to `ng_address_ID'
udbp.o(.text+0xee2): In function `ng_udbp_rcvmsg':
: undefined reference to `ng_snd_item'
udbp.o(.text+0xf09): In function `ng_udbp_rcvmsg':
: undefined reference to `dumpitem'
udbp.o(.text+0xf32): In function `ng_udbp_rcvmsg':
: undefined reference to `ng_free_item'
udbp.o(.text+0xf3e): In function `ng_udbp_rcvmsg':
: undefined reference to `M_NETGRAPH_MSG'
udbp.o(.text+0xf9a): In function `ng_udbp_rcvdata':
: undefined reference to `dumphook'
udbp.o(.text+0xfdd): In function `ng_udbp_rcvdata':
: undefined reference to `dumpnode'
udbp.o(.text+0x1014): In function `ng_udbp_rcvdata':
: undefined reference to `dumpitem'
udbp.o(.text+0x1055): In function `ng_udbp_rcvdata':
: undefined reference to `dumpitem'
udbp.o(.text+0x1077): In function `ng_udbp_rcvdata':
: undefined reference to `ng_free_item'
udbp.o(.text+0x122f): In function `ng_udbp_rmnode':
: undefined reference to `dumpnode'
udbp.o(.text+0x140d): In function `ng_udbp_rmnode':
: undefined reference to `dumpnode'
udbp.o(.text+0x1429): In function `ng_udbp_rmnode':
: undefined reference to `ng_unref_node'
udbp.o(.text+0x143c): In function `ng_udbp_rmnode':
: undefined reference to `ng_make_node_common'
udbp.o(.text+0x1479): In function `ng_udbp_rmnode':
: undefined reference to `ng_name_node'
udbp.o(.text+0x14b8): In function `ng_udbp_rmnode':
: undefined reference to `dumpnode'
udbp.o(.text+0x14da): In function `ng_udbp_rmnode':
: undefined reference to `ng_unref_node'
udbp.o(.text+0x1522): In function `ng_udbp_rmnode':
: undefined reference to `dumpnode'
udbp.o(.text+0x1586): In function `ng_udbp_connect':
: undefined reference to `dumphook'
udbp.o(.text+0x15c6): In function `ng_udbp_connect':
: undefined reference to `dumphook'
udbp.o(.text+0x1629): In function `ng_udbp_disconnect':
: undefined reference to `dumphook'
udbp.o(.text+0x166c): In function `ng_udbp_disconnect':
: undefined reference to `dumpnode'
udbp.o(.text+0x16bb): In function `ng_udbp_disconnect':
: undefined reference to `dumphook'
udbp.o(.text+0x16fe): In function `ng_udbp_discon