bug-gnulib
[Top][All Lists]
Advanced

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

Using regex on OS/X


From: James Gallagher
Subject: Using regex on OS/X
Date: Thu, 22 Sep 2005 11:07:19 -0600

Hi,

When I build on OS/X (either 10.3 or 10.4) I get the following warnings:

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
ld: warning multiple definitions of symbol _regexec
./.libs/libdap.a(regex.o) definition of _regexec in section (__TEXT,__text)
/usr/lib/libdl.dylib(regexec.So) definition of _regexec
ld: warning multiple definitions of symbol _regfree
./.libs/libdap.a(regex.o) definition of _regfree in section (__TEXT,__text)
/usr/lib/libdl.dylib(regfree.So) definition of _regfree
Making all in tests
make[2]: Nothing to be done for `all'.
otaku:~/src/libdap jimg$

While on various linux platforms I do not get the warnings (although the regex code is built on those, too).

Any idea as to ow I should fix this? My copy of gnulib is from Sept 6.

Thanks,
James
--
James Gallagher                jgallagher at opendap.org
OPeNDAP, Inc                   406.723.8663





reply via email to

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