Evo ovako izgleda kada pokrenem komnadu make prilikom kompajliranja kwlana
Makefile:851: warning: overriding commands for target `clean-bcheck'
Makefile:814: warning: ignoring old commands for target `clean-bcheck'
Makefile:856: warning: overriding commands for target `bcheck-am'
Makefile:819: warning: ignoring old commands for target `bcheck-am'
make all-recursive
make[1]: Entering directory `/home/igor/Download/kwlan-0.5.4'
Makefile:851: warning: overriding commands for target `clean-bcheck'
Makefile:814: warning: ignoring old commands for target `clean-bcheck'
Makefile:856: warning: overriding commands for target `bcheck-am'
Makefile:819: warning: ignoring old commands for target `bcheck-am'
Making all in doc
make[2]: Entering directory `/home/igor/Download/kwlan-0.5.4/doc'
Making all in .
make[3]: Entering directory `/home/igor/Download/kwlan-0.5.4/doc'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/igor/Download/kwlan-0.5.4/doc'
Making all in en
make[3]: Entering directory `/home/igor/Download/kwlan-0.5.4/doc/en'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/igor/Download/kwlan-0.5.4/doc/en'
make[2]: Leaving directory `/home/igor/Download/kwlan-0.5.4/doc'
Making all in po
make[2]: Entering directory `/home/igor/Download/kwlan-0.5.4/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/igor/Download/kwlan-0.5.4/po'
Making all in src
make[2]: Entering directory `/home/igor/Download/kwlan-0.5.4/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/qt3//include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -MT wlanlib.o -MD -MP -MF ".deps/wlanlib.Tpo" -c -o wlanlib.o wlanlib.cpp; \
then mv -f ".deps/wlanlib.Tpo" ".deps/wlanlib.Po"; else rm -f ".deps/wlanlib.Tpo"; exit 1; fi
wlanlib.cpp:11:20: error: iwlib.h: No such file or directory
wlanlib.cpp: In function ‘QStringList getInterfaces()’:
wlanlib.cpp:25: error: aggregate ‘ifconf ifc’ has incomplete type and cannot be defined
wlanlib.cpp:43: error: ‘IFNAMSIZ’ was not declared in this scope
wlanlib.cpp:51: error: ‘name’ was not declared in this scope
wlanlib.cpp:59: error: ‘name’ was not declared in this scope
wlanlib.cpp:74: error: ‘iw_sockets_open’ was not declared in this scope
wlanlib.cpp:86: error: invalid application of ‘sizeof’ to incomplete type ‘ifreq’
wlanlib.cpp:86: error: cannot increment a pointer to incomplete type ‘ifreq’
wlanlib.cpp:87: error: invalid use of undefined type ‘struct ifreq’
wlanlib.cpp:26: error: forward declaration of ‘struct ifreq’
wlanlib.cpp: In function ‘QStringList getWiredInterfaces()’:
wlanlib.cpp:98: error: aggregate ‘ifconf ifc’ has incomplete type and cannot be defined
wlanlib.cpp:116: error: ‘IFNAMSIZ’ was not declared in this scope
wlanlib.cpp:124: error: ‘name’ was not declared in this scope
wlanlib.cpp:132: error: ‘name’ was not declared in this scope
wlanlib.cpp:98: warning: unused variable ‘ifc’
wlanlib.cpp:99: warning: unused variable ‘ifr’
wlanlib.cpp:100: warning: unused variable ‘i’
wlanlib.cpp:101: warning: unused variable ‘skfd’
wlanlib.cpp: In constructor ‘IwLib::IwLib(const QString&)’:
wlanlib.cpp:150: error: ‘iw_sockets_open’ was not declared in this scope
wlanlib.cpp: In destructor ‘virtual IwLib::~IwLib()’:
wlanlib.cpp:155: error: ‘iw_sockets_close’ was not declared in this scope
wlanlib.cpp: In member function ‘int IwLib::getQuality()’:
wlanlib.cpp:160: error: ‘iw_range’ was not declared in this scope
wlanlib.cpp:160: error: expected `;' before ‘range’
wlanlib.cpp:161: error: ‘iw_statistics’ was not declared in this scope
wlanlib.cpp:161: error: expected `;' before ‘stats’
wlanlib.cpp:164: error: ‘range’ was not declared in this scope
wlanlib.cpp:164: error: ‘iw_get_range_info’ was not declared in this scope
wlanlib.cpp:168: error: ‘stats’ was not declared in this scope
wlanlib.cpp:168: error: ‘range’ was not declared in this scope
wlanlib.cpp:168: error: ‘iw_get_stats’ was not declared in this scope
wlanlib.cpp: In member function ‘QString IwLib::getBitrate()’:
wlanlib.cpp:175: error: aggregate ‘iwreq wrq’ has incomplete type and cannot be defined
wlanlib.cpp:178: error: ‘SIOCGIWRATE’ was not declared in this scope
wlanlib.cpp:178: error: ‘iw_get_ext’ was not declared in this scope
wlanlib.cpp:180: error: ‘iw_print_bitrate’ was not declared in this scope
wlanlib.cpp: In member function ‘QString IwLib::getESSID()’:
wlanlib.cpp:188: error: aggregate ‘iwreq wrq’ has incomplete type and cannot be defined
wlanlib.cpp:189: error: ‘IW_ESSID_MAX_SIZE’ was not declared in this scope
wlanlib.cpp:192: error: ‘buffer’ was not declared in this scope
wlanlib.cpp:194: error: ‘SIOCGIWESSID’ was not declared in this scope
wlanlib.cpp:194: error: ‘iw_get_ext’ was not declared in this scope
wlanlib.cpp: In member function ‘bool IwLib::setWepAuth(int)’:
wlanlib.cpp:201: error: aggregate ‘iwreq wrq’ has incomplete type and cannot be defined
wlanlib.cpp:206: error: ‘SIOCSIWENCODE’ was not declared in this scope
wlanlib.cpp:206: error: ‘iw_set_ext’ was not declared in this scope
wlanlib.cpp: In member function ‘QString IwLib::getESSID()’:
wlanlib.cpp:198: warning: control reaches end of non-void function
wlanlib.h: At global scope:
wlanlib.h:86: warning: ‘int str_match(const char*, const char*)’ defined but not used
wlanlib.h:93: warning: ‘void kwlan_msg_cb(char*, size_t)’ defined but not used
make[2]: *** [wlanlib.o] Error 1
make[2]: Leaving directory `/home/igor/Download/kwlan-0.5.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/igor/Download/kwlan-0.5.4'
make: *** [all] Error 2
Jo smrtnici!