On 01/27/2014 10:58 PM, David C. Rankin wrote:
On 01/27/2014 10:52 PM, David C. Rankin wrote:
CMakeFiles/keuphoria.kss.dir/Euphoria.cpp.o -o
keuphoria.kss -L/opt/tqt3/lib
-L/opt/trinity/lib -rdynamic /opt/trinity/lib/libtdescreensaver.so.14.0.0
/opt/trinity/lib/libtdeui.so.14.0.0 -lGLU -lGL -lSM -lICE -lX11 -lXext
/opt/trinity/lib/libtdecore.so.14.0.0 /opt/trinity/lib/libDCOP.so.14.0.0
/opt/trinity/lib/libtdefx.so.14.0.0 -ltqt -ltqt-mt -lXrender -lX11 -lc -lz -lidn
-lXcomposite -lICE -lSM -lfreetype -lfontconfig
-Wl,-rpath,/opt/tqt3/lib:/opt/trinity/lib:
More of the cmake -lxss issue?
Nope,
This is stranger than I thought. I have the log from the successful build of
tdeartwork on x86_64 and the g++ and link calls are identical:
x86_64 succeeds:
[ 5%] Building CXX object
tdescreensaver/kdesavers/CMakeFiles/keuphoria.kss.dir/Euphoria.cpp.o
cd /build/tde-tdeartwork/src/build/tdescreensaver/kdesavers && /usr/bin/c++
-DHAVE_CONFIG_H -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector
--param=ssp-buffer-size=4 -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL
-DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include
tqt.h -I/opt/tqt3/include -I/usr/include/tqt -DQT_NO_ASCII_CAST
-DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION
-DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h
-I/build/tde-tdeartwork/src/build/tdescreensaver/kdesavers
-I/build/tde-tdeartwork/src/tdeartwork/tdescreensaver/kdesavers
-I/build/tde-tdeartwork/src/build -I/opt/trinity/include -I/opt/tqt3/include
-I/usr/include/tqt -I/usr/include/libart-2.0 -o
CMakeFiles/keuphoria.kss.dir/Euphoria.cpp.o -c
/build/tde-tdeartwork/src/tdeartwork/tdescreensaver/kdesavers/Euphoria.cpp
Linking CXX executable keuphoria.kss
cd /build/tde-tdeartwork/src/build/tdescreensaver/kdesavers && /usr/bin/cmake -E
cmake_link_script CMakeFiles/keuphoria.kss.dir/link.txt --verbose=1
/usr/bin/c++ -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector
--param=ssp-buffer-size=4 -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL
-DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include
tqt.h -I/opt/tqt3/include -I/usr/include/tqt -DQT_NO_ASCII_CAST
-DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION
-DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h
-Wl,-O1,--sort-common,--as-needed,-z,relro
CMakeFiles/keuphoria.kss.dir/Euphoria.cpp.o -o keuphoria.kss -L/opt/tqt3/lib
-L/opt/trinity/lib -rdynamic /opt/trinity/lib/libtdescreensaver.so.14.0.0
/opt/trinity/lib/libtdeui.so.14.0.0 -lGLU -lGL -lSM -lICE -lX11 -lXext
/opt/trinity/lib/libtdecore.so.14.0.0 /opt/trinity/lib/libDCOP.so.14.0.0
/opt/trinity/lib/libtdefx.so.14.0.0 -ltqt -ltqt-mt -lXrender -lX11 -lc -lz -lidn
-lXcomposite -lICE -lSM -lfreetype -lfontconfig
-Wl,-rpath,/opt/tqt3/lib:/opt/trinity/lib:
make[2]: Leaving directory '/build/tde-tdeartwork/src/build'
/usr/bin/cmake -E cmake_progress_report
/build/tde-tdeartwork/src/build/CMakeFiles 6
[ 5%] Built target keuphoria.kss
i686 fails:
[ 5%] Building CXX object
tdescreensaver/kdesavers/CMakeFiles/keuphoria.kss.dir/Euphoria.cpp.o
cd /build/tde-tdeartwork/src/build/tdescreensaver/kdesavers && /usr/bin/c++
-DHAVE_CONFIG_H -march=i686 -mtune=generic -O2 -pipe -fstack-protector
--param=ssp-buffer-size=4 -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL
-DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include
tqt.h -I/opt/tqt3/include -I/usr/include/tqt -DQT_NO_ASCII_CAST
-DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION
-DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h
-I/build/tde-tdeartwork/src/build/tdescreensaver/kdesavers
-I/build/tde-tdeartwork/src/tdeartwork/tdescreensaver/kdesavers
-I/build/tde-tdeartwork/src/build -I/opt/trinity/include -I/opt/tqt3/include
-I/usr/include/tqt -I/usr/include/libart-2.0 -o
CMakeFiles/keuphoria.kss.dir/Euphoria.cpp.o -c
/build/tde-tdeartwork/src/tdeartwork/tdescreensaver/kdesavers/Euphoria.cpp
Linking CXX executable keuphoria.kss
cd /build/tde-tdeartwork/src/build/tdescreensaver/kdesavers && /usr/bin/cmake -E
cmake_link_script CMakeFiles/keuphoria.kss.dir/link.txt --verbose=1
/usr/bin/c++ -march=i686 -mtune=generic -O2 -pipe -fstack-protector
--param=ssp-buffer-size=4 -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL
-DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include
tqt.h -I/opt/tqt3/include -I/usr/include/tqt -DQT_NO_ASCII_CAST
-DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION
-DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h
-Wl,-O1,--sort-common,--as-needed,-z,relro
CMakeFiles/keuphoria.kss.dir/Euphoria.cpp.o -o keuphoria.kss -L/opt/tqt3/lib
-L/opt/trinity/lib -rdynamic /opt/trinity/lib/libtdescreensaver.so.14.0.0
/opt/trinity/lib/libtdeui.so.14.0.0 -lGLU -lGL -lSM -lICE -lX11 -lXext
/opt/trinity/lib/libtdecore.so.14.0.0 /opt/trinity/lib/libDCOP.so.14.0.0
/opt/trinity/lib/libtdefx.so.14.0.0 -ltqt -ltqt-mt -lXrender -lX11 -lc -lz -lidn
-lXcomposite -lICE -lSM -lfreetype -lfontconfig
-Wl,-rpath,/opt/tqt3/lib:/opt/trinity/lib:
CMakeFiles/keuphoria.kss.dir/Euphoria.cpp.o: In function
`EuphoriaWidget::staticMetaObject()':
Euphoria.cpp:(.text+0x389): undefined reference to `TQGLWidget::staticMetaObject()'
CMakeFiles/keuphoria.kss.dir/Euphoria.cpp.o: In function
`EuphoriaWidget::~EuphoriaWidget()':
Euphoria.cpp:(.text+0xd45): undefined reference to `TQGLWidget::~TQGLWidget()'
CMakeFiles/keuphoria.kss.dir/Euphoria.cpp.o: In function
`EuphoriaWidget::EuphoriaWidget(TQWidget*, char const*)':
Euphoria.cpp:(.text+0x2b5e): undefined reference to
`TQGLWidget::TQGLWidget(TQWidget*, char const*, TQGLWidget const*, unsigned int)'
Euphoria.cpp:(.text+0x2c0c): undefined reference to `TQGLWidget::~TQGLWidget()'
CMakeFiles/keuphoria.kss.dir/Euphoria.cpp.o: In function
`EuphoriaWidget::~EuphoriaWidget()':
Euphoria.cpp:(.text+0xcf8): undefined reference to `TQGLWidget::~TQGLWidget()'
CMakeFiles/keuphoria.kss.dir/Euphoria.cpp.o: In function
`EuphoriaWidget::tqt_cast(char const*)':
Euphoria.cpp:(.text+0x32cb): undefined reference to `TQGLWidget::tqt_cast(char
const*)'
CMakeFiles/keuphoria.kss.dir/Euphoria.cpp.o: In function
`EuphoriaWidget::tqt_invoke(int, TQUObject*)':
Euphoria.cpp:(.text+0x331f): undefined reference to `TQGLWidget::tqt_invoke(int,
TQUObject*)'
CMakeFiles/keuphoria.kss.dir/Euphoria.cpp.o: In function
`EuphoriaWidget::tqt_emit(int, TQUObject*)':
Euphoria.cpp:(.text+0x3341): undefined reference to `TQGLWidget::tqt_emit(int,
TQUObject*)'
CMakeFiles/keuphoria.kss.dir/Euphoria.cpp.o: In function
`EuphoriaWidget::tqt_property(int, int, TQVariant*)':
Euphoria.cpp:(.text+0x3351): undefined reference to
`TQGLWidget::tqt_property(int, int, TQVariant*)'
CMakeFiles/keuphoria.kss.dir/Euphoria.cpp.o:(.rodata._ZTI14EuphoriaWidget[_ZTI14EuphoriaWidget]+0x8):
undefined reference to `typeinfo for TQGLWidget'
CMakeFiles/keuphoria.kss.dir/Euphoria.cpp.o:(.rodata._ZTV14EuphoriaWidget[_ZTV14EuphoriaWidget]+0xac):
undefined reference to `TQGLWidget::setMouseTracking(bool)'
CMakeFiles/keuphoria.kss.dir/Euphoria.cpp.o:(.rodata._ZTV14EuphoriaWidget[_ZTV14EuphoriaWidget]+0x108):
undefined reference to `TQGLWidget::reparent(TQWidget*, unsigned int, TQPoint
const&, bool)'
CMakeFiles/keuphoria.kss.dir/Euphoria.cpp.o:(.rodata._ZTV14EuphoriaWidget[_ZTV14EuphoriaWidget]+0x148):
undefined reference to `TQGLWidget::paintEvent(TQPaintEvent*)'
CMakeFiles/keuphoria.kss.dir/Euphoria.cpp.o:(.rodata._ZTV14EuphoriaWidget[_ZTV14EuphoriaWidget]+0x150):
undefined reference to `TQGLWidget::resizeEvent(TQResizeEvent*)'
CMakeFiles/keuphoria.kss.dir/Euphoria.cpp.o:(.rodata._ZTV14EuphoriaWidget[_ZTV14EuphoriaWidget]+0x1c4):
undefined reference to `TQGLWidget::makeCurrent()'
CMakeFiles/keuphoria.kss.dir/Euphoria.cpp.o:(.rodata._ZTV14EuphoriaWidget[_ZTV14EuphoriaWidget]+0x1c8):
undefined reference to `TQGLWidget::swapBuffers()'
CMakeFiles/keuphoria.kss.dir/Euphoria.cpp.o:(.rodata._ZTV14EuphoriaWidget[_ZTV14EuphoriaWidget]+0x1cc):
undefined reference to `TQGLWidget::setFormat(TQGLFormat const&)'
CMakeFiles/keuphoria.kss.dir/Euphoria.cpp.o:(.rodata._ZTV14EuphoriaWidget[_ZTV14EuphoriaWidget]+0x1d0):
undefined reference to `TQGLWidget::setContext(TQGLContext*, TQGLContext const*,
bool)'
CMakeFiles/keuphoria.kss.dir/Euphoria.cpp.o:(.rodata._ZTV14EuphoriaWidget[_ZTV14EuphoriaWidget]+0x1d4):
undefined reference to `TQGLWidget::renderPixmap(int, int, bool)'
CMakeFiles/keuphoria.kss.dir/Euphoria.cpp.o:(.rodata._ZTV14EuphoriaWidget[_ZTV14EuphoriaWidget]+0x1d8):
undefined reference to `TQGLWidget::grabFrameBuffer(bool)'
CMakeFiles/keuphoria.kss.dir/Euphoria.cpp.o:(.rodata._ZTV14EuphoriaWidget[_ZTV14EuphoriaWidget]+0x1dc):
undefined reference to `TQGLWidget::makeOverlayCurrent()'
CMakeFiles/keuphoria.kss.dir/Euphoria.cpp.o:(.rodata._ZTV14EuphoriaWidget[_ZTV14EuphoriaWidget]+0x1e0):
undefined reference to `TQGLWidget::updateGL()'
CMakeFiles/keuphoria.kss.dir/Euphoria.cpp.o:(.rodata._ZTV14EuphoriaWidget[_ZTV14EuphoriaWidget]+0x1e4):
undefined reference to `TQGLWidget::updateOverlayGL()'
CMakeFiles/keuphoria.kss.dir/Euphoria.cpp.o:(.rodata._ZTV14EuphoriaWidget[_ZTV14EuphoriaWidget]+0x1f4):
undefined reference to `TQGLWidget::initializeOverlayGL()'
CMakeFiles/keuphoria.kss.dir/Euphoria.cpp.o:(.rodata._ZTV14EuphoriaWidget[_ZTV14EuphoriaWidget]+0x1f8):
undefined reference to `TQGLWidget::resizeOverlayGL(int, int)'
CMakeFiles/keuphoria.kss.dir/Euphoria.cpp.o:(.rodata._ZTV14EuphoriaWidget[_ZTV14EuphoriaWidget]+0x1fc):
undefined reference to `TQGLWidget::paintOverlayGL()'
CMakeFiles/keuphoria.kss.dir/Euphoria.cpp.o:(.rodata._ZTV14EuphoriaWidget[_ZTV14EuphoriaWidget]+0x200):
undefined reference to `TQGLWidget::glInit()'
CMakeFiles/keuphoria.kss.dir/Euphoria.cpp.o:(.rodata._ZTV14EuphoriaWidget[_ZTV14EuphoriaWidget]+0x204):
undefined reference to `TQGLWidget::glDraw()'
collect2: error: ld returned 1 exit status
tdescreensaver/kdesavers/CMakeFiles/keuphoria.kss.dir/build.make:109: recipe for
target 'tdescreensaver/kdesavers/keuphoria.kss' failed
I need help on this one...
--
David C. Rankin, J.D.,P.E.