[BusyBox] dpkg.c -- a couple of build bugs
Manuel Novoa III
mnovoa3 at bellsouth.net
Wed Mar 14 16:25:16 UTC 2001
Erik,
There are a couple of bugs in the tfind error message added to dpkg.c.
1) I think you have the sense of the #if test reversed.
2) gcc treats the apostrophe in doesn't as the start of a char/string
Manuel
[mjn3 at mars busybox]$ cvs diff dpkg.c
Index: dpkg.c
===================================================================
RCS file: /var/cvs/busybox/dpkg.c,v
retrieving revision 1.11
diff -u -b -B -w -p -r1.11 dpkg.c
--- dpkg.c 2001/03/14 01:31:11 1.11
+++ dpkg.c 2001/03/14 16:27:37
@@ -14,8 +14,8 @@
/* Stupid libc doesn't have a reliable way for use to know
* that libc5 is being used. Assume this is good enough */
-#if defined __GLIBC__ || defined __UCLIBC__
-#error It looks like you are using libc5, which doesn't support
+#if !defined __GLIBC__ || !defined __UCLIBC__
+#error It looks like you are using libc5, which does not support
#error tfind(). tfind() is used by busybox dpkg.
#error Please disable BB_DPKG. Sorry.
#endif
More information about the busybox
mailing list