[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freewrt-commits
Subject:    [FreeWRT-commits] r3881 - trunk/freewrt/scripts
From:       tg () freewrt ! org
Date:       2009-10-15 13:39:35
Message-ID: 20091015133935.6F3711C018 () frozenfish ! freewrt ! org
[Download RAW message or body]

Author: tg
Date: 2009-10-15 15:39:33 +0200 (Thu, 15 Oct 2009)
New Revision: 3881

Modified:
   trunk/freewrt/scripts/scan-tools.sh
Log:
The ADK (FreeWRT-trunk) will fail to bootstrap because MirMake cannot
possibly be built on, for example, Debian squeeze/sid (use lenny instead).


Modified: trunk/freewrt/scripts/scan-tools.sh
===================================================================
--- trunk/freewrt/scripts/scan-tools.sh	2009-10-14 18:28:21 UTC (rev 3880)
+++ trunk/freewrt/scripts/scan-tools.sh	2009-10-15 13:39:33 UTC (rev 3881)
@@ -410,6 +410,36 @@
 	out=1
 fi
 
+if fgrep -w __unused /usr/include/asm/stat.h /usr/include/linux/sysctl.h \
+    >/dev/null 2>&1; then
+	echo 'Compiling MirMake, which is required by the ADK, will most'
+	echo 'likely fail for your system, due to incompatibilities in the'
+	echo 'Linux headers. This has been reported as Debian #522773 and'
+	echo 'forwarded to: http://bugzilla.kernel.org/show_bug.cgi?id=14186'
+	echo
+	echo 'You can continue if you are totally sure that this is not an'
+	echo 'issue for your system. Otherwise you should replace all occu-'
+	echo 'rences of "__unused" (but not e.g. "__unused1") in your sy-'
+	echo 'stem headers with e.g. "__unused_" to work around this bug.'
+	echo
+	out=1
+fi
+
+if fgrep -w __unused /usr/include/bits/stat.h /usr/include/netdb.h \
+    >/dev/null 2>&1; then
+	echo 'Compiling MirMake, which is required by the ADK, will most'
+	echo 'likely fail for your system, due to incompatibilities in the'
+	echo 'glibc headers. This has been reported as Debian #522774 and'
+	echo 'and treated as WONTFIX by the eglibc maintainers.'
+	echo
+	echo 'You can continue if you are totally sure that this is not an'
+	echo 'issue for your system. Otherwise you should replace all occu-'
+	echo 'rences of "__unused" (but not e.g. "__unused1") in your sy-'
+	echo 'stem headers with e.g. "__unused_" to work around this bug.'
+	echo
+	out=1
+fi
+
 if [[ ${BASH_VERSION%%.*} -lt 2 || ${BASH_VERSION%%.*} -gt 3 ]]; then
 	echo '*WARNING* Your GNU bash is not version 2 or 3, which'
 	echo may lead to errors.

_______________________________________________
freewrt-commits mailing list
freewrt-commits@freewrt.org
https://www.freewrt.org/lists/listinfo/freewrt-commits
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic