Hello

following up to my compile problems with wlan-ng in 2.4.2 I believe I 
found the culprit for this version in linux-wlan-Configure.patch.gz


+# Debian mod: Allow CC to be specified to set the compiler.
+if [ -z "$CC" ]; then
+        CC=gcc
+fi
+
+
  dump_str 'HOST_AS=$(HOST_COMPILE)as'linux-wlan-Configure.patch.gz
  dump_str 'HOST_LD=$(HOST_COMPILE)ld'
-dump_str 'HOST_CC=$(HOST_COMPILE)gcc'
+dump_str 'HOST_CC=$(HOST_COMPILE)'$CC

it appears that $CC is set to /usr/bin/gcc at the time this patch is 
applied. Subsequently HOST_CC points to an invalid program location and 
the compile fails.

IMHO if we want to achieve the right substitution we should


if [ "$CC" ]; then
        dump_str HOST_CC=$CC
else
        dump_str HOST_CC=$(HOST_COMPILE)gcc
fi

....

cheers

Erich



Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
leaf-devel mailing list
leaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to