Rtems Networking

Luca Germano lucagermano at hotmail.com
Mon Nov 20 11:45:57 UTC 2006


Hi
I solved the problems related to the warning message:
/opt/rtems-4.6/lib/gcc-lib/sparc-rtems/3.2.3/../../../../sparc-rtems/bin/ld:
Warning: size of symbol `timeout' changed from 4 to 244 in
/opt/rtems-4.6/sparc-rtems/leon3/lib/librtemscpu.a(rtems_glue.o)
/opt/rtems-4.6/lib/gcc-lib/sparc-rtems/3.2.3/../../../../sparc-rtems/bin/ld:
Warning: type of symbol `timeout' changed from 1 to 2 in
/opt/rtems-4.6/sparc-rtems/leon3/lib/librtemscpu.a(rtems_glue.o)
I have defined into my application a union
union{
	rtems_unsigned8		byte[4];
	rtems_unsigned32	ui_val;
	}timeout;
with name "timeout". Until I didn't use the Rtems network I had no warning 
message and my application worked fine. Last week I tried to use the network 
under Rtems and my application crashed every time I try to use my union 
named timeout. This morning I change the name of the union into "time_out" 
and my application now works fine using the Rtems network.
I hope this post will be useful for the Rtems comunity.

Best regards,
Luca Germano

_________________________________________________________________
Manda messaggi istantanei dal tuo account di Hotmail! 
http://join.msn.com/hotmail/features-std#6




More information about the users mailing list