1 |
On Wed, 2007-11-07 at 10:12 -0800, Ned Ludd wrote: |
2 |
> On Wed, 2007-11-07 at 11:28 +0100, Natanael Copa wrote: |
3 |
> |
4 |
> > kismet has another bug though. A missing -lm in LDFLAGS. |
5 |
> > testate.o getopt.o tcpserver.o server_protocols.o server_globals.o |
6 |
> > kismet_server.o -luClibc++ -lpcap |
7 |
> > iwcontrol.o: In function `IwFreq2Float(iwreq*)': |
8 |
> > iwcontrol.cc:(.text+0x36): undefined reference to `pow' |
9 |
> > iwcontrol.o: In function `IwFloat2Freq(double, iw_freq*)': |
10 |
> > iwcontrol.cc:(.text+0xb8): undefined reference to `log10' |
11 |
> > iwcontrol.cc:(.text+0xc0): undefined reference to `floor' |
12 |
> |
13 |
> This libmath seems to be a reoccurring problem with uClibc++ |
14 |
|
15 |
it is |
16 |
|
17 |
> Maybe adding '-Wl,--as-needed -lm -Wl,--no-as-needed' to global |
18 |
> ldlags might let ya work around that w/o having to touch the ebuilds. |
19 |
|
20 |
Didnt work. Wouldnt that link all programs to libm? |
21 |
|
22 |
Its a bug in upstream package anyway. They should add -lm. I think I |
23 |
have seen an autotools macor for it but i cant find it again. |
24 |
|
25 |
-nc |
26 |
|
27 |
|
28 |
-- |
29 |
gentoo-embedded@g.o mailing list |