Graphic Links patch

Stefan Sperling stsp at
Sun Apr 15 17:20:31 CEST 2007

On Sun, Apr 15, 2007 at 05:12:39PM +0200, John S. Skogtvedt wrote:
> Doesn't seem to compile. Ran svn up (at r1724), cleaned out my config,
> did make clean and make, and got the following error when it ran the
> links configure script:
> checking for libpng >= 1.0.0... yes
> checking LIBPNG_CFLAGS... -I/usr/include/libpng12
> checking LIBPNG_LIBS... -lpng12
> checking for png.h... yes
> checking for libpng/png.h... no
> checking for png_create_info_struct in -lpng... no
> configure: error: You need libpng to compile Links in graphics mode
> make[2]: *** [.configured] Fejl 1
> make[2]: Forlader katalog '/home/jss/dslinux/user/links'
> make[1]: *** [all] Fejl 2
> make[1]: Forlader katalog '/home/jss/dslinux/user'
> make: *** [subdirs] Fejl 1

I don't understand why this happens.

The library dependencies have been taken care of:

  if [ "$CONFIG_USER_LINKS_LINKS" = "y" ]; then
          define_bool CONFIG_LIB_LIBSSL y
          bool '  links with mouse'       CONFIG_USER_LINKS_WITH_GPM
          if [ "$CONFIG_USER_LINKS_WITH_GPM" = "y" ]; then
                  define_bool CONFIG_USER_GPM_GPM y
          bool '  links with graphics'    CONFIG_USER_LINKS_WITH_GRAPHICS
          if [ "$CONFIG_USER_LINKS_WITH_GRAPHICS" = "y" ]; then
                  define_bool CONFIG_LIB_LIBPNG y
                  define_bool CONFIG_LIB_LIBJPEG y

Do you have a libpng.a symlink in lib/ ?

stefan                                         PGP Key: 0xF59D25F0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : 

More information about the dslinux-devel mailing list