Compilazione VirtualBox OSE 1.4.0/1.5.0 [RISOLTO]
Inviato: gio 6 set 2007, 15:38
Ciao a tutti,
sto cercando di fare un bel pacchetto di VirtualBox 1.5.0 OSE (mi va bene anche 1.4.0) per slack 12. Ho installato xerces-c, mi sono fatto un pacchetto xalan-c e sto lavorando sullo slackbuild per vbox. Il problema è che la compilazione mi termina con il seguente errore:
E` un problema con memcpy, ma non riesco a trovare una soluzione. Il problema è lo stesso per la 1.5.0 che per la 1.4.0 (ho provato per sfizio).
Qualcuno mi sa dare una mano?
P.S. bcc e iasl li ho compilati in locale e li faccio vedere al configure con i path ad hoc.
sto cercando di fare un bel pacchetto di VirtualBox 1.5.0 OSE (mi va bene anche 1.4.0) per slack 12. Ho installato xerces-c, mi sono fatto un pacchetto xalan-c e sto lavorando sullo slackbuild per vbox. Il problema è che la compilazione mi termina con il seguente errore:
Codice: Seleziona tutto
kBuild: Compiling VBoxREM - translate-op.c
In file included from /root/tmp/VirtualBox-OSE-1.4.0/src/recompiler/translate-op.c:71:
/root/tmp/VirtualBox-OSE-1.4.0/out/linux.x86/release/obj/src/recompiler/VBoxREM/op.h: In function 'dyngen_code':
/root/tmp/VirtualBox-OSE-1.4.0/out/linux.x86/release/obj/src/recompiler/VBoxREM/op.h:4686: error: 'memcpy' redeclared as different kind of symbol
/root/tmp/VirtualBox-OSE-1.4.0/out/linux.x86/release/obj/src/recompiler/VBoxREM/op.h:4687: error: called object 'memcpy' is not a function
/root/tmp/VirtualBox-OSE-1.4.0/out/linux.x86/release/obj/src/recompiler/VBoxREM/op.h:4703: error: called object 'memcpy' is not a function
/root/tmp/VirtualBox-OSE-1.4.0/out/linux.x86/release/obj/src/recompiler/VBoxREM/op.h:4720: error: called object 'memcpy' is not a function
/root/tmp/VirtualBox-OSE-1.4.0/out/linux.x86/release/obj/src/recompiler/VBoxREM/op.h:4736: error: called object 'memcpy' is not a function
/root/tmp/VirtualBox-OSE-1.4.0/out/linux.x86/release/obj/src/recompiler/VBoxREM/op.h:4752: error: called object 'memcpy' is not a function
/root/tmp/VirtualBox-OSE-1.4.0/out/linux.x86/release/obj/src/recompiler/VBoxREM/op.h:4893: error: called object 'memcpy' is not a function
/root/tmp/VirtualBox-OSE-1.4.0/out/linux.x86/release/obj/src/recompiler/VBoxREM/op.h:4909: error: called object 'memcpy' is not a function
/root/tmp/VirtualBox-OSE-1.4.0/out/linux.x86/release/obj/src/recompiler/VBoxREM/op.h:4925: error: called object 'memcpy' is not a function
/root/tmp/VirtualBox-OSE-1.4.0/out/linux.x86/release/obj/src/recompiler/VBoxREM/op.h:4941: error: called object 'memcpy' is not a function
/root/tmp/VirtualBox-OSE-1.4.0/out/linux.x86/release/obj/src/recompiler/VBoxREM/op.h:5041: error: called object 'memcpy' is not a function
/root/tmp/VirtualBox-OSE-1.4.0/out/linux.x86/release/obj/src/recompiler/VBoxREM/op.h:5057: error: called object 'memcpy' is not a function
/root/tmp/VirtualBox-OSE-1.4.0/out/linux.x86/release/obj/src/recompiler/VBoxREM/op.h:5073: error: called object 'memcpy' is not a function
/root/tmp/VirtualBox-OSE-1.4.0/out/linux.x86/release/obj/src/recompiler/VBoxREM/op.h:5089: error: called object 'memcpy' is not a function
/root/tmp/VirtualBox-OSE-1.4.0/out/linux.x86/release/obj/src/recompiler/VBoxREM/op.h:5106: error: called object 'memcpy' is not a function
/root/tmp/VirtualBox-OSE-1.4.0/out/linux.x86/release/obj/src/recompiler/VBoxREM/op.h:5120: error: called object 'memcpy' is not a function
/root/tmp/VirtualBox-OSE-1.4.0/out/linux.x86/release/obj/src/recompiler/VBoxREM/op.h:5134: error: called object 'memcpy' is not a function
/root/tmp/VirtualBox-OSE-1.4.0/out/linux.x86/release/obj/src/recompiler/VBoxREM/op.h:5148: error: called object 'memcpy' is not a function
/root/tmp/VirtualBox-OSE-1.4.0/out/linux.x86/release/obj/src/recompiler/VBoxREM/op.h:7129: error: called object 'memcpy' is not a function
/root/tmp/VirtualBox-OSE-1.4.0/out/linux.x86/release/obj/src/recompiler/VBoxREM/op.h:7218: error: called object 'memcpy' is not a function
/root/tmp/VirtualBox-OSE-1.4.0/out/linux.x86/release/obj/src/recompiler/VBoxREM/op.h:7307: error: called object 'memcpy' is not a function
kmk[2]: *** [/root/tmp/VirtualBox-OSE-1.4.0/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/root/tmp/VirtualBox-OSE-1.4.0/out/linux.x86/release/obj/src/recompiler/VBoxREM -I/root/tmp/VirtualBox-OSE-1.4.0/src/VBox/VMM -I/root/tmp/VirtualBox-OSE-1.4.0/src/recompiler -I/root/tmp/VirtualBox-OSE-1.4.0/include -I/root/tmp/VirtualBox-OSE-1.4.0/out/linux.x86/release -DVBOX -DVBOX_OSE -D__LINUX__ -D_FILE_OFFSET_BITS=64 -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,/root/tmp/VirtualBox-OSE-1.4.0/out/linux.x86/release/obj/src/recompiler/VBoxREM/translate-op.o.dep -Wp,-MT,/root/tmp/VirtualBox-OSE-1.4.0/out/linux.x86/release/obj/src/recompiler/VBoxREM/translate-op.o -Wp,-MP -o /root/tmp/VirtualBox-OSE-1.4.0/out/linux.x86/release/obj/src/recompiler/VBoxREM/translate-op.o /root/tmp/VirtualBox-OSE-1.4.0/src/recompiler/translate-op.c
kmk[2]: Leaving directory `/root/tmp/VirtualBox-OSE-1.4.0/src/recompiler'
kmk[1]: *** [pass_dlls_before] Error 2
kmk[1]: Leaving directory `/root/tmp/VirtualBox-OSE-1.4.0/src'
kmk: *** [pass_dlls_before] Error 2
Qualcuno mi sa dare una mano?
P.S. bcc e iasl li ho compilati in locale e li faccio vedere al configure con i path ad hoc.