diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-03-14 01:31:11 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-03-14 01:31:11 +0000 |
commit | 877a2c8eb5ad6a1e4b254ab13fb1d250a0db1baa (patch) | |
tree | 51d44b9eb89e85091a041e5697c92679b859a914 | |
parent | 4787c52ffa147181b31fd45db06a82e4bc1b156b (diff) | |
download | busybox-w32-877a2c8eb5ad6a1e4b254ab13fb1d250a0db1baa.tar.gz busybox-w32-877a2c8eb5ad6a1e4b254ab13fb1d250a0db1baa.tar.bz2 busybox-w32-877a2c8eb5ad6a1e4b254ab13fb1d250a0db1baa.zip |
dpkg used tfind, which doesn't work with libc5. Print a friendy error
should someone try to use it...
-Erik
git-svn-id: svn://busybox.net/trunk/busybox@2067 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r-- | archival/dpkg.c | 9 | ||||
-rw-r--r-- | dpkg.c | 9 |
2 files changed, 18 insertions, 0 deletions
diff --git a/archival/dpkg.c b/archival/dpkg.c index 4e53652e4..e0fd8a31e 100644 --- a/archival/dpkg.c +++ b/archival/dpkg.c | |||
@@ -11,6 +11,15 @@ | |||
11 | 11 | ||
12 | #include "busybox.h" | 12 | #include "busybox.h" |
13 | 13 | ||
14 | |||
15 | /* Stupid libc doesn't have a reliable way for use to know | ||
16 | * that libc5 is being used. Assume this is good enough */ | ||
17 | #if defined __GLIBC__ || defined __UCLIBC__ | ||
18 | #error It looks like you are using libc5, which doesn't support | ||
19 | #error tfind(). tfind() is used by busybox dpkg. | ||
20 | #error Please disable BB_DPKG. Sorry. | ||
21 | #endif | ||
22 | |||
14 | #define DEPENDSMAX 64 /* maximum number of depends we can handle */ | 23 | #define DEPENDSMAX 64 /* maximum number of depends we can handle */ |
15 | 24 | ||
16 | /* Should we do full dependency checking? */ | 25 | /* Should we do full dependency checking? */ |
@@ -11,6 +11,15 @@ | |||
11 | 11 | ||
12 | #include "busybox.h" | 12 | #include "busybox.h" |
13 | 13 | ||
14 | |||
15 | /* Stupid libc doesn't have a reliable way for use to know | ||
16 | * that libc5 is being used. Assume this is good enough */ | ||
17 | #if defined __GLIBC__ || defined __UCLIBC__ | ||
18 | #error It looks like you are using libc5, which doesn't support | ||
19 | #error tfind(). tfind() is used by busybox dpkg. | ||
20 | #error Please disable BB_DPKG. Sorry. | ||
21 | #endif | ||
22 | |||
14 | #define DEPENDSMAX 64 /* maximum number of depends we can handle */ | 23 | #define DEPENDSMAX 64 /* maximum number of depends we can handle */ |
15 | 24 | ||
16 | /* Should we do full dependency checking? */ | 25 | /* Should we do full dependency checking? */ |