Brian Weaver said: > This routine should byte swap a 64-bit number from little endian to big > endian, and back again.
> long long swap_64(register long long val) snip > return val; The compiler seemed upset that the function returned a registered variable, it compiled fine when I removed "register" from the declaration. However, it doesn't appear to really matter, as removing the byteswap.h code and adding this code results in the same "__udivdi3" undefined symbol error. I am more convinced than ever that it is a gcc/lib issue. Many thanks, however, for your help. -T -- Tarus Balog Consultant Sortova Consulting Group, http://www.sortova.com +1-919-696-7625 [EMAIL PROTECTED] _______________________________________________ TriLUG mailing list http://www.trilug.org/mailman/listinfo/trilug TriLUG Organizational FAQ: http://www.trilug.org/~lovelace/faq/TriLUG-faq.html
