www.ProFTPD.de
13. März 2007, 20:07:14 *
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: dringend hilfe!  (Gelesen 323 mal)
0 Mitglieder und 1 Gast betrachten dieses Thema.
Anonymous
Gast
« am: 07. April 2004, 23:23:28 »

Ich kann machen was ich will, kann einfach das mysql modul nicht einbinden, hab mal die ausgabe des make befehls hier gepostet. wieso undefinied referenze zu irgenwas mit mysql HuchHuchHuch
Neueste mysql versionen - meiner meinung alles benötigte installiert.

was ist faul ?

Code:
linux:/proftpd-1.2.9 # make clean
cd src/     && make clean
make[1]: Entering directory `/proftpd-1.2.9/src'
rm -f *.o
make[1]: Leaving directory `/proftpd-1.2.9/src'
cd modules/ && make clean
make[1]: Entering directory `/proftpd-1.2.9/modules'
rm -f *.o module_glue.c
make[1]: Leaving directory `/proftpd-1.2.9/modules'
cd lib/     && make clean
make[1]: Entering directory `/proftpd-1.2.9/lib'
rm -f *.o libsupp.a
make[1]: Leaving directory `/proftpd-1.2.9/lib'
cd utils/   && make clean
make[1]: Entering directory `/proftpd-1.2.9/utils'
rm -f *.o
make[1]: Leaving directory `/proftpd-1.2.9/utils'
make[1]: Entering directory `/proftpd-1.2.9/lib/libcap'
rm -f cap_alloc.o cap_proc.o cap_extint.o cap_flag.o cap_text.o cap_sys.o libcap.a*
rm -f cap_names.h cap_names.sed _makenames
make[1]: Leaving directory `/proftpd-1.2.9/lib/libcap'
rm -f include/buildstamp.h
rm -f proftpd ftpcount ftpshut ftptop ftpwho
linux:/proftpd-1.2.9 # make
echo \#define BUILD_STAMP \"`date`\" >include/buildstamp.h
cd lib/ && make lib
make[1]: Entering directory `/proftpd-1.2.9/lib'
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c pr_fnmatch.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c sstrncpy.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c strsep.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c vsnprintf.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c glibc-glob.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c glibc-hstrerror.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c glibc-mkstemp.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c pr-syslog.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c pwgrent.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c getopt.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -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 `/proftpd-1.2.9/lib'
cd src/ && make src
make[1]: Entering directory `/proftpd-1.2.9/src'
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c main.c
main.c: In function `cmd_loop':
main.c:808: warning: comparison between signed and unsigned
main.c: In function `daemon_loop':
main.c:1522: warning: comparison between signed and unsigned
main.c:1540: warning: comparison between signed and unsigned
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c timers.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c sets.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c pool.c
pool.c: In function `__walk_pools':
pool.c:253: warning: comparison between signed and unsigned
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c regexp.c
regexp.c: In function `regexp_cleanup':
regexp.c:45: warning: comparison between signed and unsigned
regexp.c: In function `pr_regexp_free':
regexp.c:102: warning: comparison between signed and unsigned
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c dirtree.c
dirtree.c: In function `path_subst_uservar':
dirtree.c:300: warning: comparison between signed and unsigned
dirtree.c: In function `define_exists':
dirtree.c:480: warning: comparison between signed and unsigned
dirtree.c: In function `pr_cmd_alloc':
dirtree.c:556: warning: comparison between signed and unsigned
dirtree.c: In function `match_ip':
dirtree.c:1508: warning: comparison between signed and unsigned
dirtree.c:1509: warning: signed and unsigned type in conditional expression
dirtree.c: In function `_check_limits':
dirtree.c:1873: warning: comparison between signed and unsigned
dirtree.c:1878: warning: comparison between signed and unsigned
dirtree.c: In function `_find_best_dir':
dirtree.c:2504: warning: comparison between signed and unsigned
dirtree.c:2508: warning: comparison between signed and unsigned
dirtree.c: In function `get_full_cmd':
dirtree.c:3342: warning: comparison between signed and unsigned
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c support.c
support.c: In function `access_check':
support.c:524: warning: comparison between signed and unsigned
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c netaddr.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c inet.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c log.c
log.c: In function `log_write':
log.c:515: warning: comparison between signed and unsigned
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c bindings.c
bindings.c: In function `pr_ipbind_close':
bindings.c:252: warning: comparison between signed and unsigned
bindings.c:286: warning: comparison between signed and unsigned
bindings.c: In function `pr_ipbind_open':
bindings.c:527: warning: comparison between signed and unsigned
bindings.c: In function `pr_namebind_create':
bindings.c:590: warning: comparison between signed and unsigned
bindings.c: In function `pr_namebind_find':
bindings.c:671: warning: comparison between signed and unsigned
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c scoreboard.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c feat.c
feat.c: In function `pr_feat_add':
feat.c:49: warning: comparison between signed and unsigned
feat.c: In function `pr_feat_get_next':
feat.c:67: warning: comparison between signed and unsigned
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c netio.c
netio.c: In function `pr_netio_read':
netio.c:650: warning: comparison between signed and unsigned
netio.c: In function `pr_netio_gets':
netio.c:758: warning: comparison between signed and unsigned
netio.c: In function `pr_netio_telnet_gets':
netio.c:824: warning: comparison between signed and unsigned
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c response.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c ident.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c data.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c modules.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c auth.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c fsio.c
fsio.c: In function `pr_unregister_fs':
fsio.c:629: warning: comparison between signed and unsigned
fsio.c:647: warning: comparison between signed and unsigned
fsio.c: In function `pr_get_fs':
fsio.c:711: warning: comparison between signed and unsigned
fsio.c: In function `pr_fs_interpolate':
fsio.c:1058: warning: comparison between signed and unsigned
fsio.c:1058: warning: signed and unsigned type in conditional expression
fsio.c:1071: warning: comparison between signed and unsigned
fsio.c:1071: warning: signed and unsigned type in conditional expression
fsio.c:1108: warning: comparison between signed and unsigned
fsio.c: In function `pr_fsio_chroot':
fsio.c:2473: warning: comparison between signed and unsigned
fsio.c: In function `pr_fsio_gets':
fsio.c:2528: warning: comparison between signed and unsigned
fsio.c: In function `pr_resolve_fs_map':
fsio.c:2688: warning: comparison between signed and unsigned
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c mkhome.c
make[1]: Leaving directory `/proftpd-1.2.9/src'
cd modules/ && make modules
make[1]: Entering directory `/proftpd-1.2.9/modules'
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c mod_core.c
mod_core.c: In function `set_defaultaddress':
mod_core.c:489: warning: comparison between signed and unsigned
mod_core.c: In function `set_bind':
mod_core.c:586: warning: comparison between signed and unsigned
mod_core.c: In function `set_socketoptions':
mod_core.c:845: warning: comparison between signed and unsigned
mod_core.c: In function `set_rlimitmemory':
mod_core.c:1219: warning: comparison between signed and unsigned
mod_core.c:1222: warning: comparison between signed and unsigned
mod_core.c:1234: warning: comparison between signed and unsigned
mod_core.c:1237: warning: comparison between signed and unsigned
mod_core.c:1269: warning: comparison between signed and unsigned
mod_core.c:1272: warning: comparison between signed and unsigned
mod_core.c:1284: warning: comparison between signed and unsigned
mod_core.c:1287: warning: comparison between signed and unsigned
mod_core.c: In function `set_authorder':
mod_core.c:2465: warning: comparison between signed and unsigned
mod_core.c: In function `add_virtualhost':
mod_core.c:2592: warning: comparison between signed and unsigned
mod_core.c: In function `core_sess_init':
mod_core.c:4477: warning: comparison between signed and unsigned
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c mod_xfer.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c mod_auth_unix.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c mod_auth_file.c
mod_auth_file.c: In function `set_authgroupfile':
mod_auth_file.c:974: warning: comparison between signed and unsigned
mod_auth_file.c: In function `set_authuserfile':
mod_auth_file.c:1075: warning: comparison between signed and unsigned
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c mod_auth.c
mod_auth.c: In function `auth_count_scoreboard':
mod_auth.c:1637: warning: comparison between signed and unsigned
mod_auth.c:1659: warning: comparison between signed and unsigned
mod_auth.c:1680: warning: comparison between signed and unsigned
mod_auth.c:1700: warning: comparison between signed and unsigned
mod_auth.c: In function `auth_pass':
mod_auth.c:1920: warning: comparison between signed and unsigned
mod_auth.c: In function `set_createhome':
mod_auth.c:2127: warning: comparison between signed and unsigned
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c mod_ls.c
mod_ls.c: In function `_find_ls_limit':
mod_ls.c:113: warning: comparison between signed and unsigned
mod_ls.c:123: warning: comparison between signed and unsigned
mod_ls.c: In function `sortfiles':
mod_ls.c:601: warning: comparison between signed and unsigned
mod_ls.c: In function `dolist':
mod_ls.c:1254: warning: comparison between signed and unsigned
mod_ls.c: In function `set_listoptions':
mod_ls.c:2068: warning: comparison between signed and unsigned
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c mod_log.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c mod_site.c
mod_site.c: In function `site_chgrp':
mod_site.c:82: warning: comparison between signed and unsigned
mod_site.c:120: warning: comparison between signed and unsigned
mod_site.c: In function `site_chmod':
mod_site.c:152: warning: comparison between signed and unsigned
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c mod_sql.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c mod_sql_mysql.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c mod_cap.c
mod_cap.c: In function `set_caps':
mod_cap.c:154: warning: comparison between signed and unsigned
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_sql.o mod_sql_mysql.o mod_cap.o
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c module_glue.c
make[1]: Leaving directory `/proftpd-1.2.9/modules'
make[1]: Entering directory `/proftpd-1.2.9/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
cap_extint.c: In function `cap_copy_ext':
cap_extint.c:53: warning: comparison between signed and unsigned
cap_extint.c:64: warning: comparison between signed and unsigned
cap_extint.c: In function `cap_copy_int':
cap_extint.c:111: warning: comparison between signed and unsigned
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 `/proftpd-1.2.9/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/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_sql_mysql.o modules/mod_sql.o  modules/module_glue.o -lsupp -lcrypt  -Llib/libcap -lcap -L/usr/lib/mysql
modules/module_glue.o(.data+0x20): undefined reference to `sql_module'
modules/module_glue.o(.data+0x24): undefined reference to `sql_mysql_module'
collect2: ld returned 1 exit status
make: *** [proftpd] Error 1
Gespeichert
stonki
Administrator
ProFTPD
*****
Offline Offline

