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 --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org