On Fri, Nov 19, 2010 at 00:11:02 -0000, Thomas Dickey wrote: > On Fri, 19 Nov 2010, Robert Hooker wrote: > > > It hasn't been synced because it doesn't build on natty, our delta can > > be dropped now otherwise. Do you have a patch to fix the linker problem > > by any chance? > > what was the linker problem? > the compiler in Ubuntu's development version passes --no-add-needed to the linker, which results in build failure because -lfontconfig and -lX11 aren't passed when linking xterm. I reproduced the failure on Debian by setting LDFLAGS="-Wl,--no-add-needed", and got a working build with LDFLAGS="-Wl,--no-add-needed -lfontconfig -lX11".
The errors were: /usr/bin/ld: fontutils.o: undefined reference to symbol 'FcCharSetHasChar' /usr/bin/ld: note: 'FcCharSetHasChar' is defined in DSO /usr/lib64/libfontconfig.so.1 so try adding it to the linker command line and /usr/bin/ld: main.o: undefined reference to symbol 'XGeometry' /usr/bin/ld: note: 'XGeometry' is defined in DSO /usr/lib64/libX11.so.6 so try adding it to the linker command line Initially the libs used were -lXft -lXaw7 -lXt -lXmu -lXt -lSM -lICE -lutempter -ltermcap. -- 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. _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp