Graphic Links patch

Stefan Sperling stsp at stsp.name
Sun Apr 15 20:16:07 CEST 2007


On Sun, Apr 15, 2007 at 07:02:04PM +0200, John S. Skogtvedt wrote:
> Stefan Sperling skrev:
> > On Sun, Apr 15, 2007 at 05:47:48PM +0200, Stefan Sperling wrote:
> >> What happens if you set PKG_CONFIG=/bin/false in the configure
> >> script environment?
> > 
> > Better yet try this patch:
> > 
> > Index: Makefile
> > ===================================================================
> > --- Makefile	(revision 1723)
> > +++ Makefile	(working copy)
> > @@ -16,7 +16,8 @@
> >  endif
> >  
> >  .configured:
> > -	cd src && env "CFLAGS=$(CFLAGS) -Wno-pointer-sign" \
> > +	cd src && env CFLAGS="$(CFLAGS) -Wno-pointer-sign" \
> > +		 PKG_CONFIG=no \
> >  		./configure --target=$(CROSS) \
> >  		--prefix=/nonexistent $(LINKS_CONFIGURE_FLAGS)
> >  	touch $@
> > 
> > 
> 
> After applying the patch and running make clean && make at top-level:
> 
> ucfront-gcc arm-linux-elf-gcc   -O2 -g -fomit-frame-pointer -fno-common
> -fno-builtin -Wall  -mswp-byte-writes -DCONFIG_NDS_ROM8BIT
> -mcpu=arm946e-s -mfpu=fpe3 -DEMBED -D__PIC__ -fpic -msingle-pic-base
> -Dlinux -D__linux__ -Dunix -D__uClinux__ -Wno-pointer-sign -Wl,-elf2flt
> -D__PIC__ -fpic -msingle-pic-base -mswp-byte-writes -o links  af_unix.o
> auth.o beos.o bfu.o block.o bookmarks.o builtin.o cache.o charsets.o
> connect.o context.o cookies.o default.o dip.o directfb.o dither.o dns.o
> drivers.o error.o file.o finger.o font_include.o framebuffer.o ftp.o
> gif.o html.o html_gr.o html_r.o html_tbl.o http.o https.o img.o
> imgcache.o ipret.o javascr.o javascript.o jpeg.o jsint.o kbd.o
> language.o links_icon.o listedit.o lru.o mailto.o main.o md5.o md5hl.o
> menu.o memory.o ns.o objreq.o os_dep.o pmshell.o png.o pomocny.o
> regexp.o sched.o select.o session.o smb.o svgalib.o terminal.o tiff.o
> types.o url.o view.o view_gr.o win32.o x.o xbm.o  -ljpeg -lpng -lz -lssl
> -lcrypto -lm

Mmmh. The configure script should add -lgpm to LIBS.
Can you try to find out why it does not find libgpm.a?
What did the configure script say? Do you have a symlink to
the libgpm.a library in lib/ ?

> links.elf2flt: In function `unhandle_fb_mouse':
> /home/jss/dslinux/user/links/src/framebuffer.c:1039: undefined reference
> to `Gpm_Close'
> links.elf2flt: In function `handle_fb_mouse':
> /home/jss/dslinux/user/links/src/framebuffer.c:1011: undefined reference
> to `Gpm_Open'
> links.elf2flt: In function `fb_gpm_in':
> /home/jss/dslinux/user/links/src/framebuffer.c:919: undefined reference
> to `Gpm_GetEvent'
> collect2: ld returned 1 exit status
> make[3]: *** [links] Fejl 1
> make[3]: Forlader katalog '/home/jss/dslinux/user/links/src'
> make[2]: *** [.compiled] Fejl 2
> 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
> 
> 
> 
> 
> 
> 
> -- 
> dslinux-devel mailing list
> dslinux-devel at dslinux.in-berlin.de
> http://mailman.dslinux.in-berlin.de/mailman/listinfo/dslinux-devel

-- 
stefan
http://stsp.name                                         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 : http://mailman.dslinux.in-berlin.de/pipermail/dslinux-devel-dslinux.in-berlin.de/attachments/20070415/040f56ca/attachment.pgp 


More information about the dslinux-devel mailing list