Re: unable to compile on mac 10.5.2
From: "Tobias Markmann" <tmarkmann@xxxxxxxxxxxxxx>
Date: Tue, 1 Apr 2008 16:31:41 +0200 (CEST)
On Tue, Apr 1, 2008 at 4:25 PM, Hao Chen <h8chen@xxxxxxxxx> wrote:
> Hi there,
>
> I'm unable to make gloox on my powerbook G4. I have both gnutls 2.2.2 and
> openssl 0.9.8g installed. I did "./configure" first, which ran OK. But when
> I try to make, it outputs the following(the last chunk of the output):
>
>  g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -pedantic -pipe -W -Wfloat-equal
> -Wcast-align -Wsign-compare -Wpointer-arith -Wswitch -Wunknown-pragmas
> -Wconversion -Wundef -Wcast-qual -ansi -Wwrite-strings -Wformat-security
> -Wmissing-format-attribute -D_THREAD_SAFE -g -O2 -MT tlsgnutlsclient.lo -MD
> -MP -MF .deps/tlsgnutlsclient.Tpo -c tlsgnutlsclient.cpp  -fno-common -DPIC
> -o .libs/tlsgnutlsclient.o
>   g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -pedantic -pipe -W -Wfloat-equal
> -Wcast-align -Wsign-compare -Wpointer-arith -Wswitch -Wunknown-pragmas
> -Wconversion -Wundef -Wcast-qual -ansi -Wwrite-strings -Wformat-security
> -Wmissing-format-attribute -D_THREAD_SAFE -g -O2 -MT tlsgnutlsclient.lo -MD
> -MP -MF .deps/tlsgnutlsclient.Tpo -c tlsgnutlsclient.cpp -o
> tlsgnutlsclient.o >/dev/null 2>&1
>  if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
> -I..  -Wall -pedantic -pipe -W -Wfloat-equal -Wcast-align -Wsign-compare
> -Wpointer-arith -Wswitch -Wunknown-pragmas -Wconversion -Wundef -Wcast-qual
> -ansi -Wwrite-strings -Wformat-security -Wmissing-format-attribute
> -D_THREAD_SAFE   -g -O2 -MT tlsopenssl.lo -MD -MP -MF ".deps/tlsopenssl.Tpo"
> -c -o tlsopenssl.lo tlsopenssl.cpp; \
>      then mv -f ".deps/tlsopenssl.Tpo" ".deps/tlsopenssl.Plo"; else rm -f
> ".deps/tlsopenssl.Tpo"; exit 1; fi
>  g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -pedantic -pipe -W -Wfloat-equal
> -Wcast-align -Wsign-compare -Wpointer-arith -Wswitch -Wunknown-pragmas
> -Wconversion -Wundef -Wcast-qual -ansi -Wwrite-strings -Wformat-security
> -Wmissing-format-attribute -D_THREAD_SAFE -g -O2 -MT tlsopenssl.lo -MD -MP
> -MF .deps/tlsopenssl.Tpo -c tlsopenssl.cpp  -fno-common -DPIC -o
> .libs/tlsopenssl.o
>  {standard input}:7471:non-relocatable subtraction expression,
> "__Z7toloweri" minus "L00000000011$pb"
> {standard input}:7471:symbol: "__Z7toloweri" can't be undefined in a
> subtraction expression
>  {standard input}:7467:non-relocatable subtraction expression,
> "__Z7toloweri" minus "L00000000011$pb"
> {standard input}:7467:symbol: "__Z7toloweri" can't be undefined in a
> subtraction expression
>  make[3]: *** [tlsopenssl.lo] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>
> I tried both gloox 0.9.9.5 and 1.0-beta 2, and they have the same error.
>
> Could you please help me on this? Thanks a lot.
>
> Hao
>
> --
>  gloox-dev mailing list
>  to unsubscribe:
>  send a message with subject 'unsubscribe gloox-dev' to
> minimalist@xxxxxxxxxx
>

Hi,

This is a know bug and we are seeking workarounds for it. If you know
one do tell. ;)
If you comment out this line domains like ExamPle.com just won't be
converted to lowercase example.com. It's nothing more.
gloox will completely work without this line except when you are
giving uppercase domain names and gloox tries to compare it with the
lowercase domain in the certificate.

Tobias