Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Dec 2010 14:30:25 -0600
From:      Troy <troy@twisted.net>
To:        freebsd-ports@freebsd.org, lofi@freebsd.org
Subject:   qt4-pixeltool4.7.1  build error
Message-ID:  <4D1A48E1.8020104@twisted.net>

next in thread | raw e-mail | index | archive | help

Tried to build qt4-pixeltool and ran into the following error.


===>  Building for qt4-pixeltool-4.7.1
"/usr/ports/graphics/qt4-pixeltool/work/qt-everywhere-opensource-src-4.7.1/bin/qmake"  
-spec /usr/local/share/qt4/mkspecs/freebsd-g++ -o 
"/usr/ports/graphics/qt4-pixeltool/work/qt-everywhere-opensource-src-4.7.1/./tools/pixeltool" 
"/usr/ports/graphics/qt4-pixeltool/work/qt-everywhere-opensource-src-4.7.1/tools/pixeltool/pixeltool.pro"
cd 
"/usr/ports/graphics/qt4-pixeltool/work/qt-everywhere-opensource-src-4.7.1/./tools/pixeltool"
make first
/usr/ports/graphics/qt4-pixeltool/work/qt-everywhere-opensource-src-4.7.1/bin/moc 
-DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB 
-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_SHARED 
-I/usr/local/share/qt4/mkspecs/freebsd-g++ -I. -I../../include/QtCore 
-I../../include/QtNetwork -I../../include/QtGui -I../../include -I. 
-I.moc/release-shared -I/usr/local/include qpixeltool.h -o 
.moc/release-shared/moc_qpixeltool.cpp
g++ -c -O2 -pipe -fno-strict-aliasing -O2 -Wall -W -DQT_NO_DEBUG 
-DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE 
-D_LARGEFILE_SOURCE -DQT_SHARED 
-I/usr/local/share/qt4/mkspecs/freebsd-g++ -I. -I../../include/QtCore 
-I../../include/QtNetwork -I../../include/QtGui -I../../include -I. 
-I.moc/release-shared -I/usr/local/include -o .obj/release-shared/main.o 
main.cpp
g++ -c -O2 -pipe -fno-strict-aliasing -O2 -Wall -W -DQT_NO_DEBUG 
-DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE 
-D_LARGEFILE_SOURCE -DQT_SHARED 
-I/usr/local/share/qt4/mkspecs/freebsd-g++ -I. -I../../include/QtCore 
-I../../include/QtNetwork -I../../include/QtGui -I../../include -I. 
-I.moc/release-shared -I/usr/local/include -o 
.obj/release-shared/qpixeltool.o qpixeltool.cpp
g++ -c -O2 -pipe -fno-strict-aliasing -O2 -Wall -W -DQT_NO_DEBUG 
-DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE 
-D_LARGEFILE_SOURCE -DQT_SHARED 
-I/usr/local/share/qt4/mkspecs/freebsd-g++ -I. -I../../include/QtCore 
-I../../include/QtNetwork -I../../include/QtGui -I../../include -I. 
-I.moc/release-shared -I/usr/local/include -o 
.obj/release-shared/moc_qpixeltool.o .moc/release-shared/moc_qpixeltool.cpp
g++ 
-Wl,-rpath-link,/usr/ports/graphics/qt4-pixeltool/work/qt-everywhere-opensource-src-4.7.1/lib 
-Wl,-O1 -pthread -Wl,-rpath,/usr/local/lib/qt4 
-Wl,-rpath,/usr/local/lib/qt4 -o ../../bin/pixeltool 
.obj/release-shared/main.o  .obj/release-shared/qpixeltool.o  
.obj/release-shared/moc_qpixeltool.o    -L/usr/local/lib/qt4 
-L/usr/ports/graphics/qt4-pixeltool/work/qt-everywhere-opensource-src-4.7.1/lib 
-L/usr/local/lib -lQtGui -L/usr/local/lib/qt4 -L/usr/local/lib 
-lQtNetwork -lQtCore
/usr/local/lib/qt4/libQtNetwork.so: undefined reference to 
`QListData::detach_grow(int*, int)'
/usr/local/lib/qt4/libQtNetwork.so: undefined reference to 
`QListData::detach(int)'
/usr/local/lib/qt4/libQtNetwork.so: undefined reference to 
`QIODevicePrivate::peek(char*, long long)'
/usr/local/lib/qt4/libQtNetwork.so: undefined reference to 
`QIODevicePrivate::peek(long long)'
/usr/local/lib/qt4/libQtNetwork.so: undefined reference to 
`QElapsedTimer::elapsed() const'
/usr/local/lib/qt4/libQtNetwork.so: undefined reference to 
`QMetaType::registerTypedef(char const*, int)'
/usr/local/lib/qt4/libQtNetwork.so: undefined reference to 
`qDecodeDataUrl(QUrl const&)'
/usr/local/lib/qt4/libQtNetwork.so: undefined reference to 
`QElapsedTimer::start()'
/usr/local/lib/qt4/libQtNetwork.so: undefined reference to 
`QElapsedTimer::hasExpired(long long) const'
*** Error code 1
1 error
*** Error code 2
1 error
*** Error code 1

Stop in /usr/ports/graphics/qt4-pixeltool.
** Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portupgrade20101228-72604-1b9ni8p-0 env UPGRADE_TOOL=portupgrade 
UPGRADE_PORT=qt4-pixeltool-4.6.3 UPGRADE_PORT_VER=4.6.3 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
         ! graphics/qt4-pixeltool (qt4-pixeltool-4.6.3)  (linker error)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D1A48E1.8020104>