DragonFly users List (threaded) for 2007-01
DragonFly BSD
DragonFly users List (threaded) for 2007-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: NDIS compile problem


From: "Sepherosa Ziehau" <sepherosa@xxxxxxxxx>
Date: Wed, 3 Jan 2007 21:16:58 +0800

You will need to use following command to build modules:
make depend all

Best Regards,
sephe

On 1/3/07, Vladimir Mitiouchev <vovcia@gmail.com> wrote:
Im trying to build NDIS driver for RT2400.
Following instructions in netif/ndis/README i have following errors while make:
cc -O -pipe -march=pentium2  -D_KERNEL -Wall -Wredundant-decls
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes
-Wpointer-arith -Wi
nline -Wcast-qual  -ansi -DKLD_MODULE -nostdinc  -I. -I@
-I/usr/sources/obj/usr/sources/src/sys/dev/netif/ndis/forwarder_i386/include
-I@/../
include  -finline-limit=8000 --param inline-unit-growth=100 --param
large-function-growth=1000 -fno-common -ffreestanding
-mpreferred-stack-b
oundary=2 -fno-stack-protector -mno-mmx -mno-3dnow -mno-sse -mno-sse2
-mno-sse3 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
 -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -ansi -c
/usr/sources/src/sys/dev/netif/ndis/if_ndis.c
In file included from @/../include/stdint.h:32,
                 from @/sys/types.h:50,
                 from @/sys/param.h:77,
                 from /usr/sources/src/sys/dev/netif/ndis/if_ndis.c:36:
@/sys/stdint.h:12:28: machine/stdint.h: No such file or directory
In file included from @/../include/stdint.h:32,
                 from @/sys/types.h:50,
                 from @/sys/param.h:77,
                 from /usr/sources/src/sys/dev/netif/ndis/if_ndis.c:36:
@/sys/stdint.h:43: error: syntax error before "__uint8_t"
@/sys/stdint.h:47: error: syntax error before "__off_t"
@/sys/stdint.h:47: warning: type defaults to `int' in declaration of `__off_t'
@/sys/stdint.h:47: warning: data definition has no type or storage class
@/sys/stdint.h:48: error: syntax error before "__pid_t"
@/sys/stdint.h:48: warning: type defaults to `int' in declaration of `__pid_t'
@/sys/stdint.h:48: warning: data definition has no type or storage class
In file included from @/sys/types.h:50,
                 from @/sys/param.h:77,
                 from /usr/sources/src/sys/dev/netif/ndis/if_ndis.c:36:
@/../include/stdint.h:34: error: syntax error before "int8_t"
@/../include/stdint.h:34: warning: type defaults to `int' in
declaration of `int8_t'
@/../include/stdint.h:34: warning: data definition has no type or storage class
@/../include/stdint.h:35: error: syntax error before "int16_t"
@/../include/stdint.h:35: warning: type defaults to `int' in
declaration of `int16_t'
@/../include/stdint.h:35: warning: data definition has no type or storage class
@/../include/stdint.h:36: error: syntax error before "int32_t"


--
Live Free or Die



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