[uClibc] xfree86 4.3 tip and tvtime-0.9.8.5 problem

Chris Brookes chris at txrx.org
Wed Jul 2 19:14:51 UTC 2003


Hi,

I had a current CVS version of XFree86 4.3 compiled under the 0.9.19
development environment, with only minor changes to ceil and float
errors, if I remember correctly. I might also have added -lcrypt to
solve the dlopen linking problem. Anyway, just thought I'd mentioned
that the same source tree failed to compile underthe new 0.9.20 image,
stopping reporting undefined references to dlopen. The fix was to add
-ldl as a link option... in my host.def I use a line like:

#define DefaultGcc2i386Opt      -O4 -fno-strength-reduce -march=i586
-mcpu=i586 -mmmx -lcrypt -ldl

Don't know if that's the RIGHT way to do it, but I end up with a
compiled and working X. :-)

Anyway I'm trying to compile tvtime (http://tvtime.sf.net) .. apart from
it's use of wordexp() which I get around by removing the function that
uses it and just returning a normal value (that hack will work for
now)... it then fails reporting several undefined refernces to
rpl_malloc .. the code just has malloc() calls it in at the lines where
the undefined references are. 

I looked through the archives and saw some mention of an rpl_malloc
patch, and then an rpl workaround being removed... ?? 

Chris




More information about the uClibc mailing list