bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] version-etc: undefined reference to _version_etc_copyright


From: Andrew Schulman
Subject: [PATCH] version-etc: undefined reference to _version_etc_copyright
Date: Wed, 21 Sep 2011 16:24:43 -0400

In the current gnulib, when I extract and try to build argp and
argp-version-etc, the build fails with

.libs/version-etc.o: In function `version_etc_arn':
/home/admin/dev/cygwin/libargp/libargp-20110921/gllib/version-etc.c:84:
undefined reference to `_version_etc_copyright'

The only module that provides the missing constant is version-etc-fsf, so it
seems that version-etc should depend on version-etc-fsf.  The patch below
fixes the problem.

Andrew.

diff --git a/modules/version-etc b/modules/version-etc
index d4cea5a..2ea97b7 100644
--- a/modules/version-etc
+++ b/modules/version-etc
@@ -9,6 +9,7 @@ m4/version-etc.m4
 Depends-on:
 gettext-h
 stdarg
+version-etc-fsf

 configure.ac:
 gl_VERSION_ETC




reply via email to

[Prev in Thread] Current Thread [Next in Thread]