fdflush typo breaks build
Erik Hovland
erik at hovland.org
Thu Jun 1 20:37:29 UTC 2006
package: busybox
version: trunk
When I do a make allyesconfig (then disable SE Linux) and then type
'make busybox', the build fails with:
ehovland at mage:handhelds/busybox-trunk>make busybox
HOSTLINK scripts/usage
In file included from
/export/home/build/handhelds/busybox-trunk/scripts/usage.c:7:
/export/home/build/handhelds/busybox-trunk/include/applets.h:112: error: syntax error before "fdflish_trivial_usage"
make[1]: *** [scripts/usage] Error 1
make: *** [busybox] Error 2
The attached patch seems to fix the problem (assuming that it is a typo
with the fdflush macro.
E
--
Erik Hovland
mail: erik AT hovland DOT org
web: http://hovland.org/
PGP/GPG public key available on request
-------------- next part --------------
Index: include/applets.h
===================================================================
--- include/applets.h (revision 15261)
+++ include/applets.h (working copy)
@@ -109,7 +109,7 @@
USE_FAKEIDENTD(APPLET(fakeidentd, _BB_DIR_USR_SBIN, _BB_SUID_NEVER))
USE_FALSE(APPLET(false, _BB_DIR_BIN, _BB_SUID_NEVER))
USE_FBSET(APPLET(fbset, _BB_DIR_USR_SBIN, _BB_SUID_NEVER))
-USE_FDFLUSH(APPLET_ODDNAME(fdflush, freeramdisk, _BB_DIR_BIN, _BB_SUID_NEVER, fdflish))
+USE_FDFLUSH(APPLET_ODDNAME(fdflush, freeramdisk, _BB_DIR_BIN, _BB_SUID_NEVER, fdflush))
USE_FDFORMAT(APPLET(fdformat, _BB_DIR_USR_BIN, _BB_SUID_NEVER))
USE_FDISK(APPLET(fdisk, _BB_DIR_SBIN, _BB_SUID_NEVER))
USE_FEATURE_GREP_FGREP_ALIAS(APPLET_NOUSAGE(fgrep, grep, _BB_DIR_BIN, _BB_SUID_NEVER))
More information about the busybox
mailing list