Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
ndis does not compile with current.
Hi!
Trying to compile a GENERIC kernel with ndis enable, I got:
# compile EEEBOX/if_ndis.o
cc -ffreestanding -fno-zero-initialized-in-bss -mfpmath=sse -msse2 -march=pentiu
m4 -O2 -pipe -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 -Wextra -Wno-unused-parameter -Werror -march=i486
-mtune=pentiumpro -Di386 -I. -I../../../../../common/include -I../../../../arch
-I../../../.. -nostdinc -DMODULAR -DCOMPAT_NDIS -DMAXUSERS=64 -D_KERNEL -D_KERNE
L_OPT -I../../../../lib/libkern/../../../common/lib/libc/quad -I../../../../lib/
libkern/../../../common/lib/libc/string -I../../../../lib/libkern/../../../commo
n/lib/libc/arch/i386/string -I../../../../../common/include -I../../../../dist/p
f -I../../../../dev/drm -I../../../../dev/pci/drm -c ../../../../dev/if_ndis/if_
ndis.c
cc1: warnings being treated as errors
../../../../dev/if_ndis/if_ndis.c:146: warning: 'struct lkm_table' declared insi
de parameter list
../../../../dev/if_ndis/if_ndis.c:146: warning: its scope is only this definitio
n or declaration, which is probably not what you want
../../../../dev/if_ndis/if_ndis.c: In function 'ndisdrv_modevent':
../../../../dev/if_ndis/if_ndis.c:222: error: argument 'mod' doesn't match proto
type
../../../../dev/if_ndis/if_ndis.c:146: error: prototype declaration
../../../../dev/if_ndis/if_ndis.c:229: error: 'LKM_E_LOAD' undeclared (first use
in this function)
../../../../dev/if_ndis/if_ndis.c:229: error: (Each undeclared identifier is rep
orted only once
../../../../dev/if_ndis/if_ndis.c:229: error: for each function it appears in.)
../../../../dev/if_ndis/if_ndis.c:240: error: 'LKM_E_UNLOAD' undeclared (first u
se in this function)
../../../../dev/if_ndis/if_ndis.c: In function 'ndis_setmulti':
../../../../dev/if_ndis/if_ndis.c:335: error: 'struct ndis_softc' has no member
named 'ndif_dev'
../../../../dev/if_ndis/if_ndis.c: In function 'ndis_attach':
../../../../dev/if_ndis/if_ndis.c:698: warning: passing argument 1 of 'aprint_no
rmal_dev' from incompatible pointer type
../../../../dev/if_ndis/if_ndis.c: In function 'ndis_detach':
../../../../dev/if_ndis/if_ndis.c:1187: warning: passing argument 1 of 'mutex_de
stroy' from incompatible pointer type
../../../../dev/if_ndis/if_ndis.c: In function 'ndis_ioctl':
../../../../dev/if_ndis/if_ndis.c:2597: error: 'cmd' undeclared (first use in th
is function)
*** Error code 1
Stop.
make: stopped in /usr/src/sys/arch/i386/compile/EEEBOX
thx!
Home |
Main Index |
Thread Index |
Old Index