lkml.org 
[lkml]   [2000]   [Oct]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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]
\
 
 \ /
  Last update: 2005-03-22 12:41    [W:0.026 / U:0.444 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site