Qt-interest Archive, January 2007
Qt4 eval - linker error
Message 1 in thread
Hello,
I've been trying to build the following evaluation copy of Qt4 for Unix/Linux
X11:
http://www.trolltech.com/developer/download/qt-x11-eval-src-4.2.2.tar.gz
...but I'm getting a linker error.
Before I continue, here is my system:
bkirk@aika ~/qt4/qt-x11-eval-src-4.2.2 $ uname -a
Linux aika 2.6.15-gentoo-r1 #1 SMP Thu May 4 11:16:49 CDT 2006 i686 Intel(R)
Pentium(R) 4 CPU 2.66GHz GenuineIntel GNU/Linux
I am following the directions in the INSTALL document. Since I'm doing a local
install, I ran the following command:
bkirk@aika ~/qt4/qt-x11-eval-src-4.2.2 $ ./configure -prefix ~/qt4install
At the end of the command completing, it said to run "gmake" and then "gmake
install"
At that point, I ran...
bkirk@aika ~/qt4/qt-x11-eval-src-4.2.2 $ gmake
...but the following error occurred after about 1 hour of compiling...
g++ -c -pipe -g -O2 -Wall -W -D_REENTRANT -DQT_EDITION=QT_EDITION_DESKTOP
-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_GUI_LIB
-DQT_CORE_LIB -DQT_SHARED -I../../../mkspecs/linux-g++ -I.
-I../../../include/QtCore -I../../../include/QtCore -I../../../include/QtGui
-I../../../include/QtGui -I../../../include -I.moc/release-shared
-I.uic/release-shared
-o .obj/release-shared/moc_mainwindow.o .moc/release-shared/moc_mainwindow.cpp
g++ -Wl,-rpath,/home/bkirk/qt4install/lib
-Wl,-rpath,/home/bkirk/qt4install/lib-o
charactermap .obj/release-shared/characterwidget.o .obj/release-shared/mainwindow.o .obj/release-shared/main.o .obj/release-shared/moc_characterwidget.o .obj/release-shared/moc_mainwindow.o
-L/home/bkirk/qt4/qt-x11-eval-src-4.2.2/lib-lQtGui
-L/home/bkirk/qt4/qt-x11-eval-src-4.2.2/lib -L/usr/X11R6/lib -lpng -lSM-lICE
-lXi -lXrender -lXrandr -lXfixes -lXcursor -lXinerama -lfreetype -lfontconfig
-lXext -lX11 -lQtCore -lz -lm -lglib-2.0 -ldl -lpthread
collect2: ld returned 1 exit status
gmake[3]: *** [charactermap] Error 1
gmake[3]: Leaving directory
`/home/bkirk/qt4/qt-x11-eval-src-4.2.2/examples/widgets/charactermap'
gmake[2]: *** [sub-charactermap-make_default] Error 2
gmake[2]: Leaving directory
`/home/bkirk/qt4/qt-x11-eval-src-4.2.2/examples/widgets'
gmake[1]: *** [sub-widgets-make_default] Error 2
gmake[1]: Leaving directory `/home/bkirk/qt4/qt-x11-eval-src-4.2.2/examples'
gmake: *** [sub-examples-make_default-ordered] Error 2
Does anyone have an idea about how to get past/fix this problem?
Regards,
Ben
--
[ signature omitted ]
Message 2 in thread
Nevermind, I figured out what the problem was... lack of disk space. I freed
up some space and it is up and running again!
On Monday 08 January 2007 08:59 am, Ben Kirk wrote:
> Hello,
>
> I've been trying to build the following evaluation copy of Qt4 for
> Unix/Linux X11:
> http://www.trolltech.com/developer/download/qt-x11-eval-src-4.2.2.tar.gz
> ...but I'm getting a linker error.
>
> Before I continue, here is my system:
> bkirk@aika ~/qt4/qt-x11-eval-src-4.2.2 $ uname -a
> Linux aika 2.6.15-gentoo-r1 #1 SMP Thu May 4 11:16:49 CDT 2006 i686
> Intel(R) Pentium(R) 4 CPU 2.66GHz GenuineIntel GNU/Linux
>
> I am following the directions in the INSTALL document. Since I'm doing a
> local install, I ran the following command:
> bkirk@aika ~/qt4/qt-x11-eval-src-4.2.2 $ ./configure -prefix ~/qt4install
> At the end of the command completing, it said to run "gmake" and then
> "gmake install"
>
> At that point, I ran...
>
> bkirk@aika ~/qt4/qt-x11-eval-src-4.2.2 $ gmake
>
> ...but the following error occurred after about 1 hour of compiling...
> g++ -c -pipe -g -O2 -Wall -W -D_REENTRANT -DQT_EDITION=QT_EDITION_DESKTOP
> -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_GUI_LIB
> -DQT_CORE_LIB -DQT_SHARED -I../../../mkspecs/linux-g++ -I.
> -I../../../include/QtCore -I../../../include/QtCore
> -I../../../include/QtGui -I../../../include/QtGui -I../../../include
> -I.moc/release-shared
> -I.uic/release-shared
> -o .obj/release-shared/moc_mainwindow.o
> .moc/release-shared/moc_mainwindow.cpp g++
> -Wl,-rpath,/home/bkirk/qt4install/lib
> -Wl,-rpath,/home/bkirk/qt4install/lib-o
> charactermap .obj/release-shared/characterwidget.o
> .obj/release-shared/mainwindow.o .obj/release-shared/main.o
> .obj/release-shared/moc_characterwidget.o
> .obj/release-shared/moc_mainwindow.o
> -L/home/bkirk/qt4/qt-x11-eval-src-4.2.2/lib-lQtGui
> -L/home/bkirk/qt4/qt-x11-eval-src-4.2.2/lib -L/usr/X11R6/lib -lpng
> -lSM-lICE -lXi -lXrender -lXrandr -lXfixes -lXcursor -lXinerama -lfreetype
> -lfontconfig -lXext -lX11 -lQtCore -lz -lm -lglib-2.0 -ldl -lpthread
> collect2: ld returned 1 exit status
> gmake[3]: *** [charactermap] Error 1
> gmake[3]: Leaving directory
> `/home/bkirk/qt4/qt-x11-eval-src-4.2.2/examples/widgets/charactermap'
> gmake[2]: *** [sub-charactermap-make_default] Error 2
> gmake[2]: Leaving directory
> `/home/bkirk/qt4/qt-x11-eval-src-4.2.2/examples/widgets'
> gmake[1]: *** [sub-widgets-make_default] Error 2
> gmake[1]: Leaving directory
> `/home/bkirk/qt4/qt-x11-eval-src-4.2.2/examples' gmake: ***
> [sub-examples-make_default-ordered] Error 2
>
> Does anyone have an idea about how to get past/fix this problem?
>
> Regards,
> Ben
>
> --
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
> "unsubscribe" in the subject or the body. List archive and information:
> http://lists.trolltech.com/qt-interest/
--
[ signature omitted ]