hi,
I didn't send the output, 'cause I didn't want to occupy much of your time...
A preparation step consists on making a link "ln -s /usr/include/sys/time.h /usr/include/sys/select.h", following (freely interpreted) an HP recomendation, due to HP lack of select.h (hp is a strange thing). (see http://devrsrc1.external.hp.com/STKT/impacts/i338.html).
I also tried to use a "./configure --disable-shared", or using "CFLAGS='-O -Ae -D_HPUX_SOURCE'", as pointed in an old post (), but nothing significative changed.
anyway, here are two cases I've tested (separated with ***** lines):
- 1st one: with "CFLAGS=-I/openldap-2.2.20/include" (openldap sources); this ends with "Unexpected symbol" errors... (after making some "ln -s /openldap-2.2.20/include/ldap_features.h.in /openldap-2.2.20/include/ldap_features.h" cause source files were a little strange named (?)).
************************
- 2nd one: with "export CFLAGS=-I/opt/iexpress/openldap/include" (another openldap sources I had).
************************
...
gmake[6]: Entering directory `/home/roberto/freeradius-1.0.1/src/modules/rlm_ippool'
gmake[6]: Nothing to be done for `static'.
gmake[6]: Nothing to be done for `dynamic'.
gmake[6]: Leaving directory `/home/roberto/freeradius-1.0.1/src/modules/rlm_ippool'
Making static dynamic in rlm_krb5...
gmake[6]: Entering directory `/home/roberto/freeradius-1.0.1/src/modules/rlm_krb5'
cc -I/home/roberto/openldap-2.2.20/include -DOPENSSL_NO_KRB5 -I/usr/local/include/ -DNDEBUG -I../../include -c rlm_krb5.c -o rlm_krb5.o
cc: "rlm_krb5.c", line 104: warning 611: Type conversion loses "const" qualifier.
cc: "rlm_krb5.c", line 104: warning 563: Argument #2 is not the correct type.
cc: "rlm_krb5.c", line 257: warning 604: Pointers are not assignment-compatible.
cc: "rlm_krb5.c", line 258: warning 604: Pointers are not assignment-compatible.
/home/roberto/freeradius-1.0.1/libtool --mode=link ld \
-module -static -I/home/roberto/openldap-2.2.20/include -DOPENSSL_NO_KRB5 -I/usr/local/include/ -DNDEBUG -I../../include rlm_krb5.o -o rlm_krb5.a
mkdir .libs
ar cru rlm_krb5.a rlm_krb5.o
ranlib rlm_krb5.a
/home/roberto/freeradius-1.0.1/libtool --mode=compile cc -I/home/roberto/openldap-2.2.20/include -DOPENSSL_NO_KRB5 -I/usr/local/include/ -DNDEBUG -I../../include -c rlm_krb5.c
rm -f .libs/rlm_krb5.lo
cc -I/home/roberto/openldap-2.2.20/include -DOPENSSL_NO_KRB5 -I/usr/local/include/ -DNDEBUG -I../../include -c rlm_krb5.c +Z -DPIC -o .libs/rlm_krb5.lo
cc: "rlm_krb5.c", line 104: warning 611: Type conversion loses "const" qualifier.
cc: "rlm_krb5.c", line 104: warning 563: Argument #2 is not the correct type.
cc: "rlm_krb5.c", line 257: warning 604: Pointers are not assignment-compatible.
cc: "rlm_krb5.c", line 258: warning 604: Pointers are not assignment-compatible.
cc -I/home/roberto/openldap-2.2.20/include -DOPENSSL_NO_KRB5 -I/usr/local/include/ -DNDEBUG -I../../include -c rlm_krb5.c -o rlm_krb5.o >/dev/null 2>&1
mv -f .libs/rlm_krb5.lo rlm_krb5.lo
/home/roberto/freeradius-1.0.1/libtool --mode=link cc -release 1.0.1 \
-module -export-dynamic -I/home/roberto/openldap-2.2.20/include -DOPENSSL_NO_KRB5 -I/usr/local/include/ -DNDEBUG -I../../include \
-o rlm_krb5.la -rpath /usr/local/lib rlm_krb5.lo -lk5crypto -L/usr/local/lib/ -lcrypto -lcom_err -lkrb5 -lnsl
rm -fr .libs/rlm_krb5.la .libs/rlm_krb5.* .libs/rlm_krb5-1.0.1.*
/usr/bin/ld -b +h rlm_krb5-1.0.1.sl +b /usr/local/lib -o .libs/rlm_krb5-1.0.1.sl rlm_krb5.lo -lk5crypto -L/usr/local/lib/ -lcrypto -lcom_err -lkrb5 -lnsl -lc
(cd .libs && rm -f rlm_krb5.sl && ln -s rlm_krb5-1.0.1.sl rlm_krb5.sl)
ar cru .libs/rlm_krb5.a rlm_krb5.o
ranlib .libs/rlm_krb5.a
creating rlm_krb5.la
(cd .libs && rm -f rlm_krb5.la && ln -s ../rlm_krb5.la rlm_krb5.la)
gmake[6]: Leaving directory `/home/roberto/freeradius-1.0.1/src/modules/rlm_krb5'
Making static dynamic in rlm_ldap...
gmake[6]: Entering directory `/home/roberto/freeradius-1.0.1/src/modules/rlm_ldap'
cc -I/home/roberto/openldap-2.2.20/include -DOPENSSL_NO_KRB5 -I/usr/local/include/ -DNDEBUG -I../../include -DHAVE_LDAP_START_TLS -DHAVE_LDAP_INITIALIZE -DHAVE_LDAP_INT_TLS_CONFIG -c rlm_ldap.c -o rlm_ldap.o
cc: "/home/roberto/openldap-2.2.20/include/lber_types.h", line 42: error 1000: Unexpected symbol: "ber_int_t".
cc: "/home/roberto/openldap-2.2.20/include/lber_types.h", line 45: error 1000: Unexpected symbol: "ber_sint_t".
cc: "/home/roberto/openldap-2.2.20/include/lber_types.h", line 45: error 1713: Illegal redeclaration for identifier "LBER_INT_T".
...
************************
...
gmake[6]: Leaving directory `/home/roberto/freeradius-1.0.1/src/modules/rlm_ippool'
Making static dynamic in rlm_krb5...
gmake[6]: Entering directory `/home/roberto/freeradius-1.0.1/src/modules/rlm_krb5'
gmake[6]: Leaving directory `/home/roberto/freeradius-1.0.1/src/modules/rlm_krb5'
Making static dynamic in rlm_ldap...
gmake[6]: Entering directory `/home/roberto/freeradius-1.0.1/src/modules/rlm_ldap'
cc -I/opt/iexpress/openldap/include -DOPENSSL_NO_KRB5 -I/usr/local/include/ -DNDEBUG -I../../include -DHAVE_LDAP_START_TLS -DHAVE_LDAP_INITIALIZE -DHAVE_LDAP_INT_TLS_CONFIG -c rlm_ldap.c -o rlm_ldap.o
cc: "rlm_ldap.c", line 468: warning 604: Pointers are not assignment-compatible.
cc: "rlm_ldap.c", line 468: warning 563: Argument #2 is not the correct type.
cc: "rlm_ldap.c", line 809: error 1521: Incorrect initialization.
cc: "rlm_ldap.c", line 921: warning 604: Pointers are not assignment-compatible.
cc: "rlm_ldap.c", line 921: warning 563: Argument #3 is not the correct type.
cc: "rlm_ldap.c", line 1235: warning 604: Pointers are not assignment-compatible.
cc: "rlm_ldap.c", line 1335: warning 604: Pointers are not assignment-compatible.
cc: "rlm_ldap.c", line 1335: warning 563: Argument #1 is not the correct type.
cc: "rlm_ldap.c", line 1511: warning 604: Pointers are not assignment-compatible.
cc: "rlm_ldap.c", line 1515: warning 604: Pointers are not assignment-compatible.
cc: "rlm_ldap.c", line 1515: warning 563: Argument #3 is not the correct type.
cc: "rlm_ldap.c", line 1827: warning 604: Pointers are not assignment-compatible.
cc: "rlm_ldap.c", line 1827: warning 563: Argument #2 is not the correct type.
gmake[6]: *** [rlm_ldap.o] Error 1
...


[EMAIL PROTECTED] wrote:

From: "Alan DeKok" <[EMAIL PROTECTED]>
To: freeradius-users@lists.freeradius.org
Subject: Re: compiling freeradius 1.0.1 in HP-UX 11.11i Date: Tue, 11 Jan 2005 17:14:02 -0500
Reply-To: freeradius-users@lists.freeradius.org


"Roberto S. G." <[EMAIL PROTECTED]> wrote:


I've made the ./configure, and while doing "make", it stopped when processing "freeradius-1.0.1/src/modules/rlm_ldap"...
it seems to have problems compiling ldap libraries (which are *very* important for my installation)...



Can you post the actual error messages?

 Alan DeKok.





- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to