[pcre-dev] [Bug 1244] Will not build

Páxina inicial
Borrar esta mensaxe
Autor: Philip Hazel
Data:  
Para: pcre-dev
Asunto: [pcre-dev] [Bug 1244] Will not build
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1244




--- Comment #1 from Philip Hazel <ph10@???> 2012-05-04 18:17:51 ---
On Fri, 4 May 2012, Jim wrote:

> I am using this on a Solaris Box running Ver 9 with a gcc compiler 3.4.2
>
> I get 
> ld: warning: file
> /usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/../../../libstdc++.so: linked to
> /usr/local/lib/./libstdc++.so: attempted multiple inclusion of file
> Undefined                       first referenced
>  symbol                             in file
> std::basic_string<char, std::char_traits<char>, std::allocator<char>
> >::_Rep::_S_empty_rep_storagepcrecpp_unittest.o
> __gnu_cxx::__exchange_and_add(int volatile*, int)pcrecpp_unittest.o
> ld: fatal: Symbol referencing errors. No output written to pcrecpp_unittest
> collect2: ld returned 1 exit status
> make[1]: *** [pcrecpp_unittest] Error 1
> make[1]: Leaving directory `/opt/src/pcre-8.20'
> make: *** [all] Error 2


Have you tried the two subsequent releases, 8.21 and 8.30? I'm afraid I
have no access to any Solaris boxes on which to experiment. What is
failing is the building of the test program for the C++ wrapper. If
you are only going to use the C library (not C++) you can disable C++ by
configuring with --disable-cpp. Even if you are going to use C++, it may
well work, because it is just the test program that is failing.

Philip


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email