| 1 | abolte@sphinx:~$ uname -a
|
|---|
| 2 | Linux sphinx 2.6.20-16-generic #2 SMP Thu Jun 7 19:00:28 UTC 2007 x86_64 GNU/Linux
|
|---|
| 3 | abolte@sphinx:~$
|
|---|
| 4 | abolte@sphinx:~/downloads/applications/virtualbox-ose-svn/vbox$ ./configure --with-gcc=/usr/bin/gcc-3.4 --with-g++=/usr/bin/g++-3.4
|
|---|
| 5 | Checking for environment: Determined linux.amd64, OK.
|
|---|
| 6 | Checking for kBuild: found, OK.
|
|---|
| 7 | Checking for gcc: found version 3.4.6, OK.
|
|---|
| 8 | Checking for as86: found version 0.16.14, OK.
|
|---|
| 9 | Checking for bcc: found version 0.16.14, OK.
|
|---|
| 10 | Checking for iasl: found version 20060912, OK.
|
|---|
| 11 | Checking for xslt: found, OK.
|
|---|
| 12 | Checking for pthread: found, OK.
|
|---|
| 13 | Checking for xalan: found version 1.10.0, OK.
|
|---|
| 14 | Checking for xerces: found version 2.7.0, OK.
|
|---|
| 15 | Checking for libIDL: found version 0.8.7, OK.
|
|---|
| 16 | Checking for zlib: found version 1.2.3, OK.
|
|---|
| 17 | Checking for SDL: found version 1.2.11, OK.
|
|---|
| 18 | Checking for X libraries: found, OK.
|
|---|
| 19 | Checking for Xcursor: found, OK.
|
|---|
| 20 | Checking for Qt: found version 3.3.7, OK.
|
|---|
| 21 | Checking for Qt devtools: found version 3.3.7, OK.
|
|---|
| 22 | Checking for Linux kernel sources: found version 2.6.20, OK.
|
|---|
| 23 | Checking for ALSA: found version 1.0.13, OK.
|
|---|
| 24 | Checking for compiler.h: compiler.h not found, OK.
|
|---|
| 25 | Checking for libhal: found version 0.5.8.1, OK.
|
|---|
| 26 |
|
|---|
| 27 | Successfully generated 'AutoConfig.kmk' and 'env.sh'.
|
|---|
| 28 | Source 'env.sh' once before you start to build VBox:
|
|---|
| 29 |
|
|---|
| 30 | source env.sh
|
|---|
| 31 | kmk
|
|---|
| 32 |
|
|---|
| 33 | To compile the kernel module, do:
|
|---|
| 34 |
|
|---|
| 35 | cd ./out/linux.amd64/release/bin/src
|
|---|
| 36 | make
|
|---|
| 37 |
|
|---|
| 38 | Enjoy!
|
|---|
| 39 | abolte@sphinx:~/downloads/applications/virtualbox-ose-svn/vbox$ source env.sh
|
|---|
| 40 | abolte@sphinx:~/downloads/applications/virtualbox-ose-svn/vbox$ kmk
|
|---|
| 41 | Config.kmk:905: /home/abolte/downloads/applications/virtualbox-ose-svn/vbox/out/linux.amd64/release/GCCConfig.kmk: No such file or directory
|
|---|
| 42 | kBuild: Generating /home/abolte/downloads/applications/virtualbox-ose-svn/vbox/out/linux.amd64/release/GCCConfig.kmk
|
|---|
| 43 | kmk_builtin_append "/home/abolte/downloads/applications/virtualbox-ose-svn/vbox/out/linux.amd64/release/GCCConfig.kmk" "VBOX_GCC_VERSION_CC ?= $(int-add $(int-mul 10000, 3), $(int-mul 100, 4), 6)"
|
|---|
| 44 | kmk_builtin_append "/home/abolte/downloads/applications/virtualbox-ose-svn/vbox/out/linux.amd64/release/GCCConfig.kmk" "VBOX_GCC_VERSION_CXX ?= $(int-add $(int-mul 10000, 3), $(int-mul 100, 4), 6)"
|
|---|
| 45 | kmk_builtin_append "/home/abolte/downloads/applications/virtualbox-ose-svn/vbox/out/linux.amd64/release/GCCConfig.kmk" "VBOX_GCC_LIBGCC ?= /usr/lib/gcc/x86_64-linux-gnu/3.4.6/libgcc.a"
|
|---|
| 46 | kmk_builtin_append "/home/abolte/downloads/applications/virtualbox-ose-svn/vbox/out/linux.amd64/release/GCCConfig.kmk" "VBOX_GCC_Wno-pointer-sign ?= "
|
|---|
| 47 | kmk_builtin_append "/home/abolte/downloads/applications/virtualbox-ose-svn/vbox/out/linux.amd64/release/GCCConfig.kmk" "VBOX_GCC_Wno-variadic-macros ?= "
|
|---|
| 48 | kmk_builtin_append "/home/abolte/downloads/applications/virtualbox-ose-svn/vbox/out/linux.amd64/release/GCCConfig.kmk" "VBOX_GCC_Wno-invalid-offsetof ?= -Wno-invalid-offsetof"
|
|---|
| 49 | kmk_builtin_append "/home/abolte/downloads/applications/virtualbox-ose-svn/vbox/out/linux.amd64/release/GCCConfig.kmk" "VBOX_GCC_Wno-extra ?= -Wno-extra"
|
|---|
| 50 | kmk_builtin_append "/home/abolte/downloads/applications/virtualbox-ose-svn/vbox/out/linux.amd64/release/GCCConfig.kmk" "VBOX_GCC_fno-stack-protector ?= "
|
|---|
| 51 | kmk_builtin_append "/home/abolte/downloads/applications/virtualbox-ose-svn/vbox/out/linux.amd64/release/GCCConfig.kmk" "VBOX_GCC_mtune-generic ?= "
|
|---|
| 52 | kmk_builtin_append "/home/abolte/downloads/applications/virtualbox-ose-svn/vbox/out/linux.amd64/release/GCCConfig.kmk" "ifneq ($(VBOX_GCC_VERSION_CC),)"
|
|---|
| 53 | kmk_builtin_append "/home/abolte/downloads/applications/virtualbox-ose-svn/vbox/out/linux.amd64/release/GCCConfig.kmk" " ifneq ($(int-ge $(VBOX_GCC_VERSION_CC),40000),)"
|
|---|
| 54 | kmk_builtin_append "/home/abolte/downloads/applications/virtualbox-ose-svn/vbox/out/linux.amd64/release/GCCConfig.kmk" " VBOX_GCC_fvisibility-hidden ?= "
|
|---|
| 55 | kmk_builtin_append "/home/abolte/downloads/applications/virtualbox-ose-svn/vbox/out/linux.amd64/release/GCCConfig.kmk" " endif"
|
|---|
| 56 | kmk_builtin_append "/home/abolte/downloads/applications/virtualbox-ose-svn/vbox/out/linux.amd64/release/GCCConfig.kmk" "endif"
|
|---|
| 57 | kmk_builtin_append "/home/abolte/downloads/applications/virtualbox-ose-svn/vbox/out/linux.amd64/release/GCCConfig.kmk" "ifneq ($(VBOX_GCC_VERSION_CXX),)"
|
|---|
| 58 | kmk_builtin_append "/home/abolte/downloads/applications/virtualbox-ose-svn/vbox/out/linux.amd64/release/GCCConfig.kmk" " ifneq ($(int-ge $(VBOX_GCC_VERSION_CXX),40000),)"
|
|---|
| 59 | kmk_builtin_append "/home/abolte/downloads/applications/virtualbox-ose-svn/vbox/out/linux.amd64/release/GCCConfig.kmk" " VBOX_GCC_fvisibility-inlines-hidden ?= "
|
|---|
| 60 | kmk_builtin_append "/home/abolte/downloads/applications/virtualbox-ose-svn/vbox/out/linux.amd64/release/GCCConfig.kmk" " endif"
|
|---|
| 61 | kmk_builtin_append "/home/abolte/downloads/applications/virtualbox-ose-svn/vbox/out/linux.amd64/release/GCCConfig.kmk" "endif"
|
|---|
| 62 | kmk_builtin_append "/home/abolte/downloads/applications/virtualbox-ose-svn/vbox/out/linux.amd64/release/GCCConfig.kmk" "VBOX_PATH_GCC_INCS ?= /usr/lib/gcc/x86_64-linux-gnu/3.4.6/include"
|
|---|
| 63 | kmk_builtin_append "/home/abolte/downloads/applications/virtualbox-ose-svn/vbox/out/linux.amd64/release/GCCConfig.kmk" "VBOX_GCC32_VERSION_CC ?= $(int-add $(int-mul 10000, 4), $(int-mul 100, 1), 2)"
|
|---|
| 64 | kmk_builtin_append "/home/abolte/downloads/applications/virtualbox-ose-svn/vbox/out/linux.amd64/release/GCCConfig.kmk" "VBOX_GCC32_VERSION_CXX ?= $(int-add $(int-mul 10000, 4), $(int-mul 100, 1), 2)"
|
|---|
| 65 | kmk_builtin_append "/home/abolte/downloads/applications/virtualbox-ose-svn/vbox/out/linux.amd64/release/GCCConfig.kmk" "VBOX_GCC32_LIBGCC ?= /usr/lib/gcc/x86_64-linux-gnu/4.1.2/32/libgcc.a"
|
|---|
| 66 | kmk_builtin_append "/home/abolte/downloads/applications/virtualbox-ose-svn/vbox/out/linux.amd64/release/GCCConfig.kmk" "VBOX_GCC32_Wno-variadic-macros ?= -Wno-variadic-macros"
|
|---|
| 67 | kBuild: Generating /home/abolte/downloads/applications/virtualbox-ose-svn/vbox/out/linux.amd64/release/version-stamp-1.4.1_OSE
|
|---|
| 68 | kBuild: Generating /home/abolte/downloads/applications/virtualbox-ose-svn/vbox/out/linux.amd64/release/version-generated.h
|
|---|
| 69 | kBuild: Generating /home/abolte/downloads/applications/virtualbox-ose-svn/vbox/out/linux.amd64/release/version-generated.mk
|
|---|
| 70 | kBuild: Pass - Build Programs
|
|---|
| 71 |
|
|---|
| 72 |
|
|---|
| 73 | ...
|
|---|
| 74 |
|
|---|
| 75 |
|
|---|
| 76 | kBuild: Linking vboxadd-xclient
|
|---|
| 77 | /usr/bin/ld: skipping incompatible /usr/bin/../lib/libXt.so when searching for -lXt
|
|---|
| 78 | /usr/bin/ld: skipping incompatible /usr/bin/../lib/libXt.a when searching for -lXt
|
|---|
| 79 | /usr/bin/ld: skipping incompatible /usr/lib/libXt.so when searching for -lXt
|
|---|
| 80 | /usr/bin/ld: skipping incompatible /usr/lib/libXt.a when searching for -lXt
|
|---|
| 81 | /usr/bin/ld: cannot find -lXt
|
|---|
| 82 | collect2: ld returned 1 exit status
|
|---|
| 83 | kmk[5]: *** [/home/abolte/downloads/applications/virtualbox-ose-svn/vbox/out/linux.amd64/release/obj/src/VBox/Additions/linux/xclient/vboxadd-xclient/vboxadd-xclient] Error 1
|
|---|
| 84 | The failing command:
|
|---|
| 85 | @g++ -m32 -o /home/abolte/downloads/applications/virtualbox-ose-svn/vbox/out/linux.amd64/release/obj/src/VBox/Additions/linux/xclient/vboxadd-xclient/vboxadd-xclient /home/abolte/downloads/applications/virtualbox-ose-svn/vbox/out/linux.amd64/release/obj/src/VBox/Additions/linux/xclient/vboxadd-xclient/clipboard.o -L/home/abolte/downloads/applications/virtualbox-ose-svn/vbox/out/linux.amd64/release/obj/src/VBox/Additions/linux/xclient/vboxadd-xclient -L/usr/X11R6/lib32 -L/usr/X11R6/lib /home/abolte/downloads/applications/virtualbox-ose-svn/vbox/out/linux.amd64/release/lib/RuntimeLnx32GuestR3.a -lpthread -lrt -lXt -lX11 -Wl,-Map -Wl,/home/abolte/downloads/applications/virtualbox-ose-svn/vbox/out/linux.amd64/release/obj/src/VBox/Additions/linux/xclient/vboxadd-xclient/vboxadd-xclient.map -Wl,--cref
|
|---|
| 86 | kmk[5]: Leaving directory `/home/abolte/downloads/applications/virtualbox-ose-svn/vbox/src/VBox/Additions/linux/xclient'
|
|---|
| 87 | kmk[4]: *** [pass_binaries_before] Error 2
|
|---|
| 88 | kmk[4]: Leaving directory `/home/abolte/downloads/applications/virtualbox-ose-svn/vbox/src/VBox/Additions/linux'
|
|---|
| 89 | kmk[3]: *** [pass_binaries_before] Error 2
|
|---|
| 90 | kmk[3]: Leaving directory `/home/abolte/downloads/applications/virtualbox-ose-svn/vbox/src/VBox/Additions'
|
|---|
| 91 | kmk[2]: *** [pass_binaries_before] Error 2
|
|---|
| 92 | kmk[2]: Leaving directory `/home/abolte/downloads/applications/virtualbox-ose-svn/vbox/src/VBox'
|
|---|
| 93 | kmk[1]: *** [pass_binaries_before] Error 2
|
|---|
| 94 | kmk[1]: Leaving directory `/home/abolte/downloads/applications/virtualbox-ose-svn/vbox/src'
|
|---|
| 95 | kmk: *** [pass_binaries_before] Error 2
|
|---|
| 96 | abolte@sphinx:~/downloads/applications/virtualbox-ose-svn/vbox$ cat /proc/cpuinfo
|
|---|
| 97 | processor : 0
|
|---|
| 98 | vendor_id : GenuineIntel
|
|---|
| 99 | cpu family : 6
|
|---|
| 100 | model : 15
|
|---|
| 101 | model name : Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz
|
|---|
| 102 | stepping : 6
|
|---|
| 103 | cpu MHz : 1000.000
|
|---|
| 104 | cache size : 4096 KB
|
|---|
| 105 | physical id : 0
|
|---|
| 106 | siblings : 2
|
|---|
| 107 | core id : 0
|
|---|
| 108 | cpu cores : 2
|
|---|
| 109 | fpu : yes
|
|---|
| 110 | fpu_exception : yes
|
|---|
| 111 | cpuid level : 10
|
|---|
| 112 | wp : yes
|
|---|
| 113 | 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 syscall nx lm constant_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm
|
|---|
| 114 | bogomips : 4000.00
|
|---|
| 115 | clflush size : 64
|
|---|
| 116 | cache_alignment : 64
|
|---|
| 117 | address sizes : 36 bits physical, 48 bits virtual
|
|---|
| 118 | power management:
|
|---|
| 119 |
|
|---|
| 120 | processor : 1
|
|---|
| 121 | vendor_id : GenuineIntel
|
|---|
| 122 | cpu family : 6
|
|---|
| 123 | model : 15
|
|---|
| 124 | model name : Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz
|
|---|
| 125 | stepping : 6
|
|---|
| 126 | cpu MHz : 1000.000
|
|---|
| 127 | cache size : 4096 KB
|
|---|
| 128 | physical id : 0
|
|---|
| 129 | siblings : 2
|
|---|
| 130 | core id : 1
|
|---|
| 131 | cpu cores : 2
|
|---|
| 132 | fpu : yes
|
|---|
| 133 | fpu_exception : yes
|
|---|
| 134 | cpuid level : 10
|
|---|
| 135 | wp : yes
|
|---|
| 136 | 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 syscall nx lm constant_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm
|
|---|
| 137 | bogomips : 4000.00
|
|---|
| 138 | clflush size : 64
|
|---|
| 139 | cache_alignment : 64
|
|---|
| 140 | address sizes : 36 bits physical, 48 bits virtual
|
|---|
| 141 | power management:
|
|---|
| 142 |
|
|---|
| 143 | abolte@sphinx:~$
|
|---|