Skip to contentSkip to conversation

2.6.0-test2-bk3 (linus' tree) -- drivers/net/3c59x.c:534: error: `WNOOXCVR_PWR' undeclared here (not in a function)

DISCUSSION Miles Lane 2 participants 2 messages Aug 4, 2003

lore
Share & tools
lore

Miles Lane

author
#0 lore raw

CC [M] drivers/net/3c59x.o
drivers/net/3c59x.c:534: error: `WNOOXCVR_PWR' undeclared here (not in a function)
drivers/net/3c59x.c:534: error: initializer element is not constant drivers/net/3c59x.c:534: error: (near initialization for `vortex_info_tbl[23].drv_flags')
drivers/net/3c59x.c:534: error: initializer element is not constant drivers/net/3c59x.c:534: error: (near initialization for `vortex_info_tbl[23]')
drivers/net/3c59x.c:536: error: initializer element is not constant drivers/net/3c59x.c:536: error: (near initialization for `vortex_info_tbl[24]')
drivers/net/3c59x.c:539: error: initializer element is not constant

Gnu C                  3.3.1
Gnu make               3.80
util-linux             2.11z
mount                  2.11x
e2fsprogs              1.32
pcmcia-cs              3.2.3
PPP                    2.4.1
nfs-utils              1.0.5
Linux C Library        2.3.1
Dynamic linker (ldd)   2.3.1
Procps                 3.1.6
Net-tools              1.60
Console-tools          0.2.3
Sh-utils               5.0

GNU ld version 2.14 20030612

CONFIG_PPC=y
CONFIG_PPC32=y
CONFIG_6xx=y

#
# IBM 4xx options
#
CONFIG_PM=y
# CONFIG_8260 is not set
CONFIG_GENERIC_ISA_DMA=y
CONFIG_PPC_STD_MMU=y
CONFIG_PPC_MULTIPLATFORM=y
CONFIG_PPC_CHRP=y
CONFIG_PPC_PMAC=y
CONFIG_PPC_PREP=y
CONFIG_PPC_OF=y
# CONFIG_SMP is not set
# CONFIG_PREEMPT is not set
CONFIG_ALTIVEC=y

CONFIG_NET_ETHERNET=y
# CONFIG_MII is not set
# CONFIG_MACE is not set
# CONFIG_BMAC is not set
# CONFIG_OAKNET is not set
# CONFIG_HAPPYMEAL is not set
CONFIG_SUNGEM=m
CONFIG_NET_VENDOR_3COM=y
CONFIG_VORTEX=m
CONFIG_TYPHOON=m

#1 lore raw
Quoted 2 lines

drivers/net/3c59x.c:534: error: `WNOOXCVR_PWR' undeclared here (not in a function)

Funny, it should be: WNO_XCVF_PWR, edit 3c59x.c

But test2-bk3 is fine. Are you using any other patches ?

Regards,
Maciej