[quagga-dev 8769] libutil warnings on Linux

Stephen Hemminger shemminger at vyatta.com
Tue Aug 23 01:03:11 BST 2011

Recent versions of libc on Linux (Debian Testing) create lots of
compile warnings about direct usage of libutil.h

/usr/include/libutil.h:33:2: warning: #warning "Deprecated header, use <bsd/libutil.h> or libbsd-overlay.pc instead." [-Wcpp]

I can't see any use of LIBUTIL stuff in current Quagga code, would removing
it break other platforms.

--- a/configure.ac	2011-08-22 17:00:11.729566552 -0700
+++ b/configure.ac	2011-08-22 17:00:28.249567306 -0700
@@ -395,7 +395,7 @@ dnl Check other header files.
 dnl -------------------------
 AC_CHECK_HEADERS([stropts.h sys/ksym.h sys/times.h sys/select.h \
 	sys/types.h linux/version.h netdb.h asm/types.h \
-	sys/param.h limits.h signal.h libutil.h \
+	sys/param.h limits.h signal.h \
 	sys/socket.h netinet/in.h time.h sys/time.h])
 dnl Utility macro to avoid retyping includes all the time

More information about the Quagga-dev mailing list