I know that building VBox in x86_64 isn't supported, but I have gotten most of 
the way. So far, the 
only change I have needed was the following patch to configure.

Index: configure
===================================================================
--- configure   (revision 2071)
+++ configure   (working copy)
@@ -194,10 +194,12 @@
    case "$CPU" in
      i[3456789]86|x86)
        MACHINE='x86'
+      LIBDIR='lib'
        ;;
      x86_64|amd64)
        MACHINE='amd64'
        CPU='k8'
+      LIBDIR='lib64'

        echo ""
        echo ""
@@ -495,7 +497,7 @@
      else
        log_success "found version $libidl_ver"
        cnf_append "VBOX_LIBIDL_CONFIG" \
-        "PKG_CONFIG_PATH=`libIDL-config-2 --prefix`/lib/pkgconfig 
`which_wrapper libIDL-config-2`"
+        "PKG_CONFIG_PATH=`libIDL-config-2 --prefix`/$LIBDIR/pkgconfig 
`which_wrapper libIDL-config-2`"
      fi
    elif check_avail "libIDL-config" libIDL-config; then
      libidl_ver=`libIDL-config --version`


My question concerns setting the proper path for libstdc++. My build goes fine 
up to building the 
tests, where I get the following:

kmk[4]: Entering directory `/home/finger/vbox/src/VBox/VMM/testcase'
kBuild: Linking tstVMStructGC
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld: 
skipping incompatible 
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/libstdc++.so when searching for -lstdc++
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld: 
skipping incompatible 
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/libstdc++.a when searching for -lstdc++
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld: 
cannot find -lstdc++
collect2: ld returned 1 exit status

Which version of libstdc++ does the build need? Mine is 
/usr/lib64/libstdc++.so.6.0.8.

Any suggestions on what I need to change?

Thanks,

Larry


_______________________________________________
vbox-dev mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-dev

Reply via email to