MIPS: error compiling cups

Khem Raj kraj at mvista.com
Tue Dec 26 20:33:24 UTC 2006


Hi

I am hitting this error while compiling cups on mips

usr/include/bits/socket.h:271: error: expected initializer before 'throw'

I poked a bit and found this commit.

http://uclibc.org/cgi-bin/viewcvs.cgi/trunk/uClibc/libc/sysdeps/linux/mips/bits/socket.h?rev=16791&r1=16494&r2=16791

which is causing this error for me. Reversing this patch fixes the issue.

My cross-compiler is configured with --disable-tls

any ideas ?

Thanks

-Khem



More information about the uClibc mailing list