Dagobert Michelsen wrote:
> URL:
>   <http://savannah.gnu.org/bugs/?29325>
>
>                  Summary: Undefined Symbol 'rpl_wctob'
>                  Project: grep
>
> Details:
>
> On Solaris 8 Sparc w/Sun Studio 11 I get a link error
>
>   CCLD     grep
> Undefined                       first referenced
>  symbol                             in file
> rpl_wctob                           libgrep.a(dfa.o)
>
> This looks like an incomplete import from GNULib.

Thanks for the report.
This is indeed the problem:
that module is used in the gnulib-tests, yet not
explicitly included in the list of modules.

Adding the wctob module to the list in bootstrap.conf
appears to fix it.

>From 64540cdf4afc0857a4e79abdb858f426ec7a69a9 Mon Sep 17 00:00:00 2001
From: Jim Meyering <[email protected]>
Date: Wed, 24 Mar 2010 18:17:18 +0100
Subject: [PATCH] build: avoid link failure on Solaris 8

* bootstrap.conf (gnulib_modules): Add wctob.
* NEWS (Portability): Mention this.
Reported by Dagobert Michelsen in <http://sv.gnu.org/bugs/?29325>.
---
 NEWS           |    4 ++++
 THANKS         |    1 +
 bootstrap.conf |    1 +
 3 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/NEWS b/NEWS
index 72a4d27..387cd59 100644
--- a/NEWS
+++ b/NEWS
@@ -7,6 +7,10 @@ GNU grep NEWS                                    -*- outline 
-*-
   Character classes could cause a segmentation fault if they included a
   multibyte character.  [bug introduced in 2.6]

+** Portability
+
+  Avoid a link failure on Solaris 8.
+

 * Noteworthy changes in release 2.6 (2010-03-23) [stable]

diff --git a/THANKS b/THANKS
index d1d1ad4..a850888 100644
--- a/THANKS
+++ b/THANKS
@@ -17,6 +17,7 @@ Bob Proulx                 <[email protected]>
 Brian Youmans              <[email protected]>
 Bruno Haible               <[email protected]>
 Christian Groessler        <[email protected]>
+Dagobert Michelsen         <[email protected]>
 David Clissold             <[email protected]>
 David J MacKenzie          <[email protected]>
 David O'Brien              <[email protected]>
diff --git a/bootstrap.conf b/bootstrap.conf
index c9ed8f4..13c0642 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -73,6 +73,7 @@ update-copyright
 useless-if-before-free
 wchar
 wcrtomb
+wctob
 wctype
 xalloc
 xstrtoumax
--
1.7.0.3.435.g097f4


Reply via email to