* Martin Bagge / brother <[email protected]> [2011-04-19 15:17]: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > On 2011-04-19 15:08, Sergio Cipolla wrote: > > Hi, I don't understand much about building from source so I was building > > lxpanel (in Debian sid) and got this error when running *make *(note > > that *./configure > > --sysconfdir=/etc* completed fine): > > > > /usr/bin/ld.bfd.real: ../src/plugins/libbuiltin_plugins.a(taskbar.o): > > undefined reference to symbol 'XGetWindowAttributes' > > /usr/bin/ld.bfd.real: note: 'XGetWindowAttributes' is defined in DSO > > //usr/lib/libX11.so.6 so try adding it to the linker command line > > //usr/lib/libX11.so.6: could not read symbols: Invalid operation > > collect2: ld returned 1 exit status > > make[3]: ** [lxpanel] Erro 1 > > make[3]: Saindo do diretório `/home/lxde/src/lxpanel/src' > > make[2]: ** [all-recursive] Erro 1 > > make[2]: Saindo do diretório `/home/lxde/src/lxpanel/src' > > make[1]: ** [all-recursive] Erro 1 > > make[1]: Saindo do diretório `/home/lxde/src/lxpanel' > > make: ** [all] Erro 2 > > > > It's the latest lxpanel from git and I have all the build dependencies > > installed (at least the ones Debian uses). > > > > Is there a simple workaround for that error? > > I know so little about these things that I don't even know if it's a bug in > > the package or not. > > LXPanel git HEAD (a072a895cb5a93a60255f0d89ddec58be0466943) builds > prefectly clean, you must be missing something in your environment. > My build log (debian testing though. can try it at a SID tomorrow or > something) > http://buildbot.lxde.bsnet.se/builders/LXDE-lxpanel/builds/32
Debian has recently changed the BFD linker default behavior following gold in not automatically resolving symbols in the dependencies of linked objects. In case you need to do what the above error tells you to do and explicitly link against libX11 when using its symbols. -- Guido Berhoerster ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Lxde-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lxde-list
