Hello,
I'm using xfree86 4.0.1-3 from woody. Recently, I compiled an X program
which uses X locale setting and the linker just complained the undefined
referencing to "_Xsetlocale".
Here's a code that can demonstrate this:
$ cat > xlctest.c
#include <X11/Xlocale.h>
int main()
{
setlocale(LC_CTYPE, "");
return 0;
}
$ gcc -DX_LOCALE xlctest.c -L/usr/X11R6/lib -lX11
/tmp/ccwq3dql.o: In function `main':
/tmp/ccwq3dql.o(.text+0x11): undefined reference to `_Xsetlocale'
collect2: ld returned 1 exit status
$
What should I do?
Thank you,
-Theppitak.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]