GNOME Bugzilla – Bug 352239
gnome-panel failing to build because of libXau unresolved symbols
Last modified: 2006-10-08 13:08:59 UTC
Please describe the problem: When compiling gnome-panel on Solaris, it is failing because of libXau unresolved symbols. It was not failing before on Solaris symbols for libXau were included in libX11, but have now been removed. panel-gdm.c explicitly calls libXau API : XauFileName() XauReadAuth() XauDisposeAuth() And really should include -lXau on linker line Steps to reproduce: 1. Try to build gnome-panel on Solaris Express. Fails for panel-gdm.o during linking of gnome-panel for symbols : XauFileName() XauReadAuth() XauDisposeAuth() Actual results: Expected results: Does this happen every time? Yes Other information: Solution is simply to amend gnome-panel/gnome-panel/Makefile.am and include -lXau on linker line.
Created attachment 71290 [details] [review] Add -lXau to X_LIBS in configure.in
Matt: does X on solaris provide pkg-config files? I'd very much prefer to have this in configure.in.
Comment on attachment 71290 [details] [review] Add -lXau to X_LIBS in configure.in Index: configure.in =================================================================== RCS file: /cvs/gnome/gnome-panel/configure.in,v retrieving revision 1.672 diff -r1.672 configure.in 198a199 > AC_CHECK_LIB(Xau, XauFileName, [X_LIBS="$X_LIBS -lXau"])
Created attachment 71445 [details] [review] Add -lXau to X_LIBS in configure.in Vincent there is not pc file for Xau on solaris, Attached a patch that will add -lXau via configure.in.
I'll commit something this asap. Would be nice if you could push to get pc files ;-)
Thanks vincent, I'll push the xserver team here to try and go down that very route. e.g. pc files.
vincent: *ping* - can this be committed? :-)
Thanks for the ping ;-)