Gentoo Archives: gentoo-embedded

From: Ned Ludd <solar@g.o>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] libstdc++ / uclibc++ confusion
Date: Wed, 07 Nov 2007 18:14:08
Message-Id: 1194459128.7852.5.camel@localhost
In Reply to: Re: [gentoo-embedded] libstdc++ / uclibc++ confusion by Natanael Copa
1 On Wed, 2007-11-07 at 11:28 +0100, Natanael Copa wrote:
2
3 > kismet has another bug though. A missing -lm in LDFLAGS.
4 > testate.o getopt.o tcpserver.o server_protocols.o server_globals.o
5 > kismet_server.o -luClibc++ -lpcap
6 > iwcontrol.o: In function `IwFreq2Float(iwreq*)':
7 > iwcontrol.cc:(.text+0x36): undefined reference to `pow'
8 > iwcontrol.o: In function `IwFloat2Freq(double, iw_freq*)':
9 > iwcontrol.cc:(.text+0xb8): undefined reference to `log10'
10 > iwcontrol.cc:(.text+0xc0): undefined reference to `floor'
11
12 This libmath seems to be a reoccurring problem with uClibc++
13 Maybe adding '-Wl,--as-needed -lm -Wl,--no-as-needed' to global
14 ldlags might let ya work around that w/o having to touch the ebuilds.
15
16
17
18 --
19 gentoo-embedded@g.o mailing list

Replies

Subject Author
Re: [gentoo-embedded] libstdc++ / uclibc++ confusion Natanael Copa <natanael.copa@×××××.com>