Compilation of wpa_gui fail with wpa_supplicant-0.4.5

COLIN Stéphane scolin at tiscali.fr
Tue Oct 11 19:56:33 EDT 2005


Hi all,

I have successfully compiled wpa_supplicant-0.4.5 and all work fine in
terms of functionalities ...

By the way, it look like the wpa_gui was not compiled by default ...

Also i decided to go to the wpa_gui directory and give it a try running make

The compilation fail with error :

bigbob at laptop-mikli:~/tmp/wpa_supplicant-0.4.5/wpa_gui$ make
/usr/lib/qt/bin/uic eventhistory.ui -o .ui/eventhistory.h
/usr/lib/qt/bin/uic scanresults.ui -o .ui/scanresults.h
/usr/lib/qt/bin/uic wpagui.ui -o .ui/wpagui.h
/usr/lib/qt/bin/uic userdatarequest.ui -o .ui/userdatarequest.h
/usr/lib/qt/bin/uic networkconfig.ui -o .ui/networkconfig.h
g++ -c -pipe -Wall -W -O2  -DQT_NO_DEBUG -DQT_SHARED -DQT_THREAD_SUPPORT
-I/usr/lib/qt/mkspecs/default -I. -I.. -I/usr/lib/qt/include -I.ui/ -I.
-I.moc/ -o .obj/main.o main.cpp
gcc -c -pipe -Wall -W -O2  -DQT_NO_DEBUG -DQT_SHARED -DQT_THREAD_SUPPORT
-I/usr/lib/qt/mkspecs/default -I. -I.. -I/usr/lib/qt/include -I.ui/ -I.
-I.moc/ -o .obj/wpa_ctrl.o ../wpa_ctrl.c
/usr/lib/qt/bin/uic wpagui.ui -i wpagui.h -o .ui/wpagui.cpp
g++ -c -pipe -Wall -W -O2  -DQT_NO_DEBUG -DQT_SHARED -DQT_THREAD_SUPPORT
-I/usr/lib/qt/mkspecs/default -I. -I.. -I/usr/lib/qt/include -I.ui/ -I.
-I.moc/ -o .obj/wpagui.o .ui/wpagui.cpp
In file included from .ui/wpagui.cpp:32:
wpagui.ui.h: In member function `void WpaGui::destroy()':
wpagui.ui.h:74: error: `free' undeclared (first use this function)
wpagui.ui.h:74: error: (Each undeclared identifier is reported only once
for
   each function it appears in.)
wpagui.ui.h: In member function `virtual void WpaGui::parse_argv()':
wpagui.ui.h:86: error: `getopt' undeclared (first use this function)
wpagui.ui.h:91: error: `free' undeclared (first use this function)
wpagui.ui.h:92: error: `optarg' undeclared (first use this function)
wpagui.ui.h: In member function `int WpaGui::openCtrlConnection(const
char*)':
wpagui.ui.h:110: error: `free' undeclared (first use this function)
wpagui.ui.h:140: error: `malloc' undeclared (first use this function)
wpagui.ui.h: In member function `virtual void WpaGui::processMsg(char*)':
wpagui.ui.h:505: error: `atoi' undeclared (first use this function)
make: *** [.obj/wpagui.o] Error 1

real    0m3.247s
user    0m2.710s
sys     0m0.470s

Someone have an idea about this error ?

A++

-- 
--------------------------------------------
COLIN Stephane, scolin [at] tiscali [dot] fr
--------------------------------------------



More information about the HostAP mailing list