[uClibc] Problems compliling X-4.3.99

Peter Fosseus peter at overdrive.co.za
Fri Nov 7 12:48:07 UTC 2003


I am really sorry if this has been discussed to death, but I would like to use 
X and can't until this is resolved. I am using the following host.def and get 
this error from the CVS version of X-4.3.99. I am using the i386 development 
environment  "30 September 2003, dev systems updated to uClibc 0.9.21+ "

/* These settings are for TinyX on a uLibc system */

#define BuildFonts                 NO
#define BuildServersOnly          YES
#define KDriveXServer             YES
#define KdriveServerExtraDefines -DMAXSCREENS=3
#define TinyXServer               YES
#define XfbdevServer              YES
#define HasLibCrypt                NO
#define ProjectRoot               /usr/X11R6
#define UseSeparateConfDir         NO
#undef  CcCmd
#define CcCmd gcc -I$(TOP)/lib
#undef  OptimizedCDebugFlags
#define OptimizedCDebugFlags -O2
#undef  ServerCDebugFlags
#define ServerCDebugFlags -O2

/* End XFree86 host.def file */

The error occurs here ...

c++ -m32 -c -O2 -fno-strength-reduce -fno-strict-aliasing    -I../nurbtess      
-I../../libutil         -I../../include     -I../../../../include   
-I../../../../include/GL -I../../../.. -I../../../../exports/include  -Dlinux 
-D__i386__ -D_POSIX_SOURCE -D_POSIX_C_SOURCE=2                                
-D_BSD_SOURCE -D_SVID_SOURCE               -D_GNU_SOURCE -DX_LOCALE   
-DNEEDCEILF   -DLIBRARYBUILD  -DNDEBUG     -fPIC curve.cc
In file included from /usr/include/math.h:82,
                 from mymath.h:74,
                 from curve.cc:46:
/usr/include/bits/mathcalls.h:162: error: declaration of `float ceilf(float)
   throw ()' throws different exceptions
mymath.h:69: error: than previous declaration `float ceilf(float)'
/usr/include/bits/mathcalls.h:168: error: declaration of `float floorf(float)
   throw ()' throws different exceptions
mymath.h:70: error: than previous declaration `float floorf(float)'
make[5]: *** [curve.o] Error 1
make[5]: Leaving directory `/sources/X/xc/lib/GLU/libnurbs/internals'
make[4]: *** [libnurbs/internals] Error 2
make[4]: Leaving directory `/sources/X/xc/lib/GLU'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/sources/X/xc/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/sources/X/xc'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/sources/X/xc'
make: *** [World] Error 2

-- 
Peter
---
Shick's Law:
	There is no problem a good miracle can't solve.


______________________________________
Inflex - installed on mailserver for domain overdrive.co.za
Queries to: postmaster at overdrive.co.za.



More information about the uClibc mailing list