[PATCH] 2.4.0-test10-pre2 - drivers/net/rcpci45.c - conflicting types

From: Francois Romieu (romieu@cogenit.fr)
Date: Fri Oct 13 2000 - 15:48:42 EST

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

I s/ed the rpci45 driver with u8,16,32. Should the same be done for divert ?


- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/

This archive was generated by hypermail 2b29 : Sun Oct 15 2000 - 21:00:26 EST