View previous topic :: View next topic |
Author |
Message |
groundling n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 23 Aug 2002 Posts: 6
|
Posted: Fri May 02, 2003 2:53 am Post subject: qt compile problem |
|
|
im having major problems with my installing. i cannot get qt to compile. my cflags have been reduced to nothing but that stll doesnt work. i found another post in the forum for a similar situation, but not quite the same...and there was never really a solution given as far as i could see. anyone know how to get qt to compile or what my problem is? heres what i get when it dies:
/var/tmp/portage/qt-3.1.2-r3/work/qt-x11-free-3.1.2/bin/uic -L /var/tmp/portage/qt-3.1.2-r3/work/qt-x11-free-3.1.2/plugins tableeditor.ui -i tableeditor.h -o tableeditor.cpp
/var/tmp/portage/qt-3.1.2-r3/work/qt-x11-free-3.1.2/bin/uic -L /var/tmp/portage/qt-3.1.2-r3/work/qt-x11-free-3.1.2/plugins -embed designer images/adjustsize.png images/edithlayoutsplit.png images/left.png images/sizeall.png images/arrow.png images/editlower.png images/line.png images/sizeb.png images/background.png images/editpaste.png images/lineedit.png images/sizef.png images/book.png images/editraise.png images/listbox.png images/sizeh.png images/buttongroup.png images/editslots.png images/listview.png images/sizev.png images/checkbox.png images/editvlayout.png images/multilineedit.png images/slider.png images/combobox.png images/editvlayoutsplit.png images/newform.png images/spacer.png images/connecttool.png images/filenew.png images/no.png images/spinbox.png images/cross.png images/fileopen.png images/ordertool.png images/splash.png images/customwidget.png images/filesave.png images/pixlabel.png images/table.png images/databrowser.png images/form.png images/pointer.png images/tabwidget.png images/datatable.png images/frame.png images/print.png images/textbrowser.png images/dataview.png images/groupbox.png images/progress.png images/textedit.png images/dateedit.png images/hand.png images/project.png images/textview.png images/datetimeedit.png images/help.png images/pushbutton.png images/timeedit.png images/dial.png images/home.png images/qtlogo.png images/toolbutton.png images/down.png images/hsplit.png images/radiobutton.png images/undo.png images/editbreaklayout.png images/ibeam.png images/redo.png images/up.png images/resetproperty.png images/editcopy.png images/iconview.png images/resetproperty.png images/uparrow.png images/editcut.png images/image.png images/richtextedit.png images/vsplit.png images/editdelete.png images/label.png images/right.png images/wait.png images/editgrid.png images/layout.png images/scrollbar.png images/widgetstack.png images/edithlayout.png images/lcdnumber.png images/searchfind.png images/folder.png images/setbuddy.png images/textbold.png images/textcenter.png images/texth1.png images/texth2.png images/texth3.png images/textitalic.png images/textjustify.png images/textlarger.png images/textleft.png images/textlinebreak.png images/textparagraph.png images/textright.png images/textsmaller.png images/textteletext.png images/textunderline.png images/wizarddata.png images/wizarddialog.png images/d_adjustsize.png images/d_label.png images/d_book.png images/d_layout.png images/d_buttongroup.png images/d_lcdnumber.png images/d_checkbox.png images/d_left.png images/d_combobox.png images/d_line.png images/d_connecttool.png images/d_lineedit.png images/d_customwidget.png images/d_listbox.png images/d_databrowser.png images/d_listview.png images/d_datatable.png images/d_multilineedit.png images/d_dataview.png images/d_newform.png images/d_dateedit.png images/d_ordertool.png images/d_datetimeedit.png images/d_pixlabel.png images/d_dial.png images/d_pointer.png images/d_down.png images/d_print.png images/d_editbreaklayout.png images/d_progress.png images/d_editcopy.png images/d_project.png images/d_editcut.png images/d_pushbutton.png images/d_editdelete.png images/d_radiobutton.png images/d_editgrid.png images/d_redo.png images/d_edithlayout.png images/d_richtextedit.png images/d_edithlayoutsplit.png images/d_right.png images/d_editlower.png images/d_scrollbar.png images/d_editpaste.png images/d_searchfind.png images/d_editraise.png images/d_slider.png images/d_editslots.png images/d_spacer.png images/d_editvlayout.png images/d_spinbox.png images/d_editvlayoutsplit.png images/d_table.png images/d_filenew.png images/d_folder.png images/d_tabwidget.png images/d_fileopen.png images/d_textbrowser.png images/d_filesave.png images/d_textedit.png images/d_form.png images/d_textview.png images/d_frame.png images/d_timeedit.png images/d_groupbox.png images/d_toolbutton.png images/d_help.png images/d_undo.png images/d_home.png images/d_up.png images/d_iconview.png images/d_widgetstack.png images/d_setbuddy.png images/d_textbold.png images/d_texth1.png images/d_texth2.png images/d_texth3.png images/d_textitalic.png images/d_textjustify.png images/d_textlarger.png images/d_textleft.png images/d_textlinebreak.png images/d_textparagraph.png images/d_textright.png images/d_textsmaller.png images/d_textteletext.png images/d_textunderline.png images/d_textcenter.png images/d_wizarddata.png images/d_wizarddialog.png images/s_editcut.png images/s_up.png images/s_down.png images/s_left.png images/s_right.png images/d_image.png images/d_textfont.png images/textfont.png images/object.png images/appicon.png -o qmake_image_collection.cpp
make[3]: *** [qmake_image_collection.cpp] Illegal instruction
make[3]: *** Deleting file `qmake_image_collection.cpp'
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/qt-3.1.2-r3/work/qt-x11-free-3.1.2/tools/designer/designer'
make[2]: *** [sub-designer] Error 2
make[2]: Leaving directory `/var/tmp/portage/qt-3.1.2-r3/work/qt-x11-free-3.1.2/tools/designer'
make[1]: *** [sub-designer] Error 2
make[1]: Leaving directory `/var/tmp/portage/qt-3.1.2-r3/work/qt-x11-free-3.1.2/tools'
make: *** [sub-tools] Error 2
!!! ERROR: x11-libs/qt-3.1.2-r3 failed.
!!! Function src_compile, Line 130, Exitcode 2
!!! (no error message) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
pjp Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/1154772887439692d88303b.jpg)
Joined: 16 Apr 2002 Posts: 20113
|
Posted: Fri May 02, 2003 3:02 am Post subject: |
|
|
Moved from Installing Gentoo. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
groundling n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 23 Aug 2002 Posts: 6
|
Posted: Sat May 03, 2003 5:08 pm Post subject: |
|
|
so has anyone else even had this problem? ive compiled gentoo from stage 1 several times and nothing like this has happened before. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
groundling n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 23 Aug 2002 Posts: 6
|
Posted: Sat May 03, 2003 8:32 pm Post subject: |
|
|
i checked all the png files and they are all in the images directory. one is listed twice in the embed command. i tried changing the Makefile so it only listed it once, again using no CFLAGS but that still didnt work.
the big problem with this is that it takes about 45 minutes until it fails so every time i try something different i have to wait forever to see that it failed again |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Esben Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Monkey Island/Monkey_Island_-_Lemonhead.gif)
Joined: 29 Jun 2002 Posts: 244 Location: Copenhagen/Denmark
|
Posted: Sat May 03, 2003 9:58 pm Post subject: |
|
|
It could be your compiler optimizations and your CPU has fallen out. Could you please post the output from
Code: | cat /proc/cpuinfo ; grep CFLAG /etc/make.conf |
Here's my output, for comparison:
Quote: | processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Pentium(R) 4 CPU 2.20GHz
stepping : 4
cpu MHz : 2222.144
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm
bogomips : 4390.91
# For optimal performance, enable a CFLAGS setting appropriate for your CPU.
#CFLAGS="-mcpu=athlon-xp -O3 -pipe"
CFLAGS="-mcpu=pentium4 -O3 -pipe"
# If you set a CFLAGS above, then this line will set your default C++ flags to
# the same settings. If you don't set CFLAGS above, then comment this line out.
CXXFLAGS="${CFLAGS}"
|
_________________ regards, Esben
True trade is honest, but not merciful. Politics is dishonest, no matter how merciful... and war is neither honest nor merciful.... therefore, choose trade above politics, but politics above war. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
EhobaX n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Simpsons/Simpsons_-_Ralph.jpg)
Joined: 12 May 2002 Posts: 25 Location: DC
|
Posted: Sun May 04, 2003 7:52 pm Post subject: Same thing for me.. |
|
|
I've tried emerging qt and am getting the same error message as you.
I even changed the CFLAGS back to the basic:
Code: | CFLAGS="-O3 -mcpu=i686 -pipe"
and on another try:
CFLAGS="O2 -mcpu=i686 -pipe"
|
But here's the errors I get:
Code: |
/usr/lib/gcc-lib/i586-pc-linux/gnu/3.2.2/../../../ligGL.so: undefined reference to '__nvsym15166'
collect2: ld returned 1 exit status
make[3]: *** [../../../bin/uic] Error 1
make[3]: Leaving directory '/var/tmp/portage/qt-3.1.2-r3/work/qt-x11-free-3.1.2/tools/designer/uic'
make[2]: *** [sub-uic] Error 2
make[2]: Leaving directory '/var/tmp/portage/qt-3.1.2-r3/work/qt-x11-free-3.1.2/tools/designer'
make[1]: *** [sub-designer] Error 2
make[1]: Leaving directory '/var/tmp/portage/qt-3.1.2-r3/work/qt-x11-free-3.1.2/tools'
make: *** [sub-tools] Error 2
!!! ERROR: x11-libs/qt-3.1.2-r3 failed.
!!! Function src_compile, Line 130, Exitcode 2
!!! (no error message)
|
I'm using a Duron 1 Ghz, and HAVE emerge qt before. But it was a while ago and I just started playing around w/ Gentoo again. I really wish I could get it installed b/c of all the crap that's used by qt. ![Mad :x](images/smiles/icon_mad.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Esben Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Monkey Island/Monkey_Island_-_Lemonhead.gif)
Joined: 29 Jun 2002 Posts: 244 Location: Copenhagen/Denmark
|
Posted: Mon May 05, 2003 4:43 pm Post subject: Re: Same thing for me.. |
|
|
EhobaX wrote: | I've tried emerging qt and am getting the same error message as you.
...
reference to '__nvsym15166'
collect2: ld returned 1 exit status
|
That is certainly NOT the same errormessage as above. That would be the linker that is unable to locate a symbol from the libGl.so. Try this:
Code: |
esben ~ $ nm -D --defined-only /usr/lib/libGLcore.so | grep __nvsym15166
002ca190 T __nvsym15166
|
The last line is the output for me. If you see this, something is wrong with the linker command that configure has generated for you. Try posting that last command (the line before your quote). _________________ regards, Esben
True trade is honest, but not merciful. Politics is dishonest, no matter how merciful... and war is neither honest nor merciful.... therefore, choose trade above politics, but politics above war. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
groundling n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 23 Aug 2002 Posts: 6
|
Posted: Mon May 05, 2003 10:06 pm Post subject: |
|
|
you were right. i had thought the athlon tbird supported sse but i was very wrong. the sad thing is i think i did this once before and just didnt remember. but looking at the cpu flags reminded me so i restarted everything and now its compiling...and compiling and compiling. thanks |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Esben Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Monkey Island/Monkey_Island_-_Lemonhead.gif)
Joined: 29 Jun 2002 Posts: 244 Location: Copenhagen/Denmark
|
Posted: Tue May 06, 2003 5:02 pm Post subject: |
|
|
groundling wrote: | you were right. i had thought the athlon tbird supported sse but i was very wrong. the sad thing is i think i did this once before and just didnt remember. but looking at the cpu flags reminded me so i restarted everything and now its compiling...and compiling and compiling. thanks |
Been there I once compiled a major part of my athlon's gentoo with -march pentium4. The result was, ehm, less than spectucular.
Happy to help... _________________ regards, Esben
True trade is honest, but not merciful. Politics is dishonest, no matter how merciful... and war is neither honest nor merciful.... therefore, choose trade above politics, but politics above war. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nightcanton Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 26 Feb 2003 Posts: 249
|
Posted: Wed May 07, 2003 2:33 am Post subject: |
|
|
I'm having the same Compiling problem with QT.
Quote: | make[3]: *** [../../../bin/uic] Error 1
make[3]: Leaving directory '/var/tmp/portage/qt-3.1.2-r3/work/qt-x11-free-3.1.2/tools/designer/uic'
make[2]: *** [sub-uic] Error 2
make[2]: Leaving directory '/var/tmp/portage/qt-3.1.2-r3/work/qt-x11-free-3.1.2/tools/designer'
make[1]: *** [sub-designer] Error 2
make[1]: Leaving directory '/var/tmp/portage/qt-3.1.2-r3/work/qt-x11-free-3.1.2/tools'
make: *** [sub-tools] Error 2
!!! ERROR: x11-libs/qt-3.1.2-r3 failed.
!!! Function src_compile, Line 130, Exitcode 2
!!! (no error message) |
I went through and put the "~x86" in the make.conf file...just to see if it would work.
Quote: | Calculating world dependencies ...done!
[ebuild U ] sys-apps/baselayout-1.8.6.6 [1.8.5.9]
[ebuild U ] sys-devel/gettext-0.11.5-r1 [0.11.5]
[ebuild U ] sys-devel/binutils-2.13.90.0.20-r1 [2.13.90.0.18]
[ebuild U ] sys-apps/texinfo-4.5 [4.3-r1]
[ebuild U ] sys-devel/gcc-config-1.3.3-r1 [1.3.1-r1]
[ebuild U ] sys-devel/gcc-3.2.2-r2 [3.2.2]
[ebuild U ] sys-libs/glibc-2.3.2-r1 [2.3.1-r4]
[ebuild U ] sys-apps/grep-2.5.1-r1 [2.5-r1]
[ebuild U ] sys-apps/netkit-base-0.17-r7 [0.17-r6]
[ebuild U ] app-shells/bash-2.05b-r5 [2.05b-r3]
[ebuild U ] sys-apps/grub-0.93.20030118 [0.92-r1]
[ebuild U ] sys-libs/db-3.2.9-r2 [3.2.9-r1]
[ebuild U ] media-libs/fontconfig-2.2.0-r1 [2.1-r1]
[ebuild U ] net-www/lynx-2.8.4.1d [2.8.4.1c]
[ebuild U ] sys-apps/groff-1.18.1-r2 [1.18.1-r1]
[ebuild U ] sys-apps/e2fsprogs-1.33 [1.32-r2]
[ebuild U ] app-cdr/cdrtools-2.01_alpha12 [2.01_alpha05]
[ebuild U ] media-video/nvidia-kernel-1.0.4363 [1.0.4349-r2]
[ebuild U ] media-video/nvidia-glx-1.0.4363 [1.0.4349]
|
I tried everything that this link and others have come up with...
After upgrading all of those QT COMPILED JUST FINE....but my BLACKBOX envirment didn't compile with the new kernel and such...
Anyone have Ideas? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
echeslack Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 21 Jul 2002 Posts: 131 Location: NJ, USA
|
Posted: Wed May 07, 2003 4:47 am Post subject: |
|
|
i've recently been having trouble getting my opengl settings to stick. try doing either opengl-update nvidia or opengl-update xfree (or it might be xfree86), then try to compile again.
If you have recently upgraded to a new nvidia driver it is most likely a problem with stale libraries still stuck around that are getting pointed to instead of the library that matches the header files it is using. I know this isn't the best explanation, but I am not sure exactly what is going on either.
Anyway, if you go back up to the most recent versions of nvidia-kernel and nvidia-glx, you will probably want to go through the /usr/lib/ directory and make sure that there aren't any leftover libraries or links from the older version. I think this has been mentioned elsewhere, but I can't find it at the moment.
Anyway, this is all just a guess because you didn't give enough of the compiler output to really tell what was going on. Just so you know, usually to assess what is going on people will need more than just the error make reports, they also need the actual compiler error. Since the bottom appears identical I am assuming you got a linker error about libGL.so.
-ewen |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|