VirtualBox

Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#298 closed defect (invalid)

current trunk failed to build on ubuntu/AMD64 (wrong archictecture)

Reported by: pierre Owned by:
Component: other Version: VirtualBox 1.3.8
Keywords: Cc:
Guest type: other Host type: other

Description

The default architecture is wrongly redefined. x86_64 and WORDSIZE are then wrong. It tries to include stubs-32.h instead of stubs-64.h (from gnu/stubs.h).

See errors_ubuntu_amd64.txt for the exact errors. test64.c being a simple app to test these two options (works with the default arch).

Attachments (2)

errors_ubuntu_amd64.txt (1.8 KB ) - added by pierre 17 years ago.
test64.c (201 bytes ) - added by pierre 17 years ago.

Download all attachments as: .zip

Change History (5)

by pierre, 17 years ago

Attachment: errors_ubuntu_amd64.txt added

by pierre, 17 years ago

Attachment: test64.c added

comment:1 by pierre, 17 years ago

Thanks to Klaus, I was missing the 32bit development files (libc6-dev-i386). The build went good.

I failed to get it worked on my box (amd64, ubuntu feisty) and 19 tests failed. But this bug is bogus (it may be good to add a note in a readme).

comment:2 by Michael Thayer, 17 years ago

Resolution: invalid
Status: newclosed

comment:3 by petroff, 17 years ago

installing the 32 bit headers worked for me:

sudo apt-get install libc6-dev-i386
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use