compilation on fedora 64-bit
Posted: Thu Jan 24, 2013 12:50 pm
Hi,
I've tried to install geopsy on a Fedora 17 64-bit system, however I can't compile nor the testing 2.5.0 version nor the current development package.
The Qt version is:
qmake -v
QMake version 2.01a
Using Qt version 4.8.4 in /usr/lib64
With the testing version I got the following error:
g++ -c -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -O2 -Wall -W -D_REENTRANT -fPIC -DMAKE_QGPCORETOOLS_DLL -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include -Isrc -Iui -I../include -Irelease -o release/Leds.o src/Leds.cpp
src/Leds.cpp: In member function ‘bool QGpCoreTools::Leds::test(int)’:
src/Leds.cpp:82:26: error: ‘read’ was not declared in this scope
src/Leds.cpp:83:15: error: ‘close’ was not declared in this scope
src/Leds.cpp:86:13: error: ‘close’ was not declared in this scope
src/Leds.cpp: In member function ‘void QGpCoreTools::Leds::setTrigger(int, const char*)’:
src/Leds.cpp:128:33: error: ‘write’ was not declared in this scope
src/Leds.cpp:129:13: error: ‘close’ was not declared in this scope
src/Leds.cpp: In member function ‘void QGpCoreTools::Leds::powerInternal(int, bool)’:
src/Leds.cpp:140:32: error: ‘write’ was not declared in this scope
src/Leds.cpp:141:13: error: ‘close’ was not declared in this scope
src/Leds.cpp: In member function ‘void QGpCoreTools::Leds::setDelayOn(int, int)’:
src/Leds.cpp:154:31: error: ‘write’ was not declared in this scope
src/Leds.cpp:155:13: error: ‘close’ was not declared in this scope
src/Leds.cpp: In member function ‘void QGpCoreTools::Leds::setDelayOff(int, int)’:
src/Leds.cpp:168:31: error: ‘write’ was not declared in this scope
src/Leds.cpp:169:13: error: ‘close’ was not declared in this scope
make[2]: *** [release/Leds.o] Error 1
make[2]: Leaving directory `/home/data/geopsy/src/geopsypack-57items-src-2.5.0/QGpCoreTools'
make[1]: *** [release] Error 2
make[1]: Leaving directory `/home/data/geopsy/src/geopsypack-57items-src-2.5.0/QGpCoreTools'
make: *** [sub-QGpCoreTools-make_default-ordered] Error 2
with the development version this one:
g++ -c -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -O2 -Wall -W -fPIC -DMAKE_GPCORETOOLS_DLL -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -Isrc -Iui -I../include -o release/CoreApplication.o src/CoreApplication.cpp
src/CoreApplication.cpp: In static member function ‘static void GpCoreTools::CoreApplication::osSignal(int)’:
src/CoreApplication.cpp:137:16: error: ‘sleep’ was not declared in this scope
src/CoreApplication.cpp: In member function ‘void GpCoreTools::CoreApplication::terminalSize() const’:
src/CoreApplication.cpp:357:14: error: ‘STDOUT_FILENO’ was not declared in this scope
src/CoreApplication.cpp:358:14: error: ‘STDERR_FILENO’ was not declared in this scope
src/CoreApplication.cpp:359:14: error: ‘STDIN_FILENO’ was not declared in this scope
src/CoreApplication.cpp:363:7: error: ‘::close’ has not been declared
make[2]: *** [release/CoreApplication.o] Error 1
make[2]: Leaving directory `/home/data/geopsy/src/geopsypack-66items-src-0.0.0-snapshot-20130122/GpCoreTools'
make[1]: *** [release] Error 2
make[1]: Leaving directory `/home/data/geopsy/src/geopsypack-66items-src-0.0.0-snapshot-20130122/GpCoreTools'
make: *** [sub-GpCoreTools-make_default-ordered] Error 2
Does anybody know, where the problem is?
Thank you.
I've tried to install geopsy on a Fedora 17 64-bit system, however I can't compile nor the testing 2.5.0 version nor the current development package.
The Qt version is:
qmake -v
QMake version 2.01a
Using Qt version 4.8.4 in /usr/lib64
With the testing version I got the following error:
g++ -c -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -O2 -Wall -W -D_REENTRANT -fPIC -DMAKE_QGPCORETOOLS_DLL -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include -Isrc -Iui -I../include -Irelease -o release/Leds.o src/Leds.cpp
src/Leds.cpp: In member function ‘bool QGpCoreTools::Leds::test(int)’:
src/Leds.cpp:82:26: error: ‘read’ was not declared in this scope
src/Leds.cpp:83:15: error: ‘close’ was not declared in this scope
src/Leds.cpp:86:13: error: ‘close’ was not declared in this scope
src/Leds.cpp: In member function ‘void QGpCoreTools::Leds::setTrigger(int, const char*)’:
src/Leds.cpp:128:33: error: ‘write’ was not declared in this scope
src/Leds.cpp:129:13: error: ‘close’ was not declared in this scope
src/Leds.cpp: In member function ‘void QGpCoreTools::Leds::powerInternal(int, bool)’:
src/Leds.cpp:140:32: error: ‘write’ was not declared in this scope
src/Leds.cpp:141:13: error: ‘close’ was not declared in this scope
src/Leds.cpp: In member function ‘void QGpCoreTools::Leds::setDelayOn(int, int)’:
src/Leds.cpp:154:31: error: ‘write’ was not declared in this scope
src/Leds.cpp:155:13: error: ‘close’ was not declared in this scope
src/Leds.cpp: In member function ‘void QGpCoreTools::Leds::setDelayOff(int, int)’:
src/Leds.cpp:168:31: error: ‘write’ was not declared in this scope
src/Leds.cpp:169:13: error: ‘close’ was not declared in this scope
make[2]: *** [release/Leds.o] Error 1
make[2]: Leaving directory `/home/data/geopsy/src/geopsypack-57items-src-2.5.0/QGpCoreTools'
make[1]: *** [release] Error 2
make[1]: Leaving directory `/home/data/geopsy/src/geopsypack-57items-src-2.5.0/QGpCoreTools'
make: *** [sub-QGpCoreTools-make_default-ordered] Error 2
with the development version this one:
g++ -c -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -O2 -Wall -W -fPIC -DMAKE_GPCORETOOLS_DLL -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -Isrc -Iui -I../include -o release/CoreApplication.o src/CoreApplication.cpp
src/CoreApplication.cpp: In static member function ‘static void GpCoreTools::CoreApplication::osSignal(int)’:
src/CoreApplication.cpp:137:16: error: ‘sleep’ was not declared in this scope
src/CoreApplication.cpp: In member function ‘void GpCoreTools::CoreApplication::terminalSize() const’:
src/CoreApplication.cpp:357:14: error: ‘STDOUT_FILENO’ was not declared in this scope
src/CoreApplication.cpp:358:14: error: ‘STDERR_FILENO’ was not declared in this scope
src/CoreApplication.cpp:359:14: error: ‘STDIN_FILENO’ was not declared in this scope
src/CoreApplication.cpp:363:7: error: ‘::close’ has not been declared
make[2]: *** [release/CoreApplication.o] Error 1
make[2]: Leaving directory `/home/data/geopsy/src/geopsypack-66items-src-0.0.0-snapshot-20130122/GpCoreTools'
make[1]: *** [release] Error 2
make[1]: Leaving directory `/home/data/geopsy/src/geopsypack-66items-src-0.0.0-snapshot-20130122/GpCoreTools'
make: *** [sub-GpCoreTools-make_default-ordered] Error 2
Does anybody know, where the problem is?
Thank you.