Bug 15317

Summary: Kernel build fails with NETGRAPH
Product: Base System Reporter: Mark Jacobs <jacobsm>
Component: kernAssignee: Archie Cobbs <archie>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description Mark Jacobs 1999-12-06 18:30:01 UTC
I cvsuped on saturday, builtworld without any problems but kernel
build fails with netgraph option. No compile errors are given, but
after loading kernel message is issued many unresolved external
references are displayed.

How-To-Repeat: Build 3.3 stable kernel with netgraph option
Comment 1 alex 1999-12-06 19:56:27 UTC
Thus spake jacobsm@gate.net (jacobsm@gate.net):

> after loading kernel message is issued many unresolved external
> references are displayed.

Which ones?

Alex

-- 
I doubt, therefore I might be.
Comment 2 Mark Jacobs 1999-12-06 20:08:51 UTC
> Thus spake jacobsm@gate.net (jacobsm@gate.net):
> 
> > after loading kernel message is issued many unresolved external
> > references are displayed.
> 
> Which ones?
> 
> Alex
> 
> -- 
> I doubt, therefore I might be. 
> 


Look at current freebsd-stable archive post, netgraph broken in stable?
from William Wong on Dec 5.
He, someone else, and I are getting the same error.
-------------------------------------------------------------------

loading kernel
 ng_base.o: In function `ng_generic_msg': ng_base.o(.text+0x1513): 
undefined reference to `ng_unparse' ng_base.o(.text+0x16f7): undefined 
reference to `ng_parse' ng_base.o(.rodata+0x18): undefined reference 
to `ng_parse_typebuf_type' ng_base.o(.rodata+0x24): undefined 
reference to `ng_parse_hookbuf_type' ng_base.o(.rodata+0x30): 
undefined reference to `ng_parse_hookbuf_type' 
ng_base.o(.rodata+0x5c): undefined reference to 
`ng_parse_struct_type' ng_base.o(.rodata+0x7c): undefined reference 
to `ng_parse_pathbuf_type' ng_base.o(.rodata+0x88): undefined 
reference to `ng_parse_hookbuf_type' ng_base.o(.rodata+0x94): 
undefined reference to `ng_parse_hookbuf_type' 
ng_base.o(.rodata+0xb0): undefined reference to 
`ng_parse_struct_type' ng_base.o(.rodata+0xd0): undefined reference 
to `ng_parse_nodebuf_type' ng_base.o(.rodata+0xec): undefined 
reference to `ng_parse_struct_type' ng_base.o(.rodata+0x10c): 
undefined 
reference to `ng_parse_hookbuf_type' ng_base.o(.rodata+0x128): 
undefined reference to `ng_parse_struct_type' 
ng_base.o(.rodata+0x148): undefined reference to 
`ng_parse_nodebuf_type' ng_base.o(.rodata+0x154): undefined 
reference to `ng_parse_typebuf_type' ng_base.o(.rodata+0x160): 
undefined reference to `ng_parse_int32_type' 
ng_base.o(.rodata+0x16c): undefined reference to 
`ng_parse_int32_type' ng_base.o(.rodata+0x18c): undefined reference 
to `ng_parse_struct_type' ng_base.o(.rodata+0x1ac): undefined 
reference to `ng_parse_typebuf_type' ng_base.o(.rodata+0x1b8): 
undefined reference to `ng_parse_int32_type' 
ng_base.o(.rodata+0x1e0): undefined reference to 
`ng_parse_struct_type' ng_base.o(.rodata+0x200): undefined reference 
to `ng_parse_hookbuf_type' ng_base.o(.rodata+0x20c): undefined 
reference to `ng_parse_hookbuf_type' ng_base.o(.rodata+0x238): 
undefined reference to `ng_parse_struct_type' 
ng_base.o(.rodata+0x260): undefined reference to 
`ng_parse_array_type' ng_base.o(.rodata+0x288): undefined reference 
to `ng_parse_array_type' ng_base.o(.rodata+0x2b0): undefined 
reference to `ng_parse_array_type' ng_base.o(.rodata+0x2d0): 
undefined reference to `ng_parse_int32_type' 
ng_base.o(.rodata+0x2fc): undefined reference to 
`ng_parse_struct_type' ng_base.o(.rodata+0x348): undefined reference 
to `ng_parse_struct_type' ng_base.o(.rodata+0x368): undefined 
reference to `ng_parse_int32_type' ng_base.o(.rodata+0x394): 
undefined reference to `ng_parse_struct_type' 
ng_base.o(.rodata+0x488): undefined reference to 
`ng_parse_string_type' ng_base.o(.rodata+0x498): undefined reference 
to `ng_parse_ng_mesg_type' ng_base.o(.rodata+0x49c): undefined 
reference to `ng_parse_ng_mesg_type' ng_base.o(.rodata+0x4ac): 
undefined reference to `ng_parse_ng_mesg_type' 
ng_base.o(.rodata+0x4b0): undefined reference to 
`ng_parse_ng_mesg_type' ng_async.o(.rodata+0x4): undefined 
reference to `ng_parse_int8_type' ng_async.o(.rodata+0x10): undefined 
reference to `ng_parse_int16_type' ng_async.o(.rodata+0x1c): 
undefined reference to `ng_parse_int16_type' 
ng_async.o(.rodata+0x28): undefined reference to 
`ng_parse_int32_type' ng_async.o(.rodata+0x54): undefined reference 
to `ng_parse_struct_type' ng_async.o(.rodata+0x74): undefined 
reference to `ng_parse_int32_type' ng_async.o(.rodata+0x80): 
undefined reference to `ng_parse_int32_type' 
ng_async.o(.rodata+0x8c): undefined reference to 
`ng_parse_int32_type' ng_async.o(.rodata+0x98): undefined reference 
to `ng_parse_int32_type' ng_async.o(.rodata+0xa4): undefined 
reference to `ng_parse_int32_type' ng_async.o(.rodata+0xb0): more 
undefined references to `ng_parse_int32_type' follow 
ng_async.o(.rodata+0x144): undefined reference to 
`ng_parse_struct_type' ng_cisco.o(.rodata+0x4): undefined reference to 
`ng_parse_ipaddr_type' ng_cisco.o(.rodata+0x10): undefined reference 
to `ng_parse_ipaddr_type' ng_cisco.o(.rodata+0x34): undefined 
reference to `ng_parse_struct_type' ng_cisco.o(.rodata+0x54): 
undefined reference to `ng_parse_int32_type' 
ng_cisco.o(.rodata+0x60): undefined reference to 
`ng_parse_int32_type' ng_cisco.o(.rodata+0x90): undefined reference 
to `ng_parse_struct_type' ng_ppp.o(.rodata+0x9c): undefined reference 
to `ng_parse_int8_type' ng_ppp.o(.rodata+0xa8): undefined reference 
to `ng_parse_int8_type' ng_ppp.o(.rodata+0xb4): undefined reference 
to `ng_parse_int8_type' ng_ppp.o(.rodata+0xc0): undefined reference 
to `ng_parse_int16_type' ng_ppp.o(.rodata+0xcc): undefined reference 
to `ng_parse_int32_type' ng_ppp.o(.rodata+0xd8): undefined reference 
to `ng_parse_int32_type' ng_ppp.o(.rodata+0x11c): undefined 
reference to `ng_parse_struct_type' ng_ppp.o(.rodata+0x138): 
undefined reference to `ng_parse_fixedarray_type' 
ng_ppp.o(.rodata+0x158): undefined reference to 
`ng_parse_int16_type' ng_ppp.o(.rodata+0x164): undefined reference 
to `ng_parse_int8_type' ng_ppp.o(.rodata+0x170): undefined reference 
to `ng_parse_int8_type' ng_ppp.o(.rodata+0x17c): undefined reference 
to `ng_parse_int8_type' ng_ppp.o(.rodata+0x188): undefined reference 
to `ng_parse_int8_type' ng_wng_ppp.o(.ronpp.o(.rodata+0x2bc): 
undefinedparse_int32_type' ng_ppp.o(.rodata+0x2c8): undefined 
reference to `ng_parse_int32_tye' ng_ppp.o(.rodeference to 
`ng_parse_int32_type' ng_ppp.o(.rodata+0x2e0): undefined 
refppp.o(.rodata+0x3a8): undefierence to `ng_par
Comment 3 Sheldon Hearn 1999-12-07 14:54:37 UTC
On Mon, 06 Dec 1999 10:25:27 PST, jacobsm@gate.net wrote:

> I cvsuped on saturday, builtworld without any problems but kernel
> build fails with netgraph option.

Saturday was a long time ago.  Try again.  Seriously, there's been CVS
activity in the netgraph region. :-)

Ciao,
Sheldon.
Comment 4 Mark Jacobs 1999-12-07 15:09:46 UTC
I did. Re-cvsuped last night, did kernel rebuild (w/o buildworld this 
time). Same errors.

> 
> 
> On Mon, 06 Dec 1999 10:25:27 PST, jacobsm@gate.net wrote:
> 
> > I cvsuped on saturday, builtworld without any problems but kernel
> > build fails with netgraph option.
> 
> Saturday was a long time ago.  Try again.  Seriously, there's been CVS
> activity in the netgraph region. :-)
> 
> Ciao,
> Sheldon.
> 


Mark Jacobs
-------------------------------------------------
"They couldn't hit an elephant at this dist-"
 - Union General John Sedgewick, Last Words, 1864
Comment 5 Sheldon Hearn freebsd_committer freebsd_triage 1999-12-08 08:56:37 UTC
Responsible Changed
From-To: freebsd-bugs->archie

Mr Cobbs, could you take a look at this one? Are NETGRAPH kernels 
building okay for you on RELENG_3? 
Comment 6 Archie Cobbs freebsd_committer freebsd_triage 1999-12-08 18:37:20 UTC
State Changed
From-To: open->closed

Added file netgraph/ng_parse to sys/conf/files when options NETGRAPH. 
This should fix this.