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 |