Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

compiling if_wm.c fails



Hi,

with -current source cvs updated some minutes ago I ran into the problem
shown below cross building alpha distribution on Macosx:

    compile  GENERIC/if_wm.o
/Users/ks/NetBSD/src/sys/dev/pci/if_wm.c: In function 
'wm_kmrn_lock_loss_workaround_ich8lan':
/Users/ks/NetBSD/src/sys/dev/pci/if_wm.c:7008: error: 
'IGP3_KMRN_DIAG_PCS_LOCK_LOSS' undeclared (first use in this function)
/Users/ks/NetBSD/src/sys/dev/pci/if_wm.c:7008: error: (Each undeclared 
identifier is reported only once
/Users/ks/NetBSD/src/sys/dev/pci/if_wm.c:7008: error: for each function it 
appears in.)

*** Failed target:  if_wm.o
*** Failed command: echo ' ' "compile GENERIC/if_wm.o" && : echo 
/Users/ks/NetBSD/arch/alpha/TOOLS/bin/alpha--netbsd-gcc -pipe -mno-fp-regs 
-ffreestanding -fno-zero-initialized-in-bss -O2 -std=gnu99 -fno-strict-aliasing 
-Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith 
-Wmissing-prototypes -Wstrict-prototypes -Wswitch -Wshadow -Wcast-qual 
-Wwrite-strings -Wno-unreachable-code -Wno-sign-compare -Wno-pointer-sign 
-Wno-attributes -Werror -mieee -Dalpha -I. 
-I/Users/ks/NetBSD/src/sys/../common/include -I/Users/ks/NetBSD/src/sys/arch 
-I/Users/ks/NetBSD/src/sys -nostdinc -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT 
-I/Users/ks/NetBSD/src/sys/lib/libkern/../../../common/lib/libc/quad 
-I/Users/ks/NetBSD/src/sys/lib/libkern/../../../common/lib/libc/string 
-I/Users/ks/NetBSD/src/sys/lib/libkern/../../../common/lib/libc/arch/alpha/string
 -I/Users/ks/NetBSD/src/sys/dist/ipf -c 
/Users/ks/NetBSD/src/sys/dev/pci/if_wm.c && 
/Users/ks/NetBSD/arch/alpha/TOOLS/bin/alpha--netbsd-gcc -pipe -mno-fp-regs 
-ffreestanding -fno-zero-initialized-in-bss -O2 -std=gnu99 -fno-strict-aliasing 
-Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith 
-Wmissing-prototypes -Wstrict-prototypes -Wswitch -Wshadow -Wcast-qual 
-Wwrite-strings -Wno-unreachable-code -Wno-sign-compare -Wno-pointer-sign 
-Wno-attributes -Werror -mieee -Dalpha -I. 
-I/Users/ks/NetBSD/src/sys/../common/include -I/Users/ks/NetBSD/src/sys/arch 
-I/Users/ks/NetBSD/src/sys -nostdinc -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT 
-I/Users/ks/NetBSD/src/sys/lib/libkern/../../../common/lib/libc/quad 
-I/Users/ks/NetBSD/src/sys/lib/libkern/../../../common/lib/libc/string 
-I/Users/ks/NetBSD/src/sys/lib/libkern/../../../common/lib/libc/arch/alpha/string
 -I/Users/ks/NetBSD/src/sys/dist/ipf -c 
/Users/ks/NetBSD/src/sys/dev/pci/if_wm.c && : echo
*** Error code 1

Stop.
nbmake: stopped in 
/Users/ks/NetBSD/arch/alpha/obj/sys/arch/alpha/compile/GENERIC

Kurt


Home | Main Index | Thread Index | Old Index