After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 660517 - gnome-panel fails to build because of underlinking
gnome-panel fails to build because of underlinking
Status: RESOLVED OBSOLETE
Product: gnome-panel
Classification: Other
Component: general
2.32.x
Other Linux
: Normal normal
: ---
Assigned To: Panel Maintainers
Panel Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-09-29 20:17 UTC by Naohiro Aota
Modified: 2013-10-09 21:59 UTC
See Also:
GNOME target: ---
GNOME version: 2.31/2.32


Attachments
sample fix (397 bytes, patch)
2011-09-29 20:17 UTC, Naohiro Aota
rejected Details | Review

Description Naohiro Aota 2011-09-29 20:17:07 UTC
Created attachment 197817 [details] [review]
sample fix

git checkout origin/gnome-2-32
make

failed like this:

  CCLD   gnome-panel
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: gnome_panel-main.o: in function move_window_handler:nothing.cP:1472: error: undefined reference to 'sqrt'
collect2: ld returned 1 exit status
make[4]: *** [gnome-panel] Error 1
make[4]: Leaving directory `/home/naota/src/gnome-panel/gnome-panel'

may need explicit link to libm. I was able to build the package with the attached patch.
Comment 1 Sebastian 2013-10-09 21:59:40 UTC
Review of attachment 197817 [details] [review]:

This does no longer apply to the current code and the current version of gnome-panel builds just find. I'm rejecting this patch.