Beiträge: 1853


15318939
Profil anzeigen WWW E-Mail
« Antwort #1 am: 08. April 2004, 07:56:25 »

Zitat von: "Anonymous"
Ich kann machen was ich will, kann einfach das mysql modul nicht einbinden, hab mal die ausgabe des make befehls hier gepostet. wieso undefinied referenze zu irgenwas mit mysql ?????????
Neueste mysql versionen - meiner meinung alles benötigte installiert.

was ist faul ?


keine Ahnung. Poste mal Deine Configure Zeile
Gespeichert

www.stonki.de:    the more I see, the more I know.......
www.proftpd.de:   Deutsche ProFTPD Dokumentation
www.krename.net:  Der Batch Renamer für KDE
www.kbarcode.net: Die Barcode Solution für KDE
Anonymous
Gast
« Antwort #2 am: 08. April 2004, 12:10:28 »

Hier die configure Zeilen die ich schon probiert hab:

./configure --with-modules=mod_sql:mod_sql_mysql

./configure --with-modules=mod_sql:mod_sql_mysql --with-includes=/usr/local/include
--with-libraries=/usr/local/lib/mysql

./configure --with-modules=mod_sql:mod_sql_mysql --with-includes=/usr/include/mysql --with-libraries=/usr/lib/mysql --sysconfdir=/usr/local/etc/

