Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!

Ogłoszenie

Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

#1  2005-09-28 16:29:15

  shreku - Użytkownik

shreku
Użytkownik
Skąd: Warszawa
Zarejestrowany: 2005-06-03
Serwis

proftpd -make blad

co jest wg tego zle bo nie czaje ?? konfiguruje tym

# ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-modules=mod_readme:mod_auth:mod_core:mod_log:mod_ls



# make
cd lib/ && make lib
make[1]: Entering directory `/home/shrek/Desktop/proftpd-1.2.10/lib'
make[1]: Nie nic do roboty w `lib'.
make[1]: Leaving directory `/home/shrek/Desktop/proftpd-1.2.10/lib'
cd src/ && make src
make[1]: Entering directory `/home/shrek/Desktop/proftpd-1.2.10/src'
make[1]: Nie nic do roboty w `src'.
make[1]: Leaving directory `/home/shrek/Desktop/proftpd-1.2.10/src'
cd modules/ && make modules
make[1]: Entering directory `/home/shrek/Desktop/proftpd-1.2.10/modules'
make[1]: Nie nic do roboty w `modules'.
make[1]: Leaving directory `/home/shrek/Desktop/proftpd-1.2.10/modules'
make[1]: Entering directory `/home/shrek/Desktop/proftpd-1.2.10/lib/libcap'
make[1]: Nie nic do roboty w `all'.
make[1]: Leaving directory `/home/shrek/Desktop/proftpd-1.2.10/lib/libcap'
gcc -Llib  -o proftpd src/main.o src/timers.o src/sets.o src/pool.o src/regexp.o src/dirtree.o src/support.o src/neta ddr.o src/inet.o src/child.o src/log.o src/xferlog.o src/bindings.o src/netacl.o src/class.o src/scoreboard.o src/hel p.o src/feat.o src/netio.o src/response.o src/ident.o src/data.o src/modules.o src/auth.o src/fsio.o src/mkhome.o src /ctrls.o src/event.o modules/mod_core.o modules/mod_xfer.o modules/mod_auth_unix.o modules/mod_auth_file.o modules/mo d_auth.o modules/mod_ls.o modules/mod_log.o modules/mod_site.o modules/mod_cap.o modules/mod_ls.o modules/mod_log.o m odules/mod_core.o modules/mod_auth.o modules/mod_readme.o  modules/module_glue.o -lsupp -lcrypt  -Llib/libcap -lcap
modules/mod_ls.o:(.data+0x0): multiple definition of `ls_module'
modules/mod_ls.o:(.data+0x0): first defined here
modules/mod_log.o:(.data+0x0): multiple definition of `log_module'
modules/mod_log.o:(.data+0x0): first defined here
modules/mod_core.o:(.data+0x0): multiple definition of `core_module'
modules/mod_core.o:(.data+0x0): first defined here
modules/mod_core.o: In function `core_display_file':
mod_core.c:(.text+0x64a0): multiple definition of `core_display_file'
modules/mod_core.o:mod_core.c:(.text+0x64a0): first defined here
modules/mod_core.o: In function `core_chgrp':
mod_core.c:(.text+0x7750): multiple definition of `core_chgrp'
modules/mod_core.o:mod_core.c:(.text+0x7750): first defined here
modules/mod_core.o: In function `core_chmod':
mod_core.c:(.text+0x77b0): multiple definition of `core_chmod'
modules/mod_core.o:mod_core.c:(.text+0x77b0): first defined here
modules/mod_auth.o:(.data+0x0): multiple definition of `auth_module'
modules/mod_auth.o:(.data+0x0): first defined here
collect2: ld returned 1 exit status
make: *** [proftpd] Błąd 1

antomiast gdy dodal do tego # ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-modules=mod_readme:mod_auth:mod_core:mod_log:mod_ls:mod_ldap

ty mi wywala taki blad...


# make
cd lib/ && make lib
make[1]: Entering directory `/home/shrek/Desktop/proftpd-1.2.10/lib'
make[1]: Nie nic do roboty w `lib'.
make[1]: Leaving directory `/home/shrek/Desktop/proftpd-1.2.10/lib'
cd src/ && make src
make[1]: Entering directory `/home/shrek/Desktop/proftpd-1.2.10/src'
make[1]: Nie nic do roboty w `src'.
make[1]: Leaving directory `/home/shrek/Desktop/proftpd-1.2.10/src'
cd modules/ && make modules
make[1]: Entering directory `/home/shrek/Desktop/proftpd-1.2.10/modules'
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c mod_ldap.c
mod_ldap.c:124:18: error: lber.h: Nie ma takiego pliku ani katalogu
mod_ldap.c:125:18: error: ldap.h: Nie ma takiego pliku ani katalogu
mod_ldap.c:174: error: 'LDAP_SCOPE_SUBTREE' undeclared here (not in a function)
mod_ldap.c:190: error: syntax error before '*' token
mod_ldap.c:190: warning: type defaults to 'int' in declaration of 'ld'
mod_ldap.c:190: warning: data definition has no type or storage class
mod_ldap.c: In function 'pr_ldap_set_sizelimit':
mod_ldap.c:217: error: request for member 'ld_sizelimit' in something not a structure or union
mod_ldap.c: In function 'pr_ldap_unbind':
mod_ldap.c:229: warning: implicit declaration of function 'ldap_unbind_s'
mod_ldap.c:229: error: 'LDAP_SUCCESS' undeclared (first use in this function)
mod_ldap.c:229: error: (Each undeclared identifier is reported only once
mod_ldap.c:229: error: for each function it appears in.)
mod_ldap.c:230: warning: implicit declaration of function 'ldap_err2string'
mod_ldap.c:230: warning: format '%s' expects type 'char *', but argument 3 has type 'int'
mod_ldap.c: In function 'pr_ldap_connect':
mod_ldap.c:243: warning: implicit declaration of function 'ldap_init'
mod_ldap.c:243: error: 'LDAP_PORT' undeclared (first use in this function)
mod_ldap.c:243: warning: assignment makes pointer from integer without a cast
mod_ldap.c:265: warning: implicit declaration of function 'ldap_simple_bind_s'
mod_ldap.c:265: error: 'LDAP_SUCCESS' undeclared (first use in this function)
mod_ldap.c:266: warning: format '%s' expects type 'char *', but argument 4 has type 'int'
mod_ldap.c: In function 'pr_ldap_user_lookup':
mod_ldap.c:430: error: 'LDAPMessage' undeclared (first use in this function)
mod_ldap.c:430: error: 'result' undeclared (first use in this function)
mod_ldap.c:430: error: 'e' undeclared (first use in this function)
mod_ldap.c:430: warning: left-hand operand of comma expression has no effect
mod_ldap.c:430: warning: statement with no effect
mod_ldap.c:448: warning: implicit declaration of function 'ldap_search_st'
mod_ldap.c:448: error: 'LDAP_SUCCESS' undeclared (first use in this function)
mod_ldap.c:449: error: 'LDAP_SERVER_DOWN' undeclared (first use in this function)
mod_ldap.c:460: warning: format '%s' expects type 'char *', but argument 3 has type 'int'
mod_ldap.c:465: warning: format '%s' expects type 'char *', but argument 3 has type 'int'
mod_ldap.c:470: warning: implicit declaration of function 'ldap_count_entries'
mod_ldap.c:472: warning: implicit declaration of function 'ldap_msgfree'
mod_ldap.c:476: warning: implicit declaration of function 'ldap_first_entry'
mod_ldap.c:487: warning: implicit declaration of function 'ldap_get_values'
mod_ldap.c:487: warning: assignment makes pointer from integer without a cast
mod_ldap.c:494: warning: implicit declaration of function 'ldap_get_dn'
mod_ldap.c:494: warning: assignment makes pointer from integer without a cast
mod_ldap.c:505: warning: assignment makes pointer from integer without a cast
mod_ldap.c:517: warning: assignment makes pointer from integer without a cast
mod_ldap.c:526: warning: assignment makes pointer from integer without a cast
mod_ldap.c:527: warning: assignment makes pointer from integer without a cast
mod_ldap.c:533: warning: implicit declaration of function 'ldap_value_free'
mod_ldap.c:554: warning: assignment makes pointer from integer without a cast
mod_ldap.c:592: warning: assignment makes pointer from integer without a cast
mod_ldap.c:593: warning: assignment makes pointer from integer without a cast
mod_ldap.c:618: warning: assignment makes pointer from integer without a cast
mod_ldap.c: In function 'pr_ldap_group_lookup':
mod_ldap.c:632: error: 'LDAPMessage' undeclared (first use in this function)
mod_ldap.c:632: error: 'result' undeclared (first use in this function)
mod_ldap.c:632: error: 'e' undeclared (first use in this function)
mod_ldap.c:632: warning: left-hand operand of comma expression has no effect
mod_ldap.c:632: warning: statement with no effect
mod_ldap.c:650: error: 'LDAP_SUCCESS' undeclared (first use in this function)
mod_ldap.c:651: error: 'LDAP_SERVER_DOWN' undeclared (first use in this function)
mod_ldap.c:656: warning: format '%s' expects type 'char *', but argument 3 has type 'int'
mod_ldap.c:666: warning: format '%s' expects type 'char *', but argument 3 has type 'int'
mod_ldap.c:682: warning: assignment makes pointer from integer without a cast
mod_ldap.c:693: warning: assignment makes pointer from integer without a cast
mod_ldap.c:703: warning: implicit declaration of function 'ldap_count_values'
mod_ldap.c: In function 'pr_ldap_quota_lookup':
mod_ldap.c:742: error: 'LDAPMessage' undeclared (first use in this function)
mod_ldap.c:742: error: 'result' undeclared (first use in this function)
mod_ldap.c:742: error: 'e' undeclared (first use in this function)
mod_ldap.c:742: warning: left-hand operand of comma expression has no effect
mod_ldap.c:742: warning: statement with no effect
mod_ldap.c:760: error: 'LDAP_SUCCESS' undeclared (first use in this function)
mod_ldap.c:761: error: 'LDAP_SERVER_DOWN' undeclared (first use in this function)
mod_ldap.c:772: warning: format '%s' expects type 'char *', but argument 3 has type 'int'
mod_ldap.c:777: warning: format '%s' expects type 'char *', but argument 3 has type 'int'
mod_ldap.c:801: warning: assignment makes pointer from integer without a cast
mod_ldap.c: In function 'handle_ldap_getgroups':
mod_ldap.c:1052: error: 'LDAPMessage' undeclared (first use in this function)
mod_ldap.c:1052: error: 'result' undeclared (first use in this function)
mod_ldap.c:1052: error: 'e' undeclared (first use in this function)
mod_ldap.c:1052: warning: left-hand operand of comma expression has no effect
mod_ldap.c:1052: warning: statement with no effect
mod_ldap.c:1086: error: 'LDAP_SUCCESS' undeclared (first use in this function)
mod_ldap.c:1087: error: 'LDAP_SERVER_DOWN' undeclared (first use in this function)
mod_ldap.c:1092: warning: format '%s' expects type 'char *', but argument 3 has type 'int'
mod_ldap.c:1102: warning: format '%s' expects type 'char *', but argument 3 has type 'int'
mod_ldap.c:1111: warning: implicit declaration of function 'ldap_next_entry'
mod_ldap.c:1112: warning: assignment makes pointer from integer without a cast
mod_ldap.c:1113: warning: format '%s' expects type 'char *', but argument 3 has type 'int'
mod_ldap.c:1116: warning: assignment makes pointer from integer without a cast
mod_ldap.c:1117: warning: format '%s' expects type 'char *', but argument 3 has type 'int'
mod_ldap.c: In function 'handle_ldap_check':
mod_ldap.c:1206: error: 'LDAP' undeclared (first use in this function)
mod_ldap.c:1206: error: 'ld_auth' undeclared (first use in this function)
mod_ldap.c:1233: error: 'LDAP_PORT' undeclared (first use in this function)
mod_ldap.c:1255: error: 'LDAP_SUCCESS' undeclared (first use in this function)
mod_ldap.c:1256: warning: implicit declaration of function 'ldap_unbind'
mod_ldap.c: In function 'ldap_getconf':
mod_ldap.c:1792: error: 'LDAP_SCOPE_ONELEVEL' undeclared (first use in this function)
make[1]: *** [mod_ldap.o] Błąd 1
make[1]: Leaving directory `/home/shrek/Desktop/proftpd-1.2.10/modules'
make: *** [modules] Błąd 2

jak to zrobic zeby dzialalo??

Offline

 

#2  2005-09-28 19:14:35

  BiExi - matka przelozona

BiExi
matka przelozona
Skąd: Gorlice
Zarejestrowany: 2004-04-16
Serwis

Re: proftpd -make blad

do drugiego

Kod:

apt-get install libldap2-dev

Offline

 

#3  2005-10-01 16:34:44

  shreku - Użytkownik

shreku
Użytkownik
Skąd: Warszawa
Zarejestrowany: 2005-06-03
Serwis

Re: proftpd -make blad

a pierwswzy blad??

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
Możesz wyłączyć AdBlock — tu nie ma reklam ;-)