bison-patches
[Top][All Lists]
Advanced

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

FYI: c++.m4


From: Akim Demaille
Subject: FYI: c++.m4
Date: Fri, 16 Sep 2005 21:26:41 +0200

There is something not clear with I18n on MacOSX.  I have absolutely
not followed what went on about internationalizing the parsers, but
I experience the following failure with most tests:

5. input.at:130: testing ...
input.at:136: bison input.y
input.at:266: bison -d -v -o input.c input.y
input.at:267: $CC $CFLAGS $CPPFLAGS -o input.o -c input.c
stderr:
stdout:
input.at:268: $CC $CFLAGS $CPPFLAGS -o main.o -c main.c
stderr:
stdout:
input.at:269: $CC $CFLAGS $CPPFLAGS $LDFLAGS -o input input.o main.o $LIBS
stderr:
/usr/bin/ld: Undefined symbols:
_libintl_dgettext
collect2: ld returned 1 exit status
stdout:
input.at:269: exit code was 1, expected 0
5. input.at:130: 5. Torturing the Scanner (input.at:130): FAILED (input.at:269)

If I edit atlocal so that LIBS contains what I found in Makefile
as INTLLIBS, i.e.:


# Are special libraries needed?
LIBS='-L/usr/local/lib -lintl -liconv -lc -Wl,-framework - Wl,CoreFoundation'

then the test suite passes.

Attachment: diffs.patch
Description: Binary data



reply via email to

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