James Gallagher <[EMAIL PROTECTED]> writes:

> On linux (RHEL3) I had to add strcase to the
> modules/regex file under 'depends-on'.

Thanks.  I installed this:

2005-09-27  Paul Eggert  <[EMAIL PROTECTED]>

        * modules/regex (Depends-on): Add strcase.

--- modules/regex       25 Aug 2005 19:45:05 -0000      1.11
+++ modules/regex       27 Sep 2005 22:25:55 -0000      1.12
@@ -17,6 +17,7 @@ extensions
 gettext-h
 malloc
 restrict
+strcase
 
 configure.ac:
 gl_REGEX


> On Mac OS/X 10.3 I get:
>
> ld: Undefined symbols:
> _re_compile_fastmap
> _re_compile_pattern
> _re_match_2
> _re_search_2
>
> I can get these errors to go away by commenting out the AC_DEFINEs for
> them in regex.m4.

Sorry, I don't see why those errors would occur.  Can you please
explain them?

When that problem occurs, does your config.h contain "#define
re_compile_fastmap rpl_re_compile_fastmap"?  If so, how can any object
code possibly be referring to _re_compile_fastmap (or to
re_compile_fastmap)?

Also, why are these four symbols special?  Why isn't there a similar
problem with (say) re_set_registers?

Can you please investigate which of your object modules are referring
to _re_compile_fastmap (or to re_compile_fastmap), and why they are
doing so?  Likewise with _re_set_registers (or re_set_registers).  I'd
like to understand the underyling problem before committing a fix.

You can use "nm foo.o" to see what names foo.o uses.

Thanks.


_______________________________________________
bug-gnulib mailing list
bug-gnulib@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnulib

Reply via email to