Ticket #130 (closed defect: fixed)

Opened 15 months ago

Last modified 15 months ago

jabberd-2.1.14 does not compile with --disable-ssl

Reported by: yannick56 Owned by: smoku
Priority: major Component: Build
Version: 2.1.14 Keywords:
Cc: Tracforge_linkmap:
Blocking: Blocked By:

Description

Hello,

Now, I'm trying to compile Jabberd2-2.1.14 on Sun Solaris 8 / Sparc
and with the tools:
* gcc-3.4.6
* gnu make 3.80
* autoconf 2.60
* automake 1.10
* libtools 1.5
* pkgconfig 0.20
* m4 1.4.7
* mm 1.4.2
from www.sunfreeware.com,
but I can not compile Jabberd2.

I use this parameters for configure :
CFLAGS="-O3 -mcpu=ultrasparc -mtune=ultrasparc " \
CXXFLAGS="-O3 -mcpu=ultrasparc -mtune=ultrasparc " \
CPPFLAGS="-I/opt/jabberd-2.1.14/lib/expat-2.0.1/include \
-I/opt/jabberd-2.1.14/lib/libidn-0.6.14/include \
-I/opt/jabberd-2.1.14/lib/gsasl-0.2.15/include \
-I/usr/include \
-I/usr/local/include" \
LDFLAGS="-L/opt/jabberd-2.1.14/lib/expat-2.0.1/lib \
-L/opt/jabberd-2.1.14/lib/libidn-0.6.14/lib \
-L/opt/jabberd-2.1.14/lib/gsasl-0.2.15/lib \
-L/usr/lib \
-L/usr/local/lib" \
./configure \
--prefix=/opt/jabberd-2.1.14 \
--enable-sasl=gsasl \
--disable-ssl \
--disable-mysql \
--disable-pgsql \
--disable-sqlite \
--disable-db \
--disable-oracle \
--disable-ldap \
--disable-pam \
--disable-pipe \
--enable-anon \
--enable-fs \
--enable-shared --disable-static \
--with-pic

Compile stop with this error :

$ - /home/my_user/sources/jabberd2-2.1.14> make
make all-recursive
make[1]: Entering directory `/home/my_user/sources/jabberd2-2.1.14'
Making all in etc
make[2]: Entering directory `/home/my_user/sources/jabberd2-2.1.14/etc'
Making all in templates
make[3]: Entering directory `/home/my_user/sources/jabberd2-2.1.14/etc/templates'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/my_user/sources/jabberd2-2.1.14/etc/templates'
make[3]: Entering directory `/home/my_user/sources/jabberd2-2.1.14/etc'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/my_user/sources/jabberd2-2.1.14/etc'
make[2]: Leaving directory `/home/my_user/sources/jabberd2-2.1.14/etc'
Making all in tools
make[2]: Entering directory `/home/my_user/sources/jabberd2-2.1.14/tools'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/my_user/sources/jabberd2-2.1.14/tools'
Making all in man
make[2]: Entering directory `/home/my_user/sources/jabberd2-2.1.14/man'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/my_user/sources/jabberd2-2.1.14/man'
Making all in mio
make[2]: Entering directory `/home/my_user/sources/jabberd2-2.1.14/mio'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/my_user/sources/jabberd2-2.1.14/mio'
Making all in subst
make[2]: Entering directory `/home/my_user/sources/jabberd2-2.1.14/subst'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/my_user/sources/jabberd2-2.1.14/subst'
Making all in sx
make[2]: Entering directory `/home/my_user/sources/jabberd2-2.1.14/sx'
make[3]: Entering directory `/home/my_user/sources/jabberd2-2.1.14/sx'
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/jabberd-2.1.14/lib/expat-2.0.1/include -I/opt/jabberd-2.1.14/lib/libidn-0.6.14/include -I/opt/jabberd-2.1.14/lib/gsasl-0.2.15/include -I/usr/include -I/usr/local/include -O3 -mcpu=ultrasparc -mtune=ultrasparc -MT sasl_gsasl.lo -MD -MP -MF .deps/sasl_gsasl.Tpo -c -o sasl_gsasl.lo sasl_gsasl.c

gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/jabberd-2.1.14/lib/expat-2.0.1/include -I/opt/jabberd-2.1.14/lib/libidn-0.6.14/include -I/opt/jabberd-2.1.14/lib/gsasl-0.2.15/include -I/usr/include -I/usr/local/include -O3 -mcpu=ultrasparc -mtune=ultrasparc -MT sasl_gsasl.lo -MD -MP -MF .deps/sasl_gsasl.Tpo -c sasl_gsasl.c -fPIC -DPIC -o .libs/sasl_gsasl.o

sasl_gsasl.c: In function `_sx_sasl_client_process':
sasl_gsasl.c:324: error: `_sx_ssl_conn_t' undeclared (first use in this function)
sasl_gsasl.c:324: error: (Each undeclared identifier is reported only once
sasl_gsasl.c:324: error: for each function it appears in.)
sasl_gsasl.c:324: error: syntax error before "s"
make[3]: *** [sasl_gsasl.lo] Error 1
make[3]: Leaving directory `/home/my_user/sources/jabberd2-2.1.14/sx'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/my_user/sources/jabberd2-2.1.14/sx'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/my_user/sources/jabberd2-2.1.14'
make: *** [all] Error 2
$ - /home/my_user/sources/jabberd2-2.1.14>

Thanks to help to resolve this problem because I want to setup a new Jabber server. If you need others informations or tests , I can send you or make the tests that you want.

Change History

Changed 15 months ago by smoku

  • status changed from new to assigned
  • summary changed from can not compile Jabberd2-2.1.14 on Sun solaris 8 (undeclared identifier) to jabberd-2.1.14 does not compile with --disable-ssl

Changed 15 months ago by smoku

(In [350]) Pulling in -ldl manually not indirectly via -lssl. This refs #130

Changed 15 months ago by smoku

  • status changed from assigned to closed
  • resolution set to fixed

(In [351]) Added missing checks for compilation without SSL which fixes #130

Note: See TracTickets for help on using tickets.