www.ProFTPD.de
13. März 2007, 21:45:19 *
Willkommen Gast. Bitte einloggen oder registrieren.
Haben Sie Ihre Aktivierungs E-Mail übersehen?

Einloggen mit Benutzername, Passwort und Sitzungslänge
News: SMF - Neu installiert!
 
   Übersicht   Hilfe Suche Login Registrieren  
Seiten: [1]   Nach unten
  Drucken  
Autor Thema: Compilieren: make schägt fehl!  (Gelesen 211 mal)
0 Mitglieder und 1 Gast betrachten dieses Thema.
handson
ProFTPD
*
Offline Offline

Beiträge: 2


Profil anzeigen
« am: 14. September 2004, 15:10:52 »

Hallo!

Meine Konfiguration: Suse Linux 9.1

Ich wollte mir gerne die neue Version proFTPD 1.2.10 installieren, bekomme aber beim make einen Fehler.

Mein Konfigurations-Aufruf:

Code:

# ./configure --prefix=/usr/local --with-modules=mod_core:mod_xfer:mod_auth:mod_ls:mod_log:mod_site:mod_ratio:mod_readme


Beim make meldet er folgenden Fehler:

Code:

echo \#define BUILD_STAMP \"`date`\" >include/buildstamp.h
cd lib/ && make lib
make[1]: Entering directory `/usr/src/ftp/proftpd-1.2.10/lib'
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c pr_fnmatch.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c sstrncpy.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c strsep.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c vsnprintf.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c glibc-glob.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c glibc-hstrerror.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c glibc-mkstemp.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c pr-syslog.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c pwgrent.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c getopt.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c getopt1.c
ar rc libsupp.a pr_fnmatch.o sstrncpy.o strsep.o vsnprintf.o glibc-glob.o glibc-hstrerror.o glibc-mkstemp.o pr-syslog.o pwgrent.o getopt.o getopt1.o
ranlib libsupp.a
make[1]: Leaving directory `/usr/src/ftp/proftpd-1.2.10/lib'
cd src/ && make src
make[1]: Entering directory `/usr/src/ftp/proftpd-1.2.10/src'
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c main.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c timers.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c sets.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c pool.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c regexp.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c dirtree.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c support.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c netaddr.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c inet.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c child.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c log.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c xferlog.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c bindings.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c netacl.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c class.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c scoreboard.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c help.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c feat.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c netio.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c response.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c ident.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c data.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c modules.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c auth.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c fsio.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c mkhome.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c ctrls.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c event.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c ftpdctl.c
make[1]: Leaving directory `/usr/src/ftp/proftpd-1.2.10/src'
cd modules/ && make modules
make[1]: Entering directory `/usr/src/ftp/proftpd-1.2.10/modules'
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c mod_core.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c mod_xfer.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c mod_auth_unix.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c mod_auth_file.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c mod_auth.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c mod_ls.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c mod_log.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c mod_site.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c mod_auth_pam.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c mod_ratio.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c mod_readme.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c mod_cap.c
srcdir=. ./glue.sh mod_core.o mod_xfer.o mod_auth_unix.o mod_auth_file.o mod_auth.o mod_ls.o mod_log.o mod_site.o mod_auth_pam.o mod_core.o mod_xfer.o mod_auth.o mod_ls.o mod_log.o mod_site.o mod_ratio.o mod_readme.o mod_cap.o
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c module_glue.c
make[1]: Leaving directory `/usr/src/ftp/proftpd-1.2.10/modules'
make[1]: Entering directory `/usr/src/ftp/proftpd-1.2.10/lib/libcap'
=> making cap_names.c from <linux/capability.h>
cc -O2 -Wall -Llib  _makenames.c -o _makenames
./_makenames > cap_names.h
cc -O2 -Wall -c cap_alloc.c -o cap_alloc.o
cc -O2 -Wall -c cap_proc.c -o cap_proc.o
cc -O2 -Wall -c cap_extint.c -o cap_extint.o
cc -O2 -Wall -c cap_flag.c -o cap_flag.o
cc -O2 -Wall -c cap_text.c -o cap_text.o
cc -O2 -Wall -c cap_sys.c -o cap_sys.o
ar rcu libcap.a cap_alloc.o cap_proc.o cap_extint.o cap_flag.o cap_text.o cap_sys.o
make[1]: Leaving directory `/usr/src/ftp/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/netaddr.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/help.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/mod_auth.o modules/mod_ls.o modules/mod_log.o modules/mod_site.o modules/mod_cap.o modules/mod_auth_pam.o modules/mod_readme.o modules/mod_ratio.o modules/mod_site.o modules/mod_log.o modules/mod_ls.o modules/mod_auth.o modules/mod_xfer.o modules/mod_core.o  modules/module_glue.o -lsupp -lcrypt  -Llib/libcap -lcap  -lpam
modules/mod_site.o(.data+0x0): multiple definition of `site_module'
modules/mod_site.o(.data+0x0): first defined here
modules/mod_site.o(.text+0xd0): In function `site_dispatch':
: multiple definition of `site_dispatch'
modules/mod_site.o(.text+0xd0): 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_ls.o(.data+0x0): multiple definition of `ls_module'
modules/mod_ls.o(.data+0x0): first defined here
modules/mod_auth.o(.data+0x0): multiple definition of `auth_module'
modules/mod_auth.o(.data+0x0): first defined here
modules/mod_xfer.o(.data+0x0): multiple definition of `xfer_module'
modules/mod_xfer.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(.text+0x7e40): In function `core_chgrp':
: multiple definition of `core_chgrp'
modules/mod_core.o(.text+0x7e40): first defined here
modules/mod_core.o(.text+0x9f70): In function `core_chmod':
: multiple definition of `core_chmod'
modules/mod_core.o(.text+0x9f70): first defined here
modules/mod_core.o(.text+0x9fc0): In function `core_display_file':
: multiple definition of `core_display_file'
modules/mod_core.o(.text+0x9fc0): first defined here
collect2: ld returned 1 exit status
make: *** [proftpd] Error 1



