|
楼主 |
发表于 2007-3-28 01:21:56
|
显示全部楼层
错误如下:
[root@MagicLinux HuaweiClient]# qmake
[root@MagicLinux HuaweiClient]# make
/usr/lib/qt-3.3/bin/uic HuaweiClientDialog.ui -o HuaweiClientDialog.h
g++ -c -pipe -Wall -W -O2 -g -pipe -D_FORTIFY_SOURCE=2 -m32 -march=i686 -mcpu=i686 -mtune=i686 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/usr/lib/qt-3.3/mkspecs/default -I. -I/usr/lib/qt-3.3/include -o md5.o md5.cpp
md5.cpp:291:2: warning: no newline at end of file
g++ -c -pipe -Wall -W -O2 -g -pipe -D_FORTIFY_SOURCE=2 -m32 -march=i686 -mcpu=i686 -mtune=i686 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/usr/lib/qt-3.3/mkspecs/default -I. -I/usr/lib/qt-3.3/include -o networkoperation.o networkoperation.cpp
In file included from networkoperation.h:31,
from networkoperation.cpp:20:
global.h:44: warning: malformed '#pragma pack(push[, id], <n>)' - ignored
global.h:120: warning: #pragma pack (pop) encountered without matching #pragma pack (push, <n>)
networkoperation.cpp: In function `int NetworkOperation::GetSystemInterfaceInfo(InterfaceInfo*)':
networkoperation.cpp:45: warning: unused variable 'intrface'
networkoperation.cpp:45: warning: unused variable 'retn'
networkoperation.cpp:47: warning: unused variable 'arp'
networkoperation.cpp: In member function `bool NetworkOperation::HuaweiNetwork::SendLogin()':
networkoperation.cpp:385: error: `pcap_sendpacket' undeclared (first use this function)
networkoperation.cpp:385: error: (Each undeclared identifier is reported only once for each function it appears in.)
networkoperation.cpp: In member function `bool NetworkOperation::HuaweiNetwork::SendLogout()':
networkoperation.cpp:403: error: `pcap_sendpacket' undeclared (first use this function)
networkoperation.cpp: In member function `bool NetworkOperation::HuaweiNetwork::SendVersion(unsigned char)':
networkoperation.cpp:440: error: `pcap_sendpacket' undeclared (first use this function)
networkoperation.cpp: In member function `bool NetworkOperation::HuaweiNetwork::SendUsername(unsigned char)':
networkoperation.cpp:467: error: `pcap_sendpacket' undeclared (first use this function)
networkoperation.cpp: In member function `bool NetworkOperation::HuaweiNetwork::SendPassword(unsigned char, const unsigned char*)':
networkoperation.cpp:492: error: `pcap_sendpacket' undeclared (first use this function)
networkoperation.cpp: In member function `bool NetworkOperation::HuaweiNetwork::SendKeeponline(unsigned char)':
networkoperation.cpp:520: error: `pcap_sendpacket' undeclared (first use this function)
networkoperation.cpp: At global scope:
networkoperation.cpp:414: warning: unused parameter 'Id'
make: *** [networkoperation.o] 错误 1
恳请主席阁下耐心教我(新装的ML),苦等...... |
|