Am I the only one with this?
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -mpreferred-stack-boundary=2 -gstabs+ -Wpointer-arith -march=athlon-xp \ -pipe -mmmx -m3dnow -msse -fPIC -D__WINESRC__ -DDLLDIR=""/usr/local/lib/wine"" -D_REENTRANT -o ldt.o ldt.c ldt.c: In function `set_thread_area': ldt.c:97: `__NR_set_thread_area' undeclared (first use in this function) ldt.c:97: (Each undeclared identifier is reported only once ldt.c:97: for each function it appears in.) make[1]: *** [ldt.o] Error 1 make[1]: Leaving directory `/var/src/wine/library' make: *** [library] Error 2
The code there looks a bit obscure.... :(