Gentoo Archives: gentoo-embedded

From: Natanael Copa <natanael.copa@×××××.com>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] libstdc++ / uclibc++ confusion
Date: Wed, 07 Nov 2007 10:29:48
Message-Id: 1194431323.17849.73.camel@nc.nor.wtbts.org
In Reply to: Re: [gentoo-embedded] libstdc++ / uclibc++ confusion by Ned Ludd
1 On Tue, 2007-11-06 at 13:46 -0800, Ned Ludd wrote:
2 > On Tue, 2007-11-06 at 16:10 -0500, Jason wrote:
3 > > Okay, I'll admit it. I don't like C++. As a result, I don't use it and
4 > > am not familiar with it. I don't want to start a flame, I'm just trying
5 > > to explain why I'm so d*mn confused. :-)
6 > >
7 > > I'm trying to add kismet (written in the aforementioned language) to my
8 > > armeb-softfloat-linux-uclibc system.
9 >
10 >
11 > > I added uclibc++, thinking I
12 > > needed it.
13 >
14 > Unnecessary and often a pain in the rear to attempt to use uclibc++
15 > It requires some serious hacking to make it your default libstdc++
16 > provider.
17
18 setting CXX=g++-uc in /etc/make.conf seems to work in most cases for me,
19 but I don't crosscompile.
20
21 kismet has another bug though. A missing -lm in LDFLAGS.
22 testate.o getopt.o tcpserver.o server_protocols.o server_globals.o
23 kismet_server.o -luClibc++ -lpcap
24 iwcontrol.o: In function `IwFreq2Float(iwreq*)':
25 iwcontrol.cc:(.text+0x36): undefined reference to `pow'
26 iwcontrol.o: In function `IwFloat2Freq(double, iw_freq*)':
27 iwcontrol.cc:(.text+0xb8): undefined reference to `log10'
28 iwcontrol.cc:(.text+0xc0): undefined reference to `floor'
29 ...
30
31
32 -nc
33
34 --
35 gentoo-embedded@g.o mailing list

Replies

Subject Author
Re: [gentoo-embedded] libstdc++ / uclibc++ confusion Ned Ludd <solar@g.o>