VirtualBox

Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#598 closed defect (invalid)

build failure on AMD64 (ubuntu 7.10) incompatable libgcc.a

Reported by: jdhawk Owned by:
Component: other Version: VirtualBox 1.4.0
Keywords: ubuntu gutsy amd64 compile lgcc libgcc.a Cc:
Guest type: other Host type: other

Description

Built this on Ubuntu Gutsy Gibbon Tribe 5

installed all the packages required in the install docs, but the linker fails on the video driver with

kBuild: Linking vboxvideo_drv_70
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.1.3/libgcc.a when searching for -lgcc
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.1.3/libgcc.a when searching for -lgcc
/usr/bin/ld: cannot find -lgcc
collect2: ld returned 1 exit status
kmk[5]: *** [/home/jdhawk/build/source/vbox-ose-1.3.8/out/linux.amd64/release/obj/src/VBox/Additions/linux/xgraphics/vboxvideo_drv_70/vboxvideo_drv_70.so] Error 1
The failing command:
        @gcc -m32 -shared             -fPIC -s      -o /home/jdhawk/build/source/vbox-ose-1.3.8/out/linux.amd64/release/obj/src/VBox/Additions/linux/xgraphics/vboxvideo_drv_70/vboxvideo_drv_70.so  /home/jdhawk/build/source/vbox-ose-1.3.8/out/linux.amd64/release/obj/src/VBox/Additions/linux/xgraphics/vboxvideo_drv_70/vboxvideo.o /home/jdhawk/build/source/vbox-ose-1.3.8/out/linux.amd64/release/obj/src/VBox/Additions/linux/xgraphics/vboxvideo_drv_70/vboxutils.o   -Wl,-Map -Wl,/home/jdhawk/build/source/vbox-ose-1.3.8/out/linux.amd64/release/obj/src/VBox/Additions/linux/xgraphics/vboxvideo_drv_70/vboxvideo_drv_70.map -Wl,--cref
kmk[5]: Leaving directory `/home/jdhawk/build/source/vbox-ose-1.3.8/src/VBox/Additions/linux/xgraphics'
kmk[4]: *** [pass_dlls_before] Error 2

Kernel Info: Linux cheetos 2.6.22-10-generic #1 SMP Wed Aug 22 07:42:05 GMT 2007 x86_64 GNU/Linux

GCC/G++ Info:

jdhawk@cheetos:~/build/source$ g++ -v
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.1.3 --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-checking=release x86_64-linux-gnu
Thread model: posix
gcc version 4.1.3 20070825 (prerelease) (Ubuntu 4.1.2-15ubuntu3)

Attachments (1)

log.txt (77.3 KB ) - added by jdhawk 17 years ago.
configure and kmk output

Download all attachments as: .zip

Change History (5)

by jdhawk, 17 years ago

Attachment: log.txt added

configure and kmk output

comment:1 by Frank Mehnert, 17 years ago

Please install ia32-libs, lib32gcc1, lib32stdc++6 as well.

comment:2 by jdhawk, 17 years ago

All of those packages were already installed.

jdhawk@cheetos:~$ sudo apt-get install ia32-libs lib32gcc1 lib32stdc++6
Reading package lists... Done
Building dependency tree       
Reading state information... Done
ia32-libs is already the newest version.
lib32gcc1 is already the newest version.
lib32gcc1 set to manual installed.
lib32stdc++6 is already the newest version.
lib32stdc++6 set to manual installed.
0 upgraded, 0 newly installed, 0 to remove and 26 not upgraded.

comment:3 by Sander van Leeuwen, 17 years ago

Resolution: invalid
Status: newclosed

Don't report such problems here please. Use the developer's mailinglist.

comment:4 by Frank Mehnert, 17 years ago

And to solve your problem: Please install gcc-multilib.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use