[uClibc]shared libs

Alex King alex at milton.king.net.nz
Wed Mar 7 11:07:59 UTC 2001


On Wed, Mar 07, 2001 at 11:34:30PM +1300, Alex King wrote:
> gcc-uClibc-i386  -o badblocks badblocks.o ../lib/libext2fs.a
> ../lib/libcom_err.a 
> badblocks.o: In function `test_nd':
> /home/alex/e2fsbox/e2fsprogs-1.19/build/misc/../../misc/badblocks.c:449:
> undefined reference to `random'
> 
> I guess there is no random(3) in uclibc?
> 

OK, that was a no-brainer, replaced random() with rand(), and everything
compiles fine now.  I would still like to know how to compile shared libs
against uclibc though.





More information about the uClibc mailing list