[uClibc]svgalib, udhcpc

Matt Selsky selsky at columbia.edu
Wed Mar 6 01:21:51 UTC 2002


Sorry to answer my own questions.

I undid my modificatins to Makefile.cfg in svgalib applied the patch 
described here:

http://uclibc.org/lists/uclibc/2001-June/003882.html

svgalib built successfully and I was able to install it on my target 
system.  I did have to create extra symlinks though:

$ ln -s libvga.so.1.4.3 libvga.so.1
$ ln -s libvgagl.so.1.4.3 libvgagl.so.1

I undid my changes in the uclibc Config.h and reread the docs a bit 
more.  udhcp now builds fine statically and works great.

On Tue, Mar 05, 2002 at 06:47:15PM -0500, Matt Selsky wrote:
> I'm trying to build svgalib-1.4.3 against uclibc, but I got the 
> following errors:
> 
> make[1]: Entering directory `/src/svgalib/svgalib-1.4.3/utils'
> cc -Wall -Wstrict-prototypes -fomit-frame-pointer -O2 -fno-strength-reduce -pipe -g -I../include -s -o restorefont restorefont.o -lvga -lm
> /usr/bin/ld: cannot find -lvga
> collect2: ld returned 1 exit status
> make[1]: *** [restorefont] Error 1
> make[1]: Leaving directory `/src/svgalib/svgalib-1.4.3/utils'
> make: *** [textutils] Error 2
> 
> Has anyone had success building svgalib and if so, would you be willing 
> to share your config?
> 
> I also had some problems with udhcp.  I built it statically against 
> uclibc and everything works fine.  Then I tried to build it dynamically 
> and run it on my target system and I get errors about it not being able 
> to find files.  I copied over the shared libraries from 
> /usr/local/i386-linux-uclibc/lib/*so* to /lib on the target system.
> 
> In Config I changed:
> -DEVEL_PREFIX = /usr/$(TARGET_ARCH)-linux-uclibc
> +DEVEL_PREFIX = /usr/local/$(TARGET_ARCH)-linux-uclibc
> 
> Do I need to configure uclibc differently at build time to be able to 
> find the libraries later?




More information about the uClibc mailing list