User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.4) Gecko/20060604 Firefox/1.5.0.4 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.4) Gecko/20060604 Firefox/1.5.0.4 Current SVN of xfce4-panel doesn't with with LDFLAGS="-Wl,--as-needed" because it losts -lxfcegui4. Then again, LDFLAGS="-Wl,--as-needed -lxfcegui4" works. Result is: ../../libxfce4panel/.libs/libxfce4panel.so: undefined reference to `xfce_message_dialog' collect2: ld returned 1 exit status How did I found out what it is missing: unaffiliated ~ # strings /usr/lib/libxfcegui4.so.4.1.0 | grep xfce_message_dialog Problems inside Makefile apparently? By the way, rest of SVN is ok with -Wl,--as-needed Thanks, Samuli Reproducible: Always Steps to Reproduce:
I suspect this is because the panel does not depend on those libraries directly in configure.ac.in, but relies on the fact that libxfce4panel pulls them in. If this is indeed the problem, it should not be too hard to fix.
Created attachment 663 xfce4-panel-4.3.90.2-asneeded.patch This works (but is most likely not the way you want it?)
Could you try revision 22442? I tried to add some explicit libraries to link against.
(In reply to comment #3) > Could you try revision 22442? I tried to add some explicit libraries to link > against. > You got it. Thanks, drac.