[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using regex on OS/X
From: |
Paul Eggert |
Subject: |
Re: Using regex on OS/X |
Date: |
Thu, 22 Sep 2005 22:16:44 -0700 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) |
James Gallagher <address@hidden> writes:
> g++ -I./GNU -g -O2 -o getdap getdap.o -Wl,-bind_at_load
> ./.libs/libdap.a -L/usr/local/lib /usr/local/lib/libcurl.dylib -lssl
> -lcrypto /usr/local/lib/libxml2.dylib -ldl -lz /usr/lib/libiconv.dylib
> -lm -lpthread
> ld: warning multiple definitions of symbol _regcomp
> ./.libs/libdap.a(regex.o) definition of _regcomp in section
> (__TEXT,__text)
> /usr/lib/libdl.dylib(regcomp.So) definition of _regcomp
Does it fix things if you put
#define regcomp rpl_regcomp
into config.h, and similarly for regexec and regfree? If so, we
should probably modify regex.m4 to do that.