Mailinglist Archive: opensuse-buildservice (366 mails)
< Previous | Next > |
Re: [opensuse-buildservice] Build error on pwdutils...
- From: "Cameron Seader" <cseader@xxxxxxxxxx>
- Date: Tue, 07 Aug 2007 13:37:53 -0600
- Message-id: <46B875B1.8DDB.005B.0@xxxxxxxxxx>
Its part of the buildrequires in the spec file, so the buildservice should pull it in right?
-Cameron
>>> Marcus Meissner <meissner@xxxxxxx> 08/07/07 1:34 PM >>>
On Tue, Aug 07, 2007 at 01:08:48PM -0600, Cameron Seader wrote:
>
>
> >>> Marcus Meissner <meissner@xxxxxxx> 08/07/07 12:47 PM >>>
> On Tue, Aug 07, 2007 at 12:33:51PM -0600, Cameron Seader wrote:
> > I'm getting a build error on pwdutils
> > I'm building locally with osc and from the web interface and same thing...
> >
> > if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -DLOCALEDIR=\"/usr/share/locale\" -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -Werror -O2 -g -march=i586 -mcpu=i686 -fmessage-length=0 -MT libldap.o -MD -MP -MF ".deps/libldap.Tpo" -c -o libldap.o libldap.c; \
> > then mv -f ".deps/libldap.Tpo" ".deps/libldap.Po"; else rm -f ".deps/libldap.Tpo"; exit 1; fi
> > libldap.c: In function `_rebind_proc':
> > libldap.c:785: warning: implicit declaration of function `ldap_simple_bind_s'
> > libldap.c: In function `open_ldap_session':
> > libldap.c:869: warning: implicit declaration of function `ldap_init'
> > libldap.c:869: warning: assignment makes pointer from integer without a cast
> > libldap.c: In function `close_ldap_session':
> > libldap.c:970: warning: implicit declaration of function `ldap_unbind'
> > libldap.c: In function `connect_as_nobody':
> > libldap.c:1011: warning: implicit declaration of function `ldap_simple_bind'
> > libldap.c: In function `connect_with_dn':
> > libldap.c:1122: warning: implicit declaration of function `ldap_result2error'
> > libldap.c: In function `convert_to_dn':
> > libldap.c:1215: warning: implicit declaration of function `ldap_search_s'
> > libldap.c: In function `ldap_update_user':
> > libldap.c:1393: warning: implicit declaration of function `ldap_modify_s'
> > libldap.c: In function `ldap_delete_user':
> > libldap.c:1442: warning: implicit declaration of function `ldap_delete_s'
> > libldap.c: In function `find_baseou':
> > libldap.c:1620: warning: implicit declaration of function `ldap_get_values'
> > libldap.c:1621: warning: assignment makes pointer from integer without a cast
> > libldap.c:1628: warning: implicit declaration of function `ldap_value_free'
> > libldap.c: In function `ldap_create_user':
> > libldap.c:1723: warning: implicit declaration of function `ldap_add_s'
> > seaderx:/home/cseader/home:cseader/pwdutils # make[2]: *** [libldap.o] Error 1
> > make[2]: Leaving directory `/usr/src/packages/BUILD/pwdutils-2.6.4/lib'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/usr/src/packages/BUILD/pwdutils-2.6.4'
> > make: *** [all] Error 2
> > error: Bad exit status from /var/tmp/rpm-tmp.80293 (%build)
>
> Looks like the ldap headers are not included that supply the prototypes.
>
>
> Ciao, Marcus
>
>
> Why is the build service not including those? is there another SLES_9 to build against?
Do you have "openldap2-devel" installed?
The code should not compile this file this way :/
Ciao, Marcus
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx
-Cameron
>>> Marcus Meissner <meissner@xxxxxxx> 08/07/07 1:34 PM >>>
On Tue, Aug 07, 2007 at 01:08:48PM -0600, Cameron Seader wrote:
>
>
> >>> Marcus Meissner <meissner@xxxxxxx> 08/07/07 12:47 PM >>>
> On Tue, Aug 07, 2007 at 12:33:51PM -0600, Cameron Seader wrote:
> > I'm getting a build error on pwdutils
> > I'm building locally with osc and from the web interface and same thing...
> >
> > if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -DLOCALEDIR=\"/usr/share/locale\" -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -Werror -O2 -g -march=i586 -mcpu=i686 -fmessage-length=0 -MT libldap.o -MD -MP -MF ".deps/libldap.Tpo" -c -o libldap.o libldap.c; \
> > then mv -f ".deps/libldap.Tpo" ".deps/libldap.Po"; else rm -f ".deps/libldap.Tpo"; exit 1; fi
> > libldap.c: In function `_rebind_proc':
> > libldap.c:785: warning: implicit declaration of function `ldap_simple_bind_s'
> > libldap.c: In function `open_ldap_session':
> > libldap.c:869: warning: implicit declaration of function `ldap_init'
> > libldap.c:869: warning: assignment makes pointer from integer without a cast
> > libldap.c: In function `close_ldap_session':
> > libldap.c:970: warning: implicit declaration of function `ldap_unbind'
> > libldap.c: In function `connect_as_nobody':
> > libldap.c:1011: warning: implicit declaration of function `ldap_simple_bind'
> > libldap.c: In function `connect_with_dn':
> > libldap.c:1122: warning: implicit declaration of function `ldap_result2error'
> > libldap.c: In function `convert_to_dn':
> > libldap.c:1215: warning: implicit declaration of function `ldap_search_s'
> > libldap.c: In function `ldap_update_user':
> > libldap.c:1393: warning: implicit declaration of function `ldap_modify_s'
> > libldap.c: In function `ldap_delete_user':
> > libldap.c:1442: warning: implicit declaration of function `ldap_delete_s'
> > libldap.c: In function `find_baseou':
> > libldap.c:1620: warning: implicit declaration of function `ldap_get_values'
> > libldap.c:1621: warning: assignment makes pointer from integer without a cast
> > libldap.c:1628: warning: implicit declaration of function `ldap_value_free'
> > libldap.c: In function `ldap_create_user':
> > libldap.c:1723: warning: implicit declaration of function `ldap_add_s'
> > seaderx:/home/cseader/home:cseader/pwdutils # make[2]: *** [libldap.o] Error 1
> > make[2]: Leaving directory `/usr/src/packages/BUILD/pwdutils-2.6.4/lib'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/usr/src/packages/BUILD/pwdutils-2.6.4'
> > make: *** [all] Error 2
> > error: Bad exit status from /var/tmp/rpm-tmp.80293 (%build)
>
> Looks like the ldap headers are not included that supply the prototypes.
>
>
> Ciao, Marcus
>
>
> Why is the build service not including those? is there another SLES_9 to build against?
Do you have "openldap2-devel" installed?
The code should not compile this file this way :/
Ciao, Marcus
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx
< Previous | Next > |