|
|

楼主 |
发表于 2006-5-15 11:00:44
|
显示全部楼层
Post by bigcat00
昏……0.0.5版的编译不过去了……还是RH9、2.6.16-RC6-MM2
- [bigcat@grand-ocean feidian-0.0.5c]$ sudo qmake -project
- [bigcat@grand-ocean feidian-0.0.5c]$ sudo qmake
- [bigcat@grand-ocean feidian-0.0.5c]$ sudo make
- g++ -c -pipe -Wall -W -O2 -march=i386 -mcpu=i686 -g -DGLX_GLXEXT_LEGACY -fno-use-cxa-atexit -fno-exceptions -DQT_NO_DEBUG -I/usr/lib/qt-3.1/mkspecs/default -I. -I. -I/usr/lib/qt-3.1/include -o main.o main.cpp
- main.cpp: In member function `int Feidian::scan_port(int*, char*, int, int)':
- main.cpp:445: `::write' undeclared (first use here)
- main.cpp:457: `::close' undeclared (first use here)
- make: *** [main.o] Error 1
复制代码
加头文件
#include <unistd.h>
试试。
试一下0.0.6a,已加该文件。 |
|