Hallo,
benutzt hier wer proftpd 1.2.8 und mod_core? ich habe es mit proftpd 1.2.8; 1.2.9pre1 und der cvs version vom 29. Jun. probiert. wenn ich das bei mir compilieren möchte erhalte ich einen error, siehe unten angefügten code. distribution is debian gnu/linux 3.0r1 mit gcc version is 2.95.4.
compilieren tue ich proftpd 1.2.8 mit
code:
./configure --with-modules=mod_core && make
allerding kommt dann bei make der error, ohne mod_core läßt sich der proftpd übersetzen.
jemand eine idee woran das liegen könnte?
thx & bye
pcm
echo \#define BUILD_STAMP \"`date`\" >include/buildstamp.h
cd lib/ && make lib
make[1]: Entering directory `/usr/src/proftpd-1.2.8/lib'
gcc -DLINUX -I.. -I../include -O2 -Wall -c pr_fnmatch.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-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 strsep.o vsnprintf.o glibc-glob.o glibc-mkstemp.o pr-syslog.o pwgrent.o getopt.o getopt1.o
ranlib libsupp.a
make[1]: Leaving directory `/usr/src/proftpd-1.2.8/lib'
cd src/ && make src
make[1]: Entering directory `/usr/src/proftpd-1.2.8/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 inet.c
gcc -DLINUX -I.. -I../include -O2 -Wall -c log.c
gcc -DLINUX -I.. -I../include -O2 -Wall -c bindings.c
gcc -DLINUX -I.. -I../include -O2 -Wall -c scoreboard.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
make[1]: Leaving directory `/usr/src/proftpd-1.2.8/src'
cd modules/ && make modules
make[1]: Entering directory `/usr/src/proftpd-1.2.8/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_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_core.o mod_cap.o
gcc -DLINUX -I.. -I../include -O2 -Wall -c module_glue.c
make[1]: Leaving directory `/usr/src/proftpd-1.2.8/modules'
make[1]: Entering directory `/usr/src/proftpd-1.2.8/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/proftpd-1.2.8/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/inet.o src/log.o src/bindings.o src/scoreboard.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 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_core.o modules/module_glue.o -lsupp -lcrypt -Llib/libcap -lcap
modules/mod_core.o: In function `core_display_file':
modules/mod_core.o(.text+0x61c8): multiple definition of `core_display_file'
modules/mod_core.o(.text+0x61c8): first defined here
modules/mod_core.o: In function `core_chgrp':
modules/mod_core.o(.text+0x7368): multiple definition of `core_chgrp'
modules/mod_core.o(.text+0x7368): first defined here
modules/mod_core.o: In function `core_chmod':
modules/mod_core.o(.text+0x73b0): multiple definition of `core_chmod'
modules/mod_core.o(.text+0x73b0): first defined here
modules/mod_core.o: In function `find_class':
modules/mod_core.o(.text+0x90d0): multiple definition of `find_class'
modules/mod_core.o(.text+0x90d0): first defined here
modules/mod_core.o(.data+0x960): multiple definition of `core_module'
modules/mod_core.o(.data+0x960): first defined here
collect2: ld returned 1 exit status
make: *** [proftpd] Fehler 1