[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug #29325] Undefined Symbol 'rpl_wctob'
From: |
Dagobert Michelsen |
Subject: |
Re: [bug #29325] Undefined Symbol 'rpl_wctob' |
Date: |
Thu, 25 Mar 2010 11:25:22 +0100 |
Hi Jim,
Am 24.03.2010 um 18:24 schrieb Jim Meyering:
Jim Meyering wrote:
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.
...
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>.
In case you'd like to test, here's a copy of the latest:
http://meyering.net/grep/tmp/grep-2.6.7-64540.tar.xz
This works, I get an almost-clean compile with the following warnings:
CC main.o
"main.c", line 1628: warning: argument #2 is incompatible with
prototype:
prototype: pointer to pointer to char : "../lib/getopt.h",
line 241
argument : pointer to const pointer to char
AR libgrep.a
CC grep.o
"grep.c", line 10: warning: void function cannot return value
"grep.c", line 16: warning: void function cannot return value
"grep.c", line 22: warning: void function cannot return value
CCLD grep
CC egrep.o
"egrep.c", line 7: warning: void function cannot return value
I used -features=extensions as suggested in
<http://savannah.gnu.org/bugs/?24813>
However, the test char-class-multibyte is failing:
================================================
GNU grep 2.6.7-64540: tests/test-suite.log
================================================
1 of 27 tests failed. (2 tests were not run).
.. contents:: :depth: 2
FAIL: char-class-multibyte (exit: 1)
====================================
out1-none exp1 differ: char 2, line 1
out2-none exp2 differ: char 2, line 1
SKIP: euc-mb (exit: 77)
=======================
????
euc-mb: skipped test: EUC-JP locale seems not to work
SKIP: fmbtest.sh (exit: 77)
===========================
Is this a problem with the testsuite or a real problem?
Best regards
-- Dago
[bug #29325] Undefined Symbol 'rpl_wctob', Jim Meyering, 2010/03/24