------- You are receiving this mail because: -------
You are on the CC list for the bug.
http://bugs.exim.org/show_bug.cgi?id=874
--- Comment #1 from Philip Hazel <ph10@???> 2009-08-05 10:33:39 ---
On Wed, 5 Aug 2009, Oliver Lehmann wrote:
> I'm running pkgsrc on AIX, and PCRE is not compileable with gcc 3.4. I
> get the following linking error:
I'll try to help, but I suspect you'll have to figure it out mostly
yourself - I have no access to AIX. Hmm. Isn't gcc 3.x quite old now? I
seem to think I've been on gcc 4.x for quite some time... yes, a quick
google shows that 4.0.0 was released on April 20, 2005. I am currently
using gcc version 4.1.2 on my Gentoo Linux box.
> ld: 0711-317 ERROR: Undefined symbol: .__assert(char const*, char const*, int)
> ld: 0711-317 ERROR: Undefined symbol: .isdigit(int)
> ld: 0711-317 ERROR: Undefined symbol: .isspace(int)
> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
Don't know about the __assert thing, but .isdigit looks like it's the
internal name for the standard isdigit() function, and likewise for
isspace(). They should be in the normal library as standard.
> isdigit() ischar() in a C++ program itself works without a problem:
Hmm. Odd.
> So - I have no idea why it cannot be linked with. For me it looks like
> an error
All I can think of doing is trying to link all the PCRE .o files "by
hand", but if you are trying to make a shared library, that is
complicated. I don't know how it works - I rely on libtool to handle the
detail.
Philip
--
Configure bugmail:
http://bugs.exim.org/userprefs.cgi?tab=email