I solved the problem myself.
I changed the Makefile created by "perl Makefile.PL". Where there is
cc, I put gcc and removed all references "-B/usr/ccs/bin"
Yann
"Huang S. Yann" wrote:
>
> I'm trying to compile perldap 1.4, that has the new function getValues
> on Solaris 7, with perl 5.005_03, but I received the following error:
>
> [root@moon]make
> cc -c -I/usr/local/include -fno-strict-aliasing -I/usr/local/include
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"1.4\"
> -DXS_VERSION=\"1.4\" -fPIC
> -I/usr/local/lib/perl5/5.6.0/sun4-solaris/CORE -DLDAPV3 API.c
> API.c: In function `avref2charptrptr':
> API.c:205: `na' undeclared (first use in this function)
> API.c:205: (Each undeclared identifier is reported only once
> API.c:205: for each function it appears in.)
> API.c: In function `avref2berptrptr':
> API.c:235: `na' undeclared (first use in this function)
> API.c: In function `parse1mod':
> API.c:377: `na' undeclared (first use in this function)
> API.c: In function `XS_Mozilla__LDAP__API_ldap_compare_ext':
> API.c:827: `na' undeclared (first use in this function)
> API.c: In function `XS_Mozilla__LDAP__API_ldap_compare_ext_s':
> API.c:853: `na' undeclared (first use in this function)
> API.c: In function `XS_Mozilla__LDAP__API_ldap_extended_operation':
> API.c:1270: `na' undeclared (first use in this function)
> API.c: In function `XS_Mozilla__LDAP__API_ldap_extended_operation_s':
> API.c:1297: `na' undeclared (first use in this function)
> API.c: In function `XS_Mozilla__LDAP__API_ldap_result':
> API.c:2459: `na' undeclared (first use in this function)
> API.c: In function `XS_Mozilla__LDAP__API_ldap_sasl_bind':
> API.c:2507: `na' undeclared (first use in this function)
> API.c: In function `XS_Mozilla__LDAP__API_ldap_sasl_bind_s':
> API.c:2534: `na' undeclared (first use in this function)
> API.c: In function `XS_Mozilla__LDAP__API_ldap_search_ext':
> API.c:2596: `na' undeclared (first use in this function)
> API.c: In function `XS_Mozilla__LDAP__API_ldap_search_ext_s':
> API.c:2631: `na' undeclared (first use in this function)
> API.c: In function `XS_Mozilla__LDAP__API_ldap_search_st':
> API.c:2692: `na' undeclared (first use in this function)
> API.c: In function `XS_Mozilla__LDAP__API_ldap_url_parse':
> API.c:2961: `sv_undef' undeclared (first use in this function)
> API.c: In function `XS_Mozilla__LDAP__API_ldap_url_search_st':
> API.c:3023: `na' undeclared (first use in this function)
> make: *** [API.o] Error 1
>
> I have installed the openldap and LDAP client libraries and include
> files (SDK)
>
> Does anyone help me?
>
> TIA,
>
> Yann
>
> --
> H. S. Yann
> yann@veritel.com.br
> System & Network Administrator
> VeritelNet
-- H. S. Yann yann@veritel.com.br System & Network Administrator VeritelNet
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:06 CDT