Rtems Networking

Luca Germano lucagermano at hotmail.com
Thu Nov 16 08:49:06 UTC 2006

this is the result of the nm
/opt/rtems-4.6/sparc-rtems/leon3/lib$ nm librtemscpu.a |grep timeout
nm: condmp.o: no symbols
nm: itronapi.o: no symbols
         U timeout
         U timeout
00000094 d last_adjusted_timeout.0
00000090 d rtq_timeout
         U timeout
nm: mutexmp.o: no symbols
nm: res_stubs.o: no symbols
nm: rtclock.o: no symbols
nm: semaphoremp.o: no symbols
00000000 d timeout
00000008 d tottimeout
00000000 d timeout
00000008 d tottimeout
00000000 d timeout
00000a00 T timeout
nm: strlcat.o: no symbols
nm: strlcpy.o: no symbols
nm: threadget.o: no symbols
nm: threadidlebody.o: no symbols
nm: time.o: no symbols
         U timeout

I try to opend the rtems source file but I didn't find duplicated symbols.
Look at warning message I find timeout into file rtems_glue.c. At line 516 
and 519 there are two assignment to unsigner32 variable named timeout.
unsigned32 timeout;
While at line 516 there is
timeout = c->c_time;
where c_time is a structure of type timeval
at line 519 there is
where RTEMS_NO_TIMEOUT is a value equal to 0.
Could be the assignement of line 516, a structure assigned to a unsigned 
int, the problem?


>From: Joel Sherrill <joel.sherrill at oarcorp.com>
>To: Luca Germano <lucagermano at hotmail.com>
>CC: rtems-users at rtems.org
>Subject: Re: Rtems Networking
>Date: Wed, 15 Nov 2006 16:57:29 -0600
>Luca Germano wrote:
>>I try to use network under RTEMS. I look the RTEMS netdemos examples.
>>Compling my application I have the following warning message:
>>Warning: size of symbol `timeout' changed from 4 to 244 in 
>>Warning: type of symbol `timeout' changed from 1 to 2 in 
>>Someone have had this warning message or can explain me how to solve?
>This usually indicates that the symbol is defined in two different object 
>Can you poke around with nm and grep on the libraries and see if it is 
>duplicately defined?
>timeout is such a common word, it wouldn't surprise me to find it in two 
>>Thanks for the help
>>Scopri la perfetta integrazione tra MSN Hotmail e Windows Live Messenger! 
>>rtems-users mailing list
>>rtems-users at rtems.com

Aggiungi il modulo Amici al tuo Spaces con un click! 

More information about the users mailing list