GNOME Bugzilla – Bug 106416
Can't compile LDAP support for Solaris
Last modified: 2006-10-30 18:21:09 UTC
/opt/gnu/gcc-3.2.1/bin/gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libgda\" -DVERSION=\"0.10.0\" -DBONOBO_EXPLICIT_TRANSLATION_DOMAIN=\"libgda-2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DYYTEXT_POINTER=1 -DGETTEXT_PACKAGE=\"libgda-2\" -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1 -DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DENABLE_NLS=1 -DHAVE_MYSQL=1 -DHAVE_SQLITE=1 -DHAVE_LDAP=1 -DHAVE_POPT_H=1 -DHAVE_READLINE_READLINE_H=1 -DHAVE_READLINE_HISTORY_H=1 -I. -I. -I../.. -I../.. -I. -pthreads -I/opt/gnome-2.2/include/glib-2.0 -I/opt/gnome-2.2/lib/glib-2.0/include -I/opt/gnome-2.2/include/libxml2 -I/opt/gnome-2.2/include -I/opt/gnome-2.2/include -I/opt/gnome-2.2/include -I/opt/gnome-2.2/include -g -O2 -mcpu=pentium3 -falign-functions=4 -fomit-frame-pointer -funroll-loops -mfancy-math-387 -D_REENTRANT -I/opt/gnome-2.2/include -L/opt/gnome-2.2/lib -g -I/opt/gnome-2.2/include -L/opt/gnome-2.2/lib -g -I/opt/gnome-2.2/include -L/opt/gnome-2.2/lib -Wall -Wunused -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -c gda-ldap-provider.c -fPIC -DPIC -o gda-ldap-provider.lo In file included from gda-ldap.h:35, from gda-ldap-recordset.c:28: /usr/include/ldap.h:494: field `ldctl_value' has incomplete type /usr/include/ldap.h:496: confused by earlier errors, bailing out gmake[5]: *** [gda-ldap-recordset.lo] Error 1 gmake[5]: *** Waiting for unfinished jobs.... In file included from gda-ldap.h:35, from gda-ldap-provider.c:30: /usr/include/ldap.h:494: field `ldctl_value' has incomplete type /usr/include/ldap.h:496: confused by earlier errors, bailing out gmake[5]: *** [gda-ldap-provider.lo] Error 1 gmake[5]: Leaving directory `/usr/mntDir/gnome2build/garnome/garnome/gnome/libgda/work/main.d/libgda-0.10.0/providers/ldap' gmake[4]: *** [all-recursive] Error 1 gmake[4]: Leaving directory `/usr/mntDir/gnome2build/garnome/garnome/gnome/libgda/work/main.d/libgda-0.10.0/providers' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/usr/mntDir/gnome2build/garnome/garnome/gnome/libgda/work/main.d/libgda-0.10.0' It turns out that the struct berval is defined in <lber.h> ... However, the library refuse to compile anyhow. gcc/g++ 3.2.1 SUN ld/as
Adding the portability keyword.
what version of LDAP does solaris use?
You better compile openldap on solaris and try to use their libraries.
Jonas, any news on this? Is this still reproducible with a current release?
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for. Thanks!