[Cpu-users] Compil problem on FBSD 4.5
Brought to you by:
matheny
From: Sebastian Y. F. <es...@em...> - 2002-06-09 10:40:36
|
Hello cpu-users, HI all im haveing problem compiling CPU in FreeBSD 4.5.. i have trid ./configure --with-ldap=/usr/local/include , ./configure make --with-ldap=/usr/local/include and make. but non of this work.. :( can some 1 plz help me.. or wher can i get a compild version for FreeBSD.. . ... ...... ../depcomp gcc -DPACKAGE=\"cpu\" -DVERSION=\"1.3.13\" -DHAVE_LIBCRYPT=1 -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=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_ALLOCA=1 -DHAVE_UNISTD_H=1 -DHAVE_CHOWN=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_GETPASS=1 -DHAVE_ISASCII=1 -DHAVE_MEMSET=1 -DHAVE_MKDIR=1 -DHAVE_STRCHR=1 -DHAVE_STRDUP=1 -DHAVE_STRSPN=1 -DFREEBSD=1 -I. -I. -I/usr/local/include -g -Wall -I../include -DCONFIGFILE=\"/usr/local/etc/cpu.cfg\" -c `test -f password.c || echo './'`password.c source='bgetpwent.c' object='bgetpwent.o' libtool=no depfile='.deps/bgetpwent.Po' tmpdepfile='.deps/bgetpwent.TPo' depmode=gcc /bin/sh ../depcomp gcc -DPACKAGE=\"cpu\" -DVERSION=\"1.3.13\" -DHAVE_LIBCRYPT=1 -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=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_ALLOCA=1 -DHAVE_UNISTD_H=1 -DHAVE_CHOWN=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_GETPASS=1 -DHAVE_ISASCII=1 -DHAVE_MEMSET=1 -DHAVE_MKDIR=1 -DHAVE_STRCHR=1 -DHAVE_STRDUP=1 -DHAVE_STRSPN=1 -DFREEBSD=1 -I. -I. -I/usr/local/include -g -Wall -I../include -DCONFIGFILE=\"/usr/local/etc/cpu.cfg\" -c `test -f bgetpwent.c || echo './'`bgetpwent.c source='fileaction.c' object='fileaction.o' libtool=no depfile='.deps/fileaction.Po' tmpdepfile='.deps/fileaction.TPo' depmode=gcc /bin/sh ../depcomp gcc -DPACKAGE=\"cpu\" -DVERSION=\"1.3.13\" -DHAVE_LIBCRYPT=1 -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=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_ALLOCA=1 -DHAVE_UNISTD_H=1 -DHAVE_CHOWN=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_GETPASS=1 -DHAVE_ISASCII=1 -DHAVE_MEMSET=1 -DHAVE_MKDIR=1 -DHAVE_STRCHR=1 -DHAVE_STRDUP=1 -DHAVE_STRSPN=1 -DFREEBSD=1 -I. -I. -I/usr/local/include -g -Wall -I../include -DCONFIGFILE=\"/usr/local/etc/cpu.cfg\" -c `test -f fileaction.c || echo './'`fileaction.c gcc -g -Wall -I../include -DCONFIGFILE=\"/usr/local/etc/cpu.cfg\" -L/usr/local/include -o cpu main.o getopt.o config.o ldap.o md5.o sha1.o base64.o password.o bgetpwent.o fileaction.o -lcrypt ldap.o: In function `do_ldap_init': /root/src/cpu-1.3.13/src/ldap.c:303: undefined reference to `ldap_init' /root/src/cpu-1.3.13/src/ldap.c:318: undefined reference to `ldap_bind_s' /root/src/cpu-1.3.13/src/ldap.c:324: undefined reference to `ldap_perror' ldap.o: In function `do_ldap_group_mod': /root/src/cpu-1.3.13/src/ldap.c(.text+0xf6b): undefined reference to `ldap_modrdn2_s' /root/src/cpu-1.3.13/src/ldap.c(.text+0xfb4): undefined reference to `ldap_perror' /root/src/cpu-1.3.13/src/ldap.c(.text+0x1296): undefined reference to `ldap_modify_s' /root/src/cpu-1.3.13/src/ldap.c(.text+0x12d7): undefined reference to `ldap_perror' ldap.o: In function `do_ldap_user_mod': /root/src/cpu-1.3.13/src/ldap.c(.text+0x14cb): undefined reference to `ldap_modrdn2_s' /root/src/cpu-1.3.13/src/ldap.c(.text+0x1521): undefined reference to `ldap_perror' /root/src/cpu-1.3.13/src/ldap.c(.text+0x1fd6): undefined reference to `ldap_modify_s' /root/src/cpu-1.3.13/src/ldap.c(.text+0x2018): undefined reference to `ldap_perror' ldap.o: In function `do_ldap_member_mod': /root/src/cpu-1.3.13/src/ldap.c(.text+0x21d6): undefined reference to `ldap_modify_s' /root/src/cpu-1.3.13/src/ldap.c(.text+0x2212): undefined reference to `ldap_perror' ldap.o: In function `do_ldap_group_add': /root/src/cpu-1.3.13/src/ldap.c(.text+0x251e): undefined reference to `ldap_add_s' /root/src/cpu-1.3.13/src/ldap.c(.text+0x255a): undefined reference to `ldap_perror' ldap.o: In function `do_ldap_user_add': /root/src/cpu-1.3.13/src/ldap.c(.text+0x2cc6): undefined reference to `ldap_add_s' /root/src/cpu-1.3.13/src/ldap.c(.text+0x2d08): undefined reference to `ldap_perror' ldap.o: In function `do_ldap_user_del': /root/src/cpu-1.3.13/src/ldap.c:1159: undefined reference to `ldap_delete_s' /root/src/cpu-1.3.13/src/ldap.c:1163: undefined reference to `ldap_perror' ldap.o: In function `do_ldap_group_del': /root/src/cpu-1.3.13/src/ldap.c(.text+0x2e60): undefined reference to `ldap_search_s' /root/src/cpu-1.3.13/src/ldap.c(.text+0x2e97): undefined reference to `ldap_perror' /root/src/cpu-1.3.13/src/ldap.c(.text+0x2eba): undefined reference to `ldap_count_entries' /root/src/cpu-1.3.13/src/ldap.c(.text+0x2f14): undefined reference to `ldap_msgfree' /root/src/cpu-1.3.13/src/ldap.c(.text+0x2f2c): undefined reference to `ldap_msgfree' /root/src/cpu-1.3.13/src/ldap.c(.text+0x2f42): undefined reference to `ldap_delete_s' /root/src/cpu-1.3.13/src/ldap.c(.text+0x2f83): undefined reference to `ldap_perror' ldap.o: In function `do_ldap_unbind': /root/src/cpu-1.3.13/src/ldap.c(.text+0x2ffc): undefined reference to `ldap_unbind_s' ldap.o: In function `get_next_uidnum': /root/src/cpu-1.3.13/src/ldap.c(.text+0x334a): undefined reference to `ldap_search_s' /root/src/cpu-1.3.13/src/ldap.c(.text+0x3381): undefined reference to `ldap_perror' /root/src/cpu-1.3.13/src/ldap.c(.text+0x33b2): undefined reference to `ldap_count_entries' /root/src/cpu-1.3.13/src/ldap.c(.text+0x340c): undefined reference to `ldap_msgfree' ldap.o: In function `do_ldap_user_cat': /root/src/cpu-1.3.13/src/ldap.c(.text+0x34e6): undefined reference to `ldap_search' /root/src/cpu-1.3.13/src/ldap.c(.text+0x3507): undefined reference to `ldap_perror' /root/src/cpu-1.3.13/src/ldap.c(.text+0x354b): undefined reference to `ldap_result' /root/src/cpu-1.3.13/src/ldap.c(.text+0x3577): undefined reference to `ldap_perror' /root/src/cpu-1.3.13/src/ldap.c(.text+0x3596): undefined reference to `ldap_msgfree' /root/src/cpu-1.3.13/src/ldap.c(.text+0x35b2): undefined reference to `ldap_first_entry' /root/src/cpu-1.3.13/src/ldap.c(.text+0x35d9): undefined reference to `ldap_msgfree' /root/src/cpu-1.3.13/src/ldap.c(.text+0x35f9): undefined reference to `ldap_get_dn' /root/src/cpu-1.3.13/src/ldap.c(.text+0x3613): undefined reference to `ldap_memfree' /root/src/cpu-1.3.13/src/ldap.c(.text+0x363e): undefined reference to `ldap_first_attribute' /root/src/cpu-1.3.13/src/ldap.c(.text+0x366a): undefined reference to `ldap_get_values' /root/src/cpu-1.3.13/src/ldap.c(.text+0x3960): undefined reference to `ldap_value_free' /root/src/cpu-1.3.13/src/ldap.c(.text+0x396f): undefined reference to `ldap_memfree' /root/src/cpu-1.3.13/src/ldap.c(.text+0x3988): undefined reference to `ldap_next_attribute' /root/src/cpu-1.3.13/src/ldap.c(.text+0x3a57): undefined reference to `ldap_msgfree' ldap.o: In function `get_next_gidnum': /root/src/cpu-1.3.13/src/ldap.c(.text+0x3d42): undefined reference to `ldap_search_s' /root/src/cpu-1.3.13/src/ldap.c(.text+0x3d79): undefined reference to `ldap_perror' /root/src/cpu-1.3.13/src/ldap.c(.text+0x3daa): undefined reference to `ldap_count_entries' /root/src/cpu-1.3.13/src/ldap.c(.text+0x3e04): undefined reference to `ldap_msgfree' *** Error code 1 Stop in /root/src/cpu-1.3.13/src. *** Error code 1 Stop in /root/src/cpu-1.3.13. | X--------------------X | Best regards from, | | Sebastian | X--------------------X--[09/06/2002]-[12:34:43] |