überall der gleiche fehler
irgendwas mit prefix = ..... hab ich auch schon probiert, aber dennoch gleicher Fehler !
Gespeichert
graem_l
Gast
« Antwort #3 am: 08. April 2004, 12:15:04 »

Also wenn du dein mysqlinstallverzeichnis weisst, ist es von mir aus gesehen folgendermassen:

--with-includes=/<mysqlinstallpfad>/include/mysql

--with-libraries=/<mysqlinstallpfad>/lib/mysql


z.B. bei mir sieht das so aus:

--with-includes=/usr/local/mysql/include/mysql

--with-libraries=/usr/local/mysql/lib/mysql
Gespeichert
Anonymous
Gast
« Antwort #4 am: 08. April 2004, 12:16:43 »

Und ich musste damit das geht bei mir noch folgendes machen:

cp /usr/local/mysql/lib/mysql/libmysqlclient.* /lib
Gespeichert
Anonymous
Gast
« Antwort #5 am: 08. April 2004, 13:24:41 »

danke für den Tip, leider immer noch der gleiche Fehler !

Was kann man noch tun ?
Gespeichert
Wörsty
Moderator
ProFTPD
*****
Offline Offline

Beiträge: 1602


50772603
Profil anzeigen WWW E-Mail
« Antwort #6 am: 08. April 2004, 14:33:07 »

Zitat von: "Anonymous"
danke für den Tip, leider immer noch der gleiche Fehler !

Was kann man noch tun ?

Nochmal neu saugen  :arrow: http://www.proftpd.de/15.0.html
Und neu installieren:
Code:
./configure --with-modules=mod_sql:mod_sql_mysql --with-includes=/usr/local/include --with-libraries=/usr/local/lib/mysql
make clean
make


Und dann alle Ausgaben posten.
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.062 Sekunden mit 16 Zugriffen.