From b58a140b071910aebb6c6ac3f95360d49b58e4a4 Mon Sep 17 00:00:00 2001 From: JaysonHurst Date: Tue, 16 Sep 2014 11:48:32 -0600 Subject: [PATCH] Updates to compile MAV against newer versions of gcc --- NEWS | 6 ++++++ check-symbols.sh | 3 ++- configure.ac | 4 ++++ 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index e01d587..c264773 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,9 @@ +3.6.8.3 (2014-09-16) + - Fixed configure.ac to compile with newer version of gcc. + - removed #define TRACE_DEBUG so trace debug will not be written + out to /tmp by default. + - Fixed an issue with the check symbol code. + 3.6.8.2 (2014-05-19) - Added ability to enable QAS API debug Bug# 848 diff --git a/check-symbols.sh b/check-symbols.sh index 96275c5..1caa729 100755 --- a/check-symbols.sh +++ b/check-symbols.sh @@ -31,7 +31,8 @@ while [ $# -gt 1 ]; do # Find Initialized (D)ata, (T)ext, (B)SS (zeroed) and (R)ead-only dynamic # symbols. _init and _fini are always ignored. syms=`nm -D --defined-only -- "$MODULE" | cut -d' ' -f2- | grep -E '^(D|T|B|R)' | \ - grep -Ev -- "$ALLOW_PATTERN" | grep -Ev '^T _(init|fini)$' || true` + grep -Ev -- "$ALLOW_PATTERN" | grep -Ev '^T _(init|fini)$' | \ + grep -Ev '^B _(_bss_start|end)$' | grep -Ev '^D _edata' || true` if [ "$syms" != "" ]; then echo >&2 echo "Found unexpected symbols in $MODULE:" >&2 diff --git a/configure.ac b/configure.ac index f3d7195..7bf7956 100644 --- a/configure.ac +++ b/configure.ac @@ -9,6 +9,10 @@ AC_PREREQ(2.55) AC_CONFIG_HEADERS([config.h]) AC_CONFIG_AUX_DIR([.]) AC_CONFIG_MACRO_DIR([m4]) + +m4_pattern_allow([AM_PROG_AR]) +AM_PROG_AR + AM_INIT_AUTOMAKE([foreign -Wall]) AC_CONFIG_SRCDIR([mod_auth_vas.c])