Graphic Links patch

John S. Skogtvedt jss2k2 at chello.no
Sun Apr 15 19:02:04 CEST 2007


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
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









More information about the dslinux-devel mailing list