ubuntu-x-swat team mailing list archive
-
ubuntu-x-swat team
-
Mailing list archive
-
Message #99378
[Bug 677129] Re: Please merge xterm 266-1 (main) from debian unstable (main)
The natty toolchain switched to these standards coming soon to a wheezy
near you
http://wiki.debian.org/ToolChain/DSOLinking
/bin/sh ../plink.sh gcc -g -Wall -O2 -DDEF_ALLOW_FONT=False -DDEF_ALLOW_TCAP=False -DDEF_DISALLOWED_WINDOW=\"1,2,3,4,5,6,7,8,9,11,13,14,18,19,20,21,GetSelection,SetSelection,SetWinLines,SetXprop\" -Wl,-Bsymbolic-functions -o xterm button.o cachedGCs.o charproc.o charsets.o cursor.o data.o doublechr.o fontutils.o input.o linedata.o main.o menu.o misc.o print.o ptydata.o scrollback.o screen.o scrollbar.o tabs.o util.o xstrings.o xtermcap.o VTPrsTbl.o xutf8.o TekPrsTbl.o Tekproc.o charclass.o precompose.o wcwidth.o -lXft -lXaw7 -lXt -lXt -lSM -lICE -lutempter -ltermcap
testing if -lXft is needed
...yes
testing if -lXaw7 is needed
...yes
testing if -lXt is needed
...yes
testing if -lXt is needed
...yes
testing if -lSM is needed
...yes
testing if -lICE is needed
...yes
testing if -lutempter is needed
...yes
testing if -ltermcap is needed
...yes
/usr/bin/ld: fontutils.o: undefined reference to symbol 'FcCharSetHasChar'
/usr/bin/ld: note: 'FcCharSetHasChar' is defined in DSO /usr/lib/libfontconfig.so.1 so try adding it to the linker command line
/usr/lib/libfontconfig.so.1: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[1]: *** [xterm] Error 1
It used to build ok with this, until gcc was also changed to default to --as-needed
--- debian/rules.orig 2010-11-09 18:30:53.504000472 -0500
+++ debian/rules 2010-11-09 18:29:48.584000473 -0500
@@ -66,6 +66,7 @@
$(confflags) \
DESKTOP_FLAGS="$(DESKTOP_FLAGS)" \
CFLAGS="$(CFLAGS)" \
+ LDFLAGS="-lfontconfig -lX11 -lXmu" \
LUIT=/usr/bin/luit
touch $@
That fails like this:
/bin/sh ../plink.sh gcc -g -Wall -O2 -DDEF_ALLOW_FONT=False -DDEF_ALLOW_TCAP=False -DDEF_DISALLOWED_WINDOW=\"1,2,3,4,5,6,7,8,9,11,13,14,18,19,20,21,GetSelection,SetSelection,SetWinLines,SetXprop\" -lfontconfig -lX11 -lXmu -o xterm button.o cachedGCs.o charproc.o charsets.o cursor.o data.o doublechr.o fontutils.o input.o linedata.o main.o menu.o misc.o print.o ptydata.o scrollback.o screen.o scrollbar.o tabs.o util.o xstrings.o xtermcap.o VTPrsTbl.o xutf8.o TekPrsTbl.o Tekproc.o charclass.o precompose.o wcwidth.o -lXft -lXaw7 -lXt -lXt -lSM -lICE -lutempter -ltermcap
testing if -lfontconfig is needed
...yes
testing if -lX11 is needed
...yes
testing if -lXmu is needed
...yes
testing if -lXft is needed
...yes
testing if -lXaw7 is needed
...yes
testing if -lXt is needed
...yes
testing if -lXt is needed
...yes
testing if -lSM is needed
...yes
testing if -lICE is needed
...yes
testing if -lutempter is needed
...yes
testing if -ltermcap is needed
...yes
/usr/bin/ld: fontutils.o: undefined reference to symbol 'FcCharSetHasChar'
/usr/bin/ld: note: 'FcCharSetHasChar' is defined in DSO /usr/lib/gcc/i686-linux-gnu/4.5.2/../../../../lib/libfontconfig.so so try adding it to the linker command line
/usr/lib/gcc/i686-linux-gnu/4.5.2/../../../../lib/libfontconfig.so: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[1]: *** [xterm] Error 1
--
Please merge xterm 266-1 (main) from debian unstable (main)
https://bugs.launchpad.net/bugs/677129
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xterm in ubuntu.
References