[Bug 106416] New - Can't compile LDAP support for Solaris



http://bugzilla.gnome.org/show_bug.cgi?id=106416

           Summary: Can't compile LDAP support for Solaris
           Product: libgda
           Version: unspecified
                OS: SunOS
        OS Details: SunOS brusen 5.8 Generic_108529-16 i86pc i386 i86pc
            Status: NEW
 Status Whiteboard:
          Keywords: GNOMEVER2.2
        Resolution:
          Severity: normal
          Priority: Normal
         Component: LDAP provider
        AssignedTo: gnome-db-maint bugzilla gnome org
        ReportedBy: Jonas Jonsson se transport bombardier com


/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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]