To: rtnet-users@lists.sourceforge.net

Im getting a compiler error when building RTNet 0.8.2 (see
<error_description> below).  I was able to compile the source by
disabling sections of tulip_core.c enclosed by:

 #ifdef CONFIG_TULIP_MWI
 #endif

But I'm not sure what the result of that would be.  

Anyone else having this problem?
Does anyone know if the above solution will cause problems down the
line?

Cheers,
Hawkeye


<error_description command='make --enable-tulip --with-
rtai=/usr/realtime">

...

make[3]: Entering directory `/usr/src/linux-2.6.7'
  CC [M]  /usr/src/rtnet-0.8.2/drivers/tulip/tulip_core.o
/usr/src/rtnet-0.8.2/drivers/tulip/tulip_core.c: In function
`tulip_mwi_config':
/usr/src/rtnet-0.8.2/drivers/tulip/tulip_core.c:1242: error: `rtdev'
undeclared (first use in this function)
/usr/src/rtnet-0.8.2/drivers/tulip/tulip_core.c:1242: error: (Each
undeclared identifier is reported only once
/usr/src/rtnet-0.8.2/drivers/tulip/tulip_core.c:1242: error: for each
function it appears in.)
/usr/src/rtnet-0.8.2/drivers/tulip/tulip_core.c: In function
`tulip_init_one':
/usr/src/rtnet-0.8.2/drivers/tulip/tulip_core.c:1498: warning: passing
arg 2 of `tulip_mwi_config' from incompatible pointer type
make[4]: *** [/usr/src/rtnet-0.8.2/drivers/tulip/tulip_core.o] Error 1
make[3]: *** [_module_/usr/src/rtnet-0.8.2/drivers/tulip] Error 2
make[3]: Leaving directory `/usr/src/linux-2.6.7'
make[2]: *** [rt_tulip.ko] Error 2
make[2]: Leaving directory `/usr/src/rtnet-0.8.2/drivers/tulip'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/usr/src/rtnet-0.8.2/drivers'
make: *** [install-recursive] Error 1

</error_description>


-- 
_________________________________________
  Hawkeye King 
  Dept. of Electrical Engineering
  University of Washington
  Seattle, WA, USA
  http://brl.ee.washington.edu
_________________________________________




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to