News:

Latest versions:
Server plugin: 0.5.1
MVP dongle: 0.5.2
Raspberry Pi client: 0.5.2
Windows client: 0.5.2-1

Main Menu

Changes to development script or enrivonment...

Started by Fourty2, February 10, 2007, 17:16:21

Previous topic - Next topic

carsten

Hi,

I was curious about Torsten's comment and checked. The file we are talking about is in the
crosstool-0.43.tar.gz archive:

 
Quotecrosstool-0.43/patches/glibc-2.2.5/glibc-2.2.5-allow-gcc-4.0-configure.patch

and it should read like this:

Fixes
checking version of powerpc-405-linux-gnu-gcc ... 4.0.0, bad
checking for gnumake... no
checking for gmake... no
checking for make... make
checking version of make... 3.80, ok
configure: error:
*** These critical programs are missing or too old:gcc


--- glibc-2.2.5/configure.old   2005-03-10 00:23:46.374213600 -0800
+++ glibc-2.2.5/configure       2005-03-10 00:25:13.313996744 -0800
@@ -1476,7 +1476,7 @@
   ac_prog_version=`$CC -v 2>&1 | sed -n 's/^.*version \([egcygnustpi-]*[0-9.]*\).*$/\1/p'`
   case $ac_prog_version in
     '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
-    *gcc-2.9[5-9].*|*2.8.[1-9]*|*2.9|*2.9.[0-9]*|2.9[5-9]*|3.[0-9]*|cygnus-2.9[1-9]*|gcc-2.9[5-9]|gcc-2.1[0-9][0-9]|sgicc-*
)
+    *gcc-2.9[5-9].*|*2.8.[1-9]*|*2.9|*2.9.[0-9]*|2.9[5-9]*|3.[0-9]*|4.[012]*|cygnus-2.9[1-9]*|gcc-2.9[5-9]|gcc-2.1[0-9][0-9
]|sgicc-*)
        ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
     *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;



The patched line is in the lower third and reads (change marked in red):

+    *gcc-2.9[5-9].*|*2.8.[1-9]*|*2.9|*2.9.[0-9]*|2.9[5-9]*|3.[0-9]*|4.[012]*|cygnus-2.9...

because, as Torsten pointed out, it won't allow compiler past 4.0 to be used. I guess this would fix our problem,
but I am actually checking it out (had to interrupt my process based on gcc-3.3, but I think it's worth it...).

I will keep you informed here...

BR,
Carsten.

carsten

#16
Good News!  :)

It seems the patch will allow us to use also compiler > 3.3 (I tested with Debian 4.1.1-21, which is 4.1.2 prerelease).

I was able to create a dongle and it works perfectly.

Chris, when I find your email, I will mail you that one file...maybe you can change it in the package.

Thanks Torsten for pointing that out!

Best Regards,
Carsten.

davep

Also working on my Mandriva box after applying the crosstool fix.

One other problem when building the NFS-mount version. While the VOMP kernel is built locally, the modules are supplied by the nfs tarball, and there is a version mismatch:

./insmods.sh
Using /lib/modules/2.4.31/misc/os_core.o
insmod: kernel-module version mismatch
        /lib/modules/2.4.31/misc/os_core.o was compiled for kernel version 2.4.31-v1.1-hcwmvp
        while this kernel is version 2.4.31.

A quick fix is to add the "-f" option to the insmod lines in insmod.sh.