Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge virtualbox problems [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
javo
n00b
n00b


Joined: 30 Jun 2007
Posts: 64

PostPosted: Mon Oct 01, 2007 5:46 pm    Post subject: emerge virtualbox problems [solved] Reply with quote

hi I tried to install virtualbox but there's this error

Code:
iler/VBoxREM/gen/op.o
kBuild: Compiling VBoxREM - translate-all.c
kBuild: Compiling VBoxREM - translate-op.c
In file included from /var/tmp/portage/app-emulation/virtualbox-1.5.0-r1/work/VirtualBox-1.5.0_OSE/src/recompiler/translate-op.c:70:
/var/tmp/portage/app-emulation/virtualbox-1.5.0-r1/work/VirtualBox-1.5.0_OSE/out/linux.x86/release/obj/src/recompiler/VBoxREM/op.h: In function 'dyngen_code':
/var/tmp/portage/app-emulation/virtualbox-1.5.0-r1/work/VirtualBox-1.5.0_OSE/out/linux.x86/release/obj/src/recompiler/VBoxREM/op.h:4684: error: 'memcpy' redeclared as different kind of symbol
/var/tmp/portage/app-emulation/virtualbox-1.5.0-r1/work/VirtualBox-1.5.0_OSE/out/linux.x86/release/obj/src/recompiler/VBoxREM/op.h:4685: error: called object 'memcpy' is not a function
/var/tmp/portage/app-emulation/virtualbox-1.5.0-r1/work/VirtualBox-1.5.0_OSE/out/linux.x86/release/obj/src/recompiler/VBoxREM/op.h:4701: error: called object 'memcpy' is not a function
/var/tmp/portage/app-emulation/virtualbox-1.5.0-r1/work/VirtualBox-1.5.0_OSE/out/linux.x86/release/obj/src/recompiler/VBoxREM/op.h:4718: error: called object 'memcpy' is not a function
/var/tmp/portage/app-emulation/virtualbox-1.5.0-r1/work/VirtualBox-1.5.0_OSE/out/linux.x86/release/obj/src/recompiler/VBoxREM/op.h:4734: error: called object 'memcpy' is not a function
/var/tmp/portage/app-emulation/virtualbox-1.5.0-r1/work/VirtualBox-1.5.0_OSE/out/linux.x86/release/obj/src/recompiler/VBoxREM/op.h:4750: error: called object 'memcpy' is not a function
/var/tmp/portage/app-emulation/virtualbox-1.5.0-r1/work/VirtualBox-1.5.0_OSE/out/linux.x86/release/obj/src/recompiler/VBoxREM/op.h:4889: error: called object 'memcpy' is not a function
/var/tmp/portage/app-emulation/virtualbox-1.5.0-r1/work/VirtualBox-1.5.0_OSE/out/linux.x86/release/obj/src/recompiler/VBoxREM/op.h:4905: error: called object 'memcpy' is not a function
/var/tmp/portage/app-emulation/virtualbox-1.5.0-r1/work/VirtualBox-1.5.0_OSE/out/linux.x86/release/obj/src/recompiler/VBoxREM/op.h:4921: error: called object 'memcpy' is not a function
/var/tmp/portage/app-emulation/virtualbox-1.5.0-r1/work/VirtualBox-1.5.0_OSE/out/linux.x86/release/obj/src/recompiler/VBoxREM/op.h:4937: error: called object 'memcpy' is not a function
/var/tmp/portage/app-emulation/virtualbox-1.5.0-r1/work/VirtualBox-1.5.0_OSE/out/linux.x86/release/obj/src/recompiler/VBoxREM/op.h:5037: error: called object 'memcpy' is not a function
/var/tmp/portage/app-emulation/virtualbox-1.5.0-r1/work/VirtualBox-1.5.0_OSE/out/linux.x86/release/obj/src/recompiler/VBoxREM/op.h:5053: error: called object 'memcpy' is not a function
/var/tmp/portage/app-emulation/virtualbox-1.5.0-r1/work/VirtualBox-1.5.0_OSE/out/linux.x86/release/obj/src/recompiler/VBoxREM/op.h:5069: error: called object 'memcpy' is not a function
/var/tmp/portage/app-emulation/virtualbox-1.5.0-r1/work/VirtualBox-1.5.0_OSE/out/linux.x86/release/obj/src/recompiler/VBoxREM/op.h:5085: error: called object 'memcpy' is not a function
/var/tmp/portage/app-emulation/virtualbox-1.5.0-r1/work/VirtualBox-1.5.0_OSE/out/linux.x86/release/obj/src/recompiler/VBoxREM/op.h:5102: error: called object 'memcpy' is not a function
/var/tmp/portage/app-emulation/virtualbox-1.5.0-r1/work/VirtualBox-1.5.0_OSE/out/linux.x86/release/obj/src/recompiler/VBoxREM/op.h:5116: error: called object 'memcpy' is not a function
/var/tmp/portage/app-emulation/virtualbox-1.5.0-r1/work/VirtualBox-1.5.0_OSE/out/linux.x86/release/obj/src/recompiler/VBoxREM/op.h:5130: error: called object 'memcpy' is not a function
/var/tmp/portage/app-emulation/virtualbox-1.5.0-r1/work/VirtualBox-1.5.0_OSE/out/linux.x86/release/obj/src/recompiler/VBoxREM/op.h:5144: error: called object 'memcpy' is not a function
/var/tmp/portage/app-emulation/virtualbox-1.5.0-r1/work/VirtualBox-1.5.0_OSE/out/linux.x86/release/obj/src/recompiler/VBoxREM/op.h:7125: error: called object 'memcpy' is not a function
/var/tmp/portage/app-emulation/virtualbox-1.5.0-r1/work/VirtualBox-1.5.0_OSE/out/linux.x86/release/obj/src/recompiler/VBoxREM/op.h:7214: error: called object 'memcpy' is not a function
/var/tmp/portage/app-emulation/virtualbox-1.5.0-r1/work/VirtualBox-1.5.0_OSE/out/linux.x86/release/obj/src/recompiler/VBoxREM/op.h:7303: error: called object 'memcpy' is not a function
kmk[2]: *** [/var/tmp/portage/app-emulation/virtualbox-1.5.0-r1/work/VirtualBox-1.5.0_OSE/out/linux.x86/release/obj/src/recompiler/VBoxREM/translate-op.o] Error 1
The failing command:
        @gcc -c -O2 -Wall -g -fomit-frame-pointer -fno-gcse -IInnoTek -IInnoTek/crt -Itarget-i386 -Ifpu -I/var/tmp/portage/app-emulation/virtualbox-1.5.0-r1/work/VirtualBox-1.5.0_OSE/out/linux.x86/release/obj/src/recompiler/VBoxREM -I/var/tmp/portage/app-emulation/virtualbox-1.5.0-r1/work/VirtualBox-1.5.0_OSE/src/VBox/VMM -I/var/tmp/portage/app-emulation/virtualbox-1.5.0-r1/work/VirtualBox-1.5.0_OSE/src/recompiler -I/var/tmp/portage/app-emulation/virtualbox-1.5.0-r1/work/VirtualBox-1.5.0_OSE/include -I/var/tmp/portage/app-emulation/virtualbox-1.5.0-r1/work/VirtualBox-1.5.0_OSE/out/linux.x86/release -DVBOX -DVBOX_OSE -DRT_OS_LINUX -D__LINUX__ -D_FILE_OFFSET_BITS=64 -DRT_ARCH_X86 -D__X86__ -DIN_REM_R3 -DREM_INCLUDE_CPU_H -DIN_RING3 -DLOG_USE_C99 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -Wp,-MD,/var/tmp/portage/app-emulation/virtualbox-1.5.0-r1/work/VirtualBox-1.5.0_OSE/out/linux.x86/release/obj/src/recompiler/VBoxREM/translate-op.o.dep -Wp,-MT,/var/tmp/portage/app-emulation/virtualbox-1.5.0-r1/work/VirtualBox-1.5.0_OSE/out/linux.x86/release/obj/src/recompiler/VBoxREM/translate-op.o -Wp,-MP -o /var/tmp/portage/app-emulation/virtualbox-1.5.0-r1/work/VirtualBox-1.5.0_OSE/out/linux.x86/release/obj/src/recompiler/VBoxREM/translate-op.o /var/tmp/portage/app-emulation/virtualbox-1.5.0-r1/work/VirtualBox-1.5.0_OSE/src/recompiler/translate-op.c
kmk[2]: Leaving directory `/var/tmp/portage/app-emulation/virtualbox-1.5.0-r1/work/VirtualBox-1.5.0_OSE/src/recompiler'
kmk[1]: *** [pass_dlls_before] Error 2
kmk[1]: Leaving directory `/var/tmp/portage/app-emulation/virtualbox-1.5.0-r1/work/VirtualBox-1.5.0_OSE/src'
kmk: *** [pass_dlls_before] Error 2
 *
 * ERROR: app-emulation/virtualbox-1.5.0-r1 failed.
 * Call stack:
 *                    ebuild.sh, line 1684:  Called dyn_compile
 *                    ebuild.sh, line 1020:  Called qa_call 'src_compile'
 *                    ebuild.sh, line   44:  Called src_compile
 *   virtualbox-1.5.0-r1.ebuild, line   72:  Called die
 * The specific snippet of code:
 *      MAKE="kmk" emake TOOL_GCC3_CC="$(tc-getCC)" TOOL_GCC3_CXX="$(tc-getCXX)" \
 *              TOOL_GCC3_AS="$(tc-getCC)" TOOL_GCC3_AR="$(tc-getAR)" \
 *              TOOL_GCC3_LD="$(tc-getCXX)" TOOL_GCC3_LD_SYSMOD="$(tc-getLD)" \
 *              TOOL_GCC3_CFLAGS="${CFLAGS}" TOOL_GCC3_CXXFLAGS="${CXXFLAGS}" \
 *              all || die "kmk failed"
 *  The die message:
 *   kmk failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-emulation/virtualbox-1.5.0-r1/temp/build.log'.
 *

 * Messages for package app-emulation/virtualbox-1.5.0-r1:

 *
 * ERROR: app-emulation/virtualbox-1.5.0-r1 failed.
 * Call stack:
 *                    ebuild.sh, line 1684:  Called dyn_compile
 *                    ebuild.sh, line 1020:  Called qa_call 'src_compile'
 *                    ebuild.sh, line   44:  Called src_compile
 *   virtualbox-1.5.0-r1.ebuild, line   72:  Called die
 * The specific snippet of code:
 *      MAKE="kmk" emake TOOL_GCC3_CC="$(tc-getCC)" TOOL_GCC3_CXX="$(tc-getCXX)" \
 *              TOOL_GCC3_AS="$(tc-getCC)" TOOL_GCC3_AR="$(tc-getAR)" \
 *              TOOL_GCC3_LD="$(tc-getCXX)" TOOL_GCC3_LD_SYSMOD="$(tc-getLD)" \
 *              TOOL_GCC3_CFLAGS="${CFLAGS}" TOOL_GCC3_CXXFLAGS="${CXXFLAGS}" \
 *              all || die "kmk failed"
 *  The die message:
 *   kmk failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete bu


what should I do pls?
thx


Last edited by javo on Mon Oct 01, 2007 7:06 pm; edited 1 time in total
Back to top
View user's profile Send private message
shrimp123
Apprentice
Apprentice


Joined: 02 Sep 2004
Posts: 199
Location: Here!

PostPosted: Mon Oct 01, 2007 6:42 pm    Post subject: Reply with quote

emerge --info

and

gcc-config -l

please

S
Back to top
View user's profile Send private message
javo
n00b
n00b


Joined: 30 Jun 2007
Posts: 64

PostPosted: Mon Oct 01, 2007 7:06 pm    Post subject: Reply with quote

shrimp123 wrote:
emerge --info

and

gcc-config -l

please

S


thanks for your answer, after switching to i486-pc-linux-gnu-3.3.6 the compilation is OK :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum