On Wed, 2007-11-07 at 10:12 -0800, Ned Ludd wrote: > On Wed, 2007-11-07 at 11:28 +0100, Natanael Copa wrote: > > > kismet has another bug though. A missing -lm in LDFLAGS. > > testate.o getopt.o tcpserver.o server_protocols.o server_globals.o > > kismet_server.o -luClibc++ -lpcap > > iwcontrol.o: In function `IwFreq2Float(iwreq*)': > > iwcontrol.cc:(.text+0x36): undefined reference to `pow' > > iwcontrol.o: In function `IwFloat2Freq(double, iw_freq*)': > > iwcontrol.cc:(.text+0xb8): undefined reference to `log10' > > iwcontrol.cc:(.text+0xc0): undefined reference to `floor' > > This libmath seems to be a reoccurring problem with uClibc++
it is > Maybe adding '-Wl,--as-needed -lm -Wl,--no-as-needed' to global > ldlags might let ya work around that w/o having to touch the ebuilds. Didnt work. Wouldnt that link all programs to libm? Its a bug in upstream package anyway. They should add -lm. I think I have seen an autotools macor for it but i cant find it again. -nc -- [EMAIL PROTECTED] mailing list
