#130: can not compile Jabberd2-2.1.14 on Sun solaris 8 (undeclared identifier)
--+-
Reporter: yannick56 | Owner: smoku
Type: defect | Status: new
Priority: major | Component: Build
Version: 2.1.14 |Blocking:
--+-
Hello,[[BR]]
[[BR]]
Now, I'm trying to compile Jabberd2-2.1.14 on Sun Solaris 8 / Sparc[[BR]]
and with the tools:[[BR]]
* gcc-3.4.6[[BR]]
* gnu make 3.80 [[BR]]
* autoconf 2.60[[BR]]
* automake 1.10[[BR]]
* libtools 1.5[[BR]]
* pkgconfig 0.20[[BR]]
* m4 1.4.7[[BR]]
* mm 1.4.2[[BR]]
from www.sunfreeware.com,[[BR]]
but I can not compile Jabberd2.[[BR]]
[[BR]]
I use this parameters for configure :[[BR]]
CFLAGS=-O3 -mcpu=ultrasparc -mtune=ultrasparc \[[BR]]
CXXFLAGS=-O3 -mcpu=ultrasparc -mtune=ultrasparc \[[BR]]
CPPFLAGS=-I/opt/jabberd-2.1.14/lib/expat-2.0.1/include \[[BR]]
-I/opt/jabberd-2.1.14/lib/libidn-0.6.14/include \[[BR]]
-I/opt/jabberd-2.1.14/lib/gsasl-0.2.15/include \[[BR]]
-I/usr/include \[[BR]]
-I/usr/local/include \[[BR]]
LDFLAGS=-L/opt/jabberd-2.1.14/lib/expat-2.0.1/lib \[[BR]]
-L/opt/jabberd-2.1.14/lib/libidn-0.6.14/lib \[[BR]]
-L/opt/jabberd-2.1.14/lib/gsasl-0.2.15/lib \[[BR]]
-L/usr/lib \[[BR]]
-L/usr/local/lib \[[BR]]
./configure \[[BR]]
--prefix=/opt/jabberd-2.1.14 \[[BR]]
--enable-sasl=gsasl \[[BR]]
--disable-ssl \[[BR]]
--disable-mysql \[[BR]]
--disable-pgsql \[[BR]]
--disable-sqlite \[[BR]]
--disable-db \[[BR]]
--disable-oracle \[[BR]]
--disable-ldap \[[BR]]
--disable-pam \[[BR]]
--disable-pipe \[[BR]]
--enable-anon \[[BR]]
--enable-fs \[[BR]]
--enable-shared --disable-static \[[BR]]
--with-pic[[BR]]
[[BR]]
Compile stop with this error :[[BR]]
[[BR]]
$ - /home/my_user/sources/jabberd2-2.1.14 make[[BR]]
make all-recursive[[BR]]
make[1]: Entering directory `/home/my_user/sources/jabberd2-2.1.14'[[BR]]
Making all in etc[[BR]]
make[2]: Entering directory
`/home/my_user/sources/jabberd2-2.1.14/etc'[[BR]]
Making all in templates[[BR]]
make[3]: Entering directory
`/home/my_user/sources/jabberd2-2.1.14/etc/templates'[[BR]]
make[3]: Nothing to be done for `all'.[[BR]]
make[3]: Leaving directory
`/home/my_user/sources/jabberd2-2.1.14/etc/templates'[[BR]]
make[3]: Entering directory
`/home/my_user/sources/jabberd2-2.1.14/etc'[[BR]]
make[3]: Nothing to be done for `all-am'.[[BR]]
make[3]: Leaving directory
`/home/my_user/sources/jabberd2-2.1.14/etc'[[BR]]
make[2]: Leaving directory
`/home/my_user/sources/jabberd2-2.1.14/etc'[[BR]]
Making all in tools[[BR]]
make[2]: Entering directory
`/home/my_user/sources/jabberd2-2.1.14/tools'[[BR]]
make[2]: Nothing to be done for `all'.[[BR]]
make[2]: Leaving directory
`/home/my_user/sources/jabberd2-2.1.14/tools'[[BR]]
Making all in man[[BR]]
make[2]: Entering directory
`/home/my_user/sources/jabberd2-2.1.14/man'[[BR]]
make[2]: Nothing to be done for `all'.[[BR]]
make[2]: Leaving directory
`/home/my_user/sources/jabberd2-2.1.14/man'[[BR]]
Making all in mio[[BR]]
make[2]: Entering directory
`/home/my_user/sources/jabberd2-2.1.14/mio'[[BR]]
make[2]: Nothing to be done for `all'.[[BR]]
make[2]: Leaving directory
`/home/my_user/sources/jabberd2-2.1.14/mio'[[BR]]
Making all in subst[[BR]]
make[2]: Entering directory
`/home/my_user/sources/jabberd2-2.1.14/subst'[[BR]]
make[2]: Nothing to be done for `all'.[[BR]]
make[2]: Leaving directory
`/home/my_user/sources/jabberd2-2.1.14/subst'[[BR]]
Making all in sx[[BR]]
make[2]: Entering directory
`/home/my_user/sources/jabberd2-2.1.14/sx'[[BR]]
make[3]: Entering directory
`/home/my_user/sources/jabberd2-2.1.14/sx'[[BR]]
/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[[BR]]
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[[BR]]
sasl_gsasl.c: In function `_sx_sasl_client_process':[[BR]]
sasl_gsasl.c:324: error: `_sx_ssl_conn_t' undeclared (first use in this
function)[[BR]]
sasl_gsasl.c:324: error: (Each undeclared identifier is reported only
once[[BR]]
sasl_gsasl.c:324: error: for each function it appears in.)[[BR]]
sasl_gsasl.c:324: error: syntax error before s[[BR]]
make[3]: *** [sasl_gsasl.lo] Error 1[[BR]]
make[3]: Leaving directory
`/home/my_user/sources/jabberd2-2.1.14/sx'[[BR]]