Kismet Wireless

Kismet Forums

 

Posted by:dragorn
Subject:Missing rindex
Date:23:36:45 30/08/2009

> i had the following error when i tried to build kismet 2009 06 R1
> do i need additional dependencies?
>
> greetings from switzerland
>
> /emb/buildroot/build_i586/staging_dir/usr/bin/i586-linux-uclibc-g++ -Os -pipe -Os -I/emb/buildroot/build_i586/staging_dir/usr/include -I/emb/buildroot/build_i586/staging_dir/include --sysroot=/emb/buildroot/build_i586/staging_dir/ -isysroot /emb/buildroot/build_i586/staging_dir -mtune=geode -march=geode -I/usr/include/ncurses -Wall -g -O2 -c ifcontrol.cc -o ifcontrol.o
> ifcontrol.cc: In function ‘std::string Linux_GetSysDrv(const char*)’:
> ifcontrol.cc:151: error: ‘rindex’ was not declared in this scope
> make: *** [ifcontrol.o] Fehler 1

Get the SVN version.

You've got an apparently odd (since others using uclibc haven't reported this) version of uclibc, but explicitly including strings.h ought to fix it.

-m


Reply to this message