Sam Varshavchik wrote:

> FAHRIZAL RAZAK writes:
>
> > I have no problem when compile sqwebmail-3.0.0 (vpopmail-5.0) on RedHat
> > 7.1. But , I keep getting the following error when trying compile it on
> > Solaris 8:
>
> > authldaplib.c: In function `copy_value':
> > authldaplib.c:406: dereferencing pointer to incomplete type
> > *** Error code 1
> > make: Fatal error: Command failed for target `authldaplib.o'
> > Current working directory /var/irfasrc/qmail/sqwebmail-3.0.0/authlib
> > *** Error code 1
> > make: Fatal error: Command failed for target `all-recursive'
> >
> > Can Anyone help me how to fix it and give me another document for
> > installing sqwebmail, because I think the file  INSTALL is lack of
> > information
>
> INSTALL gives you all the information you need.  You need to install
> OpenLDAP development libraries on Solaris.
>

I have download it (OpenLDAP) from sunfreeware.com and installed it on
my system, and..  my new compile error message is:

/bin/sh ./mkmodulelist.sh authdaemon_info >authstaticlist.c
gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -Wall -I.. -I./.. -c
authstaticlist.c
gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -Wall -I.. -I./.. -c
authldap.c
gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -Wall -I.. -I./.. -c
preauthldap.c

echo "#define AUTHLDAPRC \"/usr/local/share/sqwebmail/authldaprc\""
>authldaprc.h
gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -Wall -I.. -I./.. -c
authldaplib.c

authldaplib.c: In function `ldapopen':
authldaplib.c:516: warning: implicit declaration of function
`ldap_set_option'
authldaplib.c:516: `LDAP_OPT_DEREF' undeclared (first use in this
function)
authldaplib.c:516: (Each undeclared identifier is reported only once
authldaplib.c:516: for each function it appears in.)
*** Error code 1
make: Fatal error: Command failed for target `authldaplib.o'
Current working directory /var/irfasrc/qmail/sqwebmail-3.0.0/authlib
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'

Could you help me once again?

Thank you,
Fahrizal Razak

Reply via email to