After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 106416 - Can't compile LDAP support for Solaris
Can't compile LDAP support for Solaris
Status: RESOLVED INCOMPLETE
Product: libgda
Classification: Other
Component: LDAP provider
unspecified
Other opensolaris
: Normal normal
: GNOME-DB-1-0
Assigned To: gnome-db Maintainers
gnome-db Maintainers
Depends on:
Blocks:
 
 
Reported: 2003-02-18 13:35 UTC by Jonas Jonsson
Modified: 2006-10-30 18:21 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jonas Jonsson 2003-02-18 13:35:31 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
Comment 1 alexander.winston 2004-01-29 17:42:02 UTC
Adding the portability keyword.
Comment 2 Rodrigo Moya 2005-08-22 10:18:41 UTC
what version of LDAP does solaris use?
Comment 3 Ivan Noris 2005-08-22 13:29:58 UTC
You better compile openldap on solaris and try to use their libraries.
Comment 4 André Klapper 2006-07-04 09:52:04 UTC
Jonas, any news on this? Is this still reproducible with a current release?
Comment 5 André Klapper 2006-10-30 18:21:09 UTC
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!