undefined reference to `strverscmp
Oliver Metz
oliver.metz at gmx.de
Thu Oct 6 21:34:55 UTC 2011
Hi all.
This commit
(http://git.busybox.net/busybox/commit/?id=1e18a01fa2965ef967b99d519018e21c9
b5f15af) seems to be incorrect since even uClibc-0.9.31.1 doesn't have
strverscmp because of a forgotten export
(http://git.busybox.net/uClibc/commit/?id=139b8f0c673fed465d27f99c98568e5d5e
1b9b72). I stumbled across this when building busybox-1.19.2 against
0.9.31.1.
Perhaps the sublevel should be raised to 32?
Regards
Oliver
>From 820b38b7c46dff5d54af865047ac3c122929dda8 Mon Sep 17 00:00:00 2001
From: Oliver Metz <oliver.metz at googlemail.com>
Date: Thu, 6 Oct 2011 23:29:34 +0200
Subject: [PATCH] Fix for missing strverscmp support in uClibc-0.9.31
---
include/platform.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/platform.h b/include/platform.h
index aa1bc33..d79cc97 100644
--- a/include/platform.h
+++ b/include/platform.h
@@ -366,7 +366,7 @@ typedef unsigned smalluint;
#if defined(__UCLIBC_MAJOR__)
# if __UCLIBC_MAJOR__ == 0 \
&& ( __UCLIBC_MINOR__ < 9 \
- || (__UCLIBC_MINOR__ == 9 && __UCLIBC_SUBLEVEL__ < 31) \
+ || (__UCLIBC_MINOR__ == 9 && __UCLIBC_SUBLEVEL__ < 32) \
)
# undef HAVE_STRVERSCMP
# endif
--
1.7.4.1
More information about the busybox
mailing list