[Kflog-user] Compiling problem

Denis Robel denis.robel at gmx.de
Mon Oct 10 20:47:55 CEST 2011


Hallo,

sorry for no answering. I was in vacation without any internet :-)

I use gcc in version 4.5.2 :

gcc --version
gcc (GCC) 4.5.2
Copyright (C) 2010 Free Software Foundation, Inc.
Dies ist freie Software; die Kopierbedingungen stehen in den Quellen. Es
gibt KEINE Garantie; auch nicht für MARKTGÄNGIGKEIT oder FÜR SPEZIELLE ZWECKE.


and  

make -f Makefile.qmake distclean install_test 

runs in following error:


make[2]: Entering directory `/home/robel/Downloads/kflog/trunk/kflog/kfrcai'
g++ -c -pipe -O2 -g -pipe -Wformat -Werror=format-security -Wp,-
D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DPIC -fPIC -O2 
-g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-
protector --param=ssp-buffer-size=4 -DPIC -fPIC -Wall -W -D_REENTRANT -fPIC -
DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -
I/usr/lib/qt4/mkspecs/linux-g++ -I. -I/usr/lib/qt4/include/QtCore -
I/usr/lib/qt4/include/QtGui -I/usr/lib/qt4/include -I. -o cambridge.o 
cambridge.cpp
g++ -c -pipe -O2 -g -pipe -Wformat -Werror=format-security -Wp,-
D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DPIC -fPIC -O2 
-g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-
protector --param=ssp-buffer-size=4 -DPIC -fPIC -Wall -W -D_REENTRANT -fPIC -
DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -
I/usr/lib/qt4/mkspecs/linux-g++ -I. -I/usr/lib/qt4/include/QtCore -
I/usr/lib/qt4/include/QtGui -I/usr/lib/qt4/include -I. -o flightrecorder.o 
flightrecorder.cpp
/usr/lib/qt4/bin/moc -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -
I/usr/lib/qt4/mkspecs/linux-g++ -I. -I/usr/lib/qt4/include/QtCore -
I/usr/lib/qt4/include/QtGui -I/usr/lib/qt4/include -I. cambridge.h -o 
moc_cambridge.cpp
g++ -c -pipe -O2 -g -pipe -Wformat -Werror=format-security -Wp,-
D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DPIC -fPIC -O2 
-g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-
protector --param=ssp-buffer-size=4 -DPIC -fPIC -Wall -W -D_REENTRANT -fPIC -
DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -
I/usr/lib/qt4/mkspecs/linux-g++ -I. -I/usr/lib/qt4/include/QtCore -
I/usr/lib/qt4/include/QtGui -I/usr/lib/qt4/include -I. -o moc_cambridge.o 
moc_cambridge.cpp
rm -f libkfrcai.so.1.0.0 libkfrcai.so libkfrcai.so.1 libkfrcai.so.1.0
g++ -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -
Wl,--enable-new-dtags -Wl,-O1 -shared -Wl,-soname,libkfrcai.so.1 -o 
libkfrcai.so.1.0.0 cambridge.o flightrecorder.o moc_cambridge.o   -L/usr/lib64 
-lQtGui -L/usr/lib64 -L/usr/lib -lQtCore -lpthread
cambridge.o: In function `Cambridge':
/home/robel/Downloads/kflog/trunk/kflog/kfrcai/cambridge.cpp:138: undefined 
reference to `FlightRecorderPluginBase::FlightRecorderPluginBase(QObject*)'
cambridge.o: In function `~Cambridge':
/home/robel/Downloads/kflog/trunk/kflog/kfrcai/cambridge.cpp:174: undefined 
reference to `FlightRecorderPluginBase::~FlightRecorderPluginBase()'
cambridge.o: In function `Cambridge::readWaypoints(QList<Waypoint*>*)':
/home/robel/Downloads/kflog/trunk/kflog/kfrcai/cambridge.cpp:787: undefined 
reference to `WGSPoint::WGSPoint()'
/home/robel/Downloads/kflog/trunk/kflog/kfrcai/cambridge.cpp:787: undefined 
reference to `Waypoint::Waypoint(QString, WGSPoint, int, int, QString, 
QString, QString, Runway::SurfaceType, QPair<unsigned short, unsigned short>, 
float, float, float, bool, QPoint, long, long, unsigned int, double, double, 
QString, unsigned short, long)'
cambridge.o: In function `~Cambridge':
/home/robel/Downloads/kflog/trunk/kflog/kfrcai/cambridge.cpp:174: undefined 
reference to `FlightRecorderPluginBase::~FlightRecorderPluginBase()'
moc_cambridge.o: In function `Cambridge::qt_metacall(QMetaObject::Call, int, 
void**)':
/home/robel/Downloads/kflog/trunk/kflog/kfrcai/moc_cambridge.cpp:64: undefined 
reference to `FlightRecorderPluginBase::qt_metacall(QMetaObject::Call, int, 
void**)'
moc_cambridge.o: In function `Cambridge::qt_metacast(char const*)':
/home/robel/Downloads/kflog/trunk/kflog/kfrcai/moc_cambridge.cpp:59: undefined 
reference to `FlightRecorderPluginBase::qt_metacast(char const*)'
moc_cambridge.o:(.data.rel.ro+0x0): undefined reference to 
`FlightRecorderPluginBase::staticMetaObject'
moc_cambridge.o:(.data.rel.ro._ZTI9Cambridge[typeinfo for Cambridge]+0x10): 
undefined reference to `typeinfo for FlightRecorderPluginBase'
collect2: ld gab 1 als Ende-Status zurück
make[2]: *** [../../release/lib/libkfrcai.so.1.0.0] Fehler 1
make[2]: Leaving directory `/home/robel/Downloads/kflog/trunk/kflog/kfrcai'
make[1]: *** [sub-kflog-kfrcai-all] Fehler 2
make[1]: Leaving directory `/home/robel/Downloads/kflog/trunk'
make: *** [all] Fehler 2



-- 
schönen Gruß aus Fuchshain

Denis


Linux - my life is too short for reboots ...


More information about the Kflog-user mailing list