Ich habe so das Gefühl, da fehlt noch was... Kann mir vielleicht jemand sage, welche Vorraussetzungen mein Linux haben muss, damit ich proFTPD installieren kann? (Module, Libraries, etc...)

Vielen Dank

Stephan Müller
Gespeichert
Wörsty
Moderator
ProFTPD
*****
Offline Offline

Beiträge: 1602


50772603
Profil anzeigen WWW E-Mail
« Antwort #1 am: 14. September 2004, 20:46:21 »

Mindestens viele kannste weglassen:

Also die sind sowieso bei (also nicht angeben):
 -     Module: mod_core.c
 -     Module: mod_xfer.c
 -     Module: mod_auth_unix.c
 -     Module: mod_auth_file.c
 -     Module: mod_auth.c
 -     Module: mod_ls.c
 -     Module: mod_log.c
 -     Module: mod_site.c

Die kenne ich nicht:

mod_ratio:mod_readme

Also lässt du --with-modules ganz weg und probierst mal. :wink:

Achso: Ich empfehle dir --with-modules=mod_sql:mod_sql_mysql:mod_ifsession (ist nützlich)

Und vorher make clean eingeben!
Gespeichert

RedHat 8.0 (2.4er Kernel)
proftpd 1.2.10
-mod_sql_mysql
-mow_wrap
-mod_exec
-mod_ifsession[/size]
handson
ProFTPD
*
Offline Offline

Beiträge: 2


Profil anzeigen
« Antwort #2 am: 15. September 2004, 09:16:10 »

mmhh... manchmal geht es auch mit den einfachsten Dingen, Prima hat funktioniert. Danke!

Mal eine andere Frage, die jetzt im Anschluss aufgetreten ist. Er braucht ziemlich lange beim Connect. Kann man das noch optimieren?
Ich vorher pure-FTP eingesetzt, da ging es sehr schnell.

Stephan
Gespeichert
Wörsty
Moderator
ProFTPD
*****
Offline Offline

Beiträge: 1602


50772603
Profil anzeigen WWW E-Mail
« Antwort #3 am: 15. September 2004, 12:13:23 »

Zitat von: "handson"
Kann man das noch optimieren?

Ja.

1. http://www.proftpd.de/index.php?id=13&backPID=13&tx_faq_faq=16
2.  :look)
3. Und wenn des net hilft, bitte neuen Thread aufmachen.
Gespeichert

RedHat 8.0 (2.4er Kernel)
proftpd 1.2.10
-mod_sql_mysql
-mow_wrap
-mod_exec
-mod_ifsession[/size]
Seiten: [1]   Nach oben
  Drucken  
 
Gehe zu:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Prüfe XHTML 1.0 Prüfe CSS
Seite erstellt in 0.142 Sekunden mit 19 Zugriffen.