Messages in this thread | | | Date | Fri, 13 Oct 2000 22:48:42 +0200 | From | Francois Romieu <> | Subject | [PATCH] 2.4.0-test10-pre2 - drivers/net/rcpci45.c - conflicting types |
| |
gcc -D__KERNEL__ -I/tmp/romieu/tmp/linux-2.4.0-test10-pre2/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -march=i686 -fno-strict-aliasing -DMODULE -DMODVERSIONS -include /tmp/romieu/tmp/linux-2.4.0-test10-pre2/include/linux/modversions.h -c -o rcpci45.o rcpci45.c In file included from rcpci45.c:79: rclanmtl.h:73: redefinition of `u16' /tmp/romieu/tmp/linux-2.4.0-test10-pre2/include/asm/types.h:34: `u16' previously declared here rclanmtl.h:75: conflicting types for `u32' /tmp/romieu/tmp/linux-2.4.0-test10-pre2/include/asm/types.h:37: previous declaration of `u32' make[2]: *** [rcpci45.o] Error 1 make[2]: Leaving directory `/tmp/romieu/tmp/linux-2.4.0-test10-pre2/drivers/net' make[1]: *** [_modsubdir_net] Error 2 make[1]: Leaving directory `/tmp/romieu/tmp/linux-2.4.0-test10-pre2/drivers' make: *** [_mod_drivers] Error 2
drivers/net/rclanmtl.h defines U8, U16 and U32 for its own usage and it seems to clashes with include/net/divert.h (coming from ./include/linux/netdevice.h).
I s/ed the rpci45 driver with u8,16,32. Should the same be done for divert ?
-- Ueimor [unhandled content-type:application/octet-stream] | |