When building gnash with the autobuilder, there is a failure when a patch is
applied to the file 'glib-2.0.pc.in'. The patch file is 'pcre.p'.
The patch should be changed from:
--- glib-2.0.pc.in.orig 2008-09-12 10:55:53.000000000 -0700
+++ glib-2.0.pc.in 2008-12-28 21:42:27.000000000 -0800
@@ -10,5 +10,5 @@
Name: GLib
Description: C Utility Library
Version: @VERSION@
-Libs: -L${libdir} -lglib-2.0 @INTLLIBS@ @ICONV_LIBS@
+Libs: -L${libdir} -lglib-2.0 @INTLLIBS@ @ICONV_LIBS@ -lpcre
Cflags: -I${includedir}/glib-2.0 -I${libdir}/glib-2.0/include
@GLIB_EXTRA_CFLAGS@
To:
--- glib-2.0.pc.in.orig 2008-09-12 10:55:53.000000000 -0700
+++ glib-2.0.pc.in 2008-12-28 21:42:27.000000000 -0800
@@ -10,5 +10,5 @@
Name: GLib
Description: C Utility Library
Version: @VERSION@
-Libs: -L${libdir} -lglib-2.0 @INTLLIBS@
+Libs: -L${libdir} -lglib-2.0 @INTLLIBS@ -lpcre
Libs.private: @ICONV_LIBS@
If someone could explain the steps that led to this being a problem, that
would be great, since I would perhaps be able to check in a fix for this.
Also, during the same process, the build fails with:
cp: cannot stat
`/home/simon/src/gccsdk/autobuilder/libraries/gtk/libglib2.0-0/!LibGLib2':
No such file or directory
The directory on disc is named '!LibGlib2' with second lower case 'L'.
Perhaps people are only building this on Macs or other systems with case
insensitive filesystems.
The next problem I'm working on, in case anyone has a solution, is this
error:
/usr/bin/cc -L/home/simon/src/riscos/env/lib
-L/home/simon/src/riscos/cross/bin/../arm-unknown-riscos/lib -o fc-case
fc-case.o
/usr/bin/ld: skipping incompatible
/home/simon/src/riscos/cross/bin/../arm-unknown-riscos/lib/libgcc_s.so when
searching for -lgcc_s
/usr/bin/ld: skipping incompatible
/home/simon/src/riscos/cross/bin/../arm-unknown-riscos/lib/libgcc_s.so when
searching for -lgcc_s
/usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../../lib/crt1.o: In function
`_start':
(.text+0x12): undefined reference to `__libc_csu_fini'
/usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../../lib/crt1.o: In function
`_start':
(.text+0x19): undefined reference to `__libc_csu_init'
/usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../../lib/crt1.o: In function
`_start':
(.text+0x25): undefined reference to `__libc_start_main'
fc-case.o: In function `panic':
fc-case.c:(.text+0xf): undefined reference to `stderr'
fc-case.c:(.text+0x22): undefined reference to `fprintf'
fc-case.c:(.text+0x2c): undefined reference to `exit'
...etc...
Package libfontconfig1: ***Failure***
I'm not sure why /usr/bin/cc is attempting to link an ARM ELF library, since
that compiler is not the cross-compiler. Is this a potential problem when
using gcc4?
Simon
_______________________________________________
GCCSDK mailing list [email protected]
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK