Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 106330 - sci-geosciences/gpsd-2.29 needs -lm
Summary: sci-geosciences/gpsd-2.29 needs -lm
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Steve Arnold
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-17 20:22 UTC by Morgan Collins
Modified: 2005-09-19 22:48 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Morgan Collins 2005-09-17 20:22:17 UTC
x86_64-pc-linux-gnu-gcc -march=athlon64 -O2 -ftracer -fweb -frename-registers
-pipe -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes
-Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE -Wl,-O2 -o
gpxlogger gpxlogger.o  /usr/lib64/libdbus-glib-1.so /usr/lib64/libgobject-2.0.so
/usr/lib64/libdbus-1.so -lnsl /usr/lib64/libglib-2.0.so
gpxlogger.o: In function `signal_handler':
gpxlogger.c:(.text+0x105): undefined reference to `floor'
collect2: ld returned 1 exit status
make[1]: *** [gpxlogger] Error 1
make[1]: Leaving directory `/var/tmp/portage/gpsd-2.29/work/gpsd-2.29'
make: *** [all] Error 2

!!! ERROR: sci-geosciences/gpsd-2.29 failed.
!!! Function src_compile, Line 37, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.


Reproducible: Always
Steps to Reproduce:
emerge =sci-geosciences/gpsd-2.29



LDFLAGS="-lm" emerge gpsd fixes this problem

Portage 2.0.52-r1 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r1,
2.6.13-gentoo x86_64)
=================================================================
System uname: 2.6.13-gentoo x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.0_pre8
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.4.1-r1
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -ftracer -fweb -frename-registers -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c
/etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -ftracer -fweb -frename-registers -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.llarian.net/pub/gentoo
http://mirror.datapipe.net/gentoo http://gentoo.mirrors.tds.net/gentoo
http://modzer0.cs.uaf.edu/public/gentoo/ http://gentoo.arcticnetwork.ca/"
LDFLAGS="-Wl,-O2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 3ds 4kstacks X X509 a52 aac acl acpi alsa audiofile avi
bash-completion bcmath berkdb bitmap-fonts bonobo bzip2 cairo calendar caps cdda
cddb cdio cdparanoia cdr crypt cups curl curlwrappers dbus dts dv dvd dvdr
dvdread eds emboss encode erandom ethereal evo exif fbcon ffmpeg firefox flac
flash foomaticdb fortran freetype ftp fuse gb gd gd-external gdbm gif gimpprint
gmp gnome gnomedb gnutls gphoto2 gpm gps gstreamer gtk gtk2 gtkhtml guile hal
howl ieee1394 imagemagick imap imlib innodb ipv6 jabber jack java joystick jpeg
lcms ldap libgda libwww lirc lm_sensors lzo lzw lzw-tiff mad mcal mikmod mime
mmap mng mozilla mozsha1 mp3 mpeg mpeg2 mysql mysqli nautilus ncurses network
nptl nptlonly nvidia odbc offensive ogg oggvorbis opengl pam pcmcia pcre pda
pdflib perl pic png posix ppds print python quicktime readline recode rtc samba
sasl scanner sdl shared sharedmem slang snmp soap sockets speex spell sqlite ssl
svg sysvipc szip tcpd tetex theora threads tidy tiff truetype truetype-fonts
type1-fonts unicode usb utf8 v4l2 vcd vorbis wmf xinerama xml xml2 xmlrpc xmms
xosd xpm xscreensaver xsl xv xvid xvmc zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS, MAKEOPTS
Comment 1 Steve Arnold archtester gentoo-dev 2005-09-19 22:48:10 UTC
Extra LDFLAGS added (why it needs them, I have no idea...)