[uClibc]uClibc-0.9.9 , i386-linux-uclibc and swab

Wladimir Mutel mwg at fluffy.isd.dp.ua
Mon Feb 18 13:10:37 UTC 2002


	Dear uClibc developers,

	I installed uClibc-0.9.9 and could not find 'swab' there.
	Here is my test :

mwg at fluffy:~$ cat sample.c
#include <unistd.h>

int main ()
{
        char * a , * b ;
	int l=5;
	swab (a, b , l );
	return 0;
}
mwg at fluffy:~$ export PATH=/usr/i386-linux-uclibc/bin:$PATH
mwg at fluffy:~$ which gcc
/usr/i386-linux-uclibc/bin/gcc
mwg at fluffy:~$ cc sample.c
/tmp/ccx1HIjl.o: In function `main':
/tmp/ccx1HIjl.o(.text+0x1d): undefined reference to `swab'
collect2: ld returned 1 exit status
mwg at fluffy:~$ 

	How do I get it to work ? And also, if anybody built XFree86 under
	uClibc-i386, it would be great if you share your experience with me.
	There is one recipe in uClibc application list, but it is for ARM, not
	for i386.

	Please reply to my email, mwg at fluffy.isd.dp.ua , since I am not
	subscribed to this list.



More information about the uClibc mailing list