www.ProFTPD.de
13. März 2007, 20:47:32 *
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: proftpd und sql  (Gelesen 446 mal)
0 Mitglieder und 1 Gast betrachten dieses Thema.
user72
ProFTPD
*
Offline Offline

Beiträge: 9


Profil anzeigen
« am: 29. Juli 2003, 22:01:04 »

hi

ich habe probleme bei der instalation von proftpd

wenn ich
Code:

./configure
make
make install

eingebe läuft proftd, aber wenn ich das ganze mit
Code:

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

mache instaliert er es nicht und schmeist fehler ohne ende , ich hab gelesen das bei suse 8.2 der patch angepast werde soll nur weiss nich nicht wie
Gespeichert
guden
ProFTPD
*
Offline Offline

Beiträge: 103


Profil anzeigen
« Antwort #1 am: 29. Juli 2003, 22:06:19 »

wie wäre es wenn du mal die fehler postest das wir dir auch helfen können ;-)
Gespeichert
stonki
Administrator
ProFTPD
*****
Offline Offline

Beiträge: 1853


15318939
Profil anzeigen WWW E-Mail
« Antwort #2 am: 29. Juli 2003, 22:40:01 »

Zitat von: "user72"

mache instaliert er es nicht und schmeist fehler ohne ende , ich hab gelesen das bei suse 8.2 der patch angepast werde soll nur weiss nich nicht wie


quatsch ! Klappt bei SuSE 8.2 wie bei SuSE 8.1 [8,0, 7.3, 7,2, 7,1, 7,0, 6.4, 6,3] wie bei allen anderen Smiley

Poste doch die fehler Smiley

oder (bin gerade so gut drauf Smiley )  :root:

 :wink:
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
Tiger
ProFTPD
*
Offline Offline

Beiträge: 39


143368889 sysoptiger
Profil anzeigen WWW
« Antwort #3 am: 30. Juli 2003, 07:45:49 »

Ich finde alle Forum-Mitglieder sollten ihr Root-Passwort posten, das macht die Sache bestimmt spaßiger  :twisted:  Zunge

Grüße

Tiger
Gespeichert
stonki
Administrator
ProFTPD
*****
Offline Offline

Beiträge: 1853


15318939
Profil anzeigen WWW E-Mail
« Antwort #4 am: 30. Juli 2003, 08:42:41 »

Zitat von: "Tiger"
Ich finde alle Forum-Mitglieder sollten ihr Root-Passwort posten, das macht die Sache bestimmt spaßiger  :twisted:  :P


LOL. Aber mal ernsthaft: gerade wenn man Anfaenger ist und ein problem gefixt haben will, dann ist das keine schlechte Idee jemanden Root Zugang zu geben, der mehr Ahnung hat. Das habe ich auch schon gemacht, wenn Programme von denen ich weniger Ahnung hatte, nicht so wollten wir ich, ich jedoch eine Loesung brauchte.

Wenn man sich hier manchmal die Threads anschaut, dann braucht man alleine nen halben Tag um die noetigen Infos zu bekommen und im Endeffekt liegt es dann an etwas anderen.

cu
stonki
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
Wörsty
Moderator
ProFTPD
*****
Offline Offline

Beiträge: 1602


50772603
Profil anzeigen WWW E-Mail
« Antwort #5 am: 30. Juli 2003, 10:33:36 »

Genau da kann man dann auch eben schnell einen Trojaner installieren oder einen Benutzer mit root-Rechten anlegen....   :twisted:  
Wenn jemand keine Ahnung hat - wie du ja schreibst - merkt der das eh nicht. :roll:
Gespeichert

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

Beiträge: 1853


15318939
Profil anzeigen WWW E-Mail
« Antwort #6 am: 30. Juli 2003, 11:43:01 »

Zitat von: "Wörsty"
Genau da kann man dann auch eben schnell einen Trojaner installieren oder einen Benutzer mit root-Rechten anlegen....   :twisted:  
Wenn jemand keine Ahnung hat - wie du ja schreibst - merkt der das eh nicht. :roll:


naja, ein wenig vertrauen sollte man schon haben. Ich gebe auch nur Leuten das denen ich vertraue. ....

cu
stonki
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
user72
ProFTPD
*
Offline Offline

Beiträge: 9


Profil anzeigen
« Antwort #7 am: 30. Juli 2003, 16:56:03 »

so hier mein bericht, nach dem ich ./configure --with-modules=mod_sql:mod_sql_mysql  ausbeführt habe fürt er ja ein test durch, dann hab ich mit make weitergemacht und dann tauchen auch schon die ersten Fehler auf
Code:

cd lib/ && make lib
make[1]: Entering directory `/usr/local/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
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/local/src/proftpd-1.2.8/lib'
cd src/ && make src
make[1]: Entering directory `/usr/local/src/proftpd-1.2.8/src'
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c main.c
main.c: In function `cmd_loop':
main.c:772: warning: comparison between signed and unsigned
main.c: In function `daemon_loop':
main.c:1473: warning: comparison between signed and unsigned
main.c:1491: warning: comparison between signed and unsigned
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
pool.c: In function `__walk_pools':
pool.c:253: warning: comparison between signed and unsigned
gcc  -DLINUX  -I.. -I../include  -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  -O2 -Wall -c dirtree.c
dirtree.c: In function `define_exists':
dirtree.c:363: warning: comparison between signed and unsigned
dirtree.c: In function `match_ip':
dirtree.c:1359: warning: comparison between signed and unsigned
dirtree.c:1360: warning: signed and unsigned type in conditional expression
dirtree.c: In function `_check_limits':
dirtree.c:1729: warning: comparison between signed and unsigned
dirtree.c:1734: warning: comparison between signed and unsigned
dirtree.c: In function `_find_best_dir':
dirtree.c:2346: warning: comparison between signed and unsigned
dirtree.c:2350: warning: comparison between signed and unsigned
dirtree.c: In function `get_full_cmd':
dirtree.c:3176: warning: comparison between signed and unsigned
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c support.c
support.c: In function `access_check':
support.c:516: warning: comparison between signed and unsigned
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c inet.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c log.c
log.c: In function `log':
log.c:437: warning: comparison between signed and unsigned
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c bindings.c
bindings.c: In function `pr_ipbind_close':
bindings.c:249: warning: comparison between signed and unsigned
bindings.c:283: warning: comparison between signed and unsigned
bindings.c: In function `pr_ipbind_create':
bindings.c:318: warning: comparison between signed and unsigned
bindings.c: In function `pr_ipbind_open':
bindings.c:526: warning: comparison between signed and unsigned
bindings.c: In function `pr_namebind_create':
bindings.c:588: warning: comparison between signed and unsigned
bindings.c: In function `pr_namebind_find':
bindings.c:663: warning: comparison between signed and unsigned
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c scoreboard.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c feat.c
feat.c: In function `pr_add_feat':
feat.c:49: warning: comparison between signed and unsigned
feat.c: In function `pr_get_next_feat':
feat.c:67: warning: comparison between signed and unsigned
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c netio.c
netio.c: In function `pr_netio_read':
netio.c:648: 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  -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
fsio.c: In function `pr_unregister_fs':
fsio.c:589: warning: comparison between signed and unsigned
fsio.c:607: warning: comparison between signed and unsigned
fsio.c: In function `pr_get_fs':
fsio.c:671: warning: comparison between signed and unsigned
fsio.c: In function `pr_fs_interpolate':
fsio.c:1017: warning: comparison between signed and unsigned
fsio.c:1017: warning: signed and unsigned type in conditional expression
fsio.c:1030: warning: comparison between signed and unsigned
fsio.c:1030: warning: signed and unsigned type in conditional expression
fsio.c:1058: warning: comparison between signed and unsigned
fsio.c: In function `pr_fsio_chroot':
fsio.c:2321: warning: comparison between signed and unsigned
fsio.c: In function `pr_fsio_gets':
fsio.c:2376: warning: comparison between signed and unsigned
fsio.c: In function `pr_resolve_fs_map':
fsio.c:2515: warning: comparison between signed and unsigned
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c mkhome.c
make[1]: Leaving directory `/usr/local/src/proftpd-1.2.8/src'
cd modules/ && make modules
make[1]: Entering directory `/usr/local/src/proftpd-1.2.8/modules'
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c mod_core.c
mod_core.c: In function `set_rlimitmemory':
mod_core.c:1046: warning: comparison between signed and unsigned
mod_core.c:1049: warning: comparison between signed and unsigned
mod_core.c:1061: warning: comparison between signed and unsigned
mod_core.c:1064: warning: comparison between signed and unsigned
mod_core.c:1096: warning: comparison between signed and unsigned
mod_core.c:1099: warning: comparison between signed and unsigned
mod_core.c:1111: warning: comparison between signed and unsigned
mod_core.c:1114: warning: comparison between signed and unsigned
mod_core.c: In function `set_authorder':
mod_core.c:2253: warning: comparison between signed and unsigned
mod_core.c: In function `core_sess_init':
mod_core.c:3796: warning: comparison between signed and unsigned
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
mod_auth_file.c: In function `set_authgroupfile':
mod_auth_file.c:941: warning: comparison between signed and unsigned
mod_auth_file.c: In function `set_authuserfile':
mod_auth_file.c:1042: warning: comparison between signed and unsigned
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c mod_auth.c
mod_auth.c: In function `auth_count_scoreboard':
mod_auth.c:1527: warning: comparison between signed and unsigned
mod_auth.c:1549: warning: comparison between signed and unsigned
mod_auth.c:1570: warning: comparison between signed and unsigned
mod_auth.c:1590: warning: comparison between signed and unsigned
mod_auth.c: In function `auth_pass':
mod_auth.c:1820: warning: comparison between signed and unsigned
mod_auth.c: In function `set_createhome':
mod_auth.c:1996: warning: comparison between signed and unsigned
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c mod_ls.c
mod_ls.c: In function `_find_ls_limit':
mod_ls.c:103: warning: comparison between signed and unsigned
mod_ls.c:113: warning: comparison between signed and unsigned
mod_ls.c: In function `sortfiles':
mod_ls.c:578: warning: comparison between signed and unsigned
mod_ls.c: In function `dolist':
mod_ls.c:1162: warning: comparison between signed and unsigned
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c mod_log.c
gcc  -DLINUX  -I.. -I../include  -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  -O2 -Wall -c mod_sql_mysql.c
mod_sql_mysql.c:136:25: mysql/mysql.h: No such file or directory
mod_sql_mysql.c:163: error: parse error before "MYSQL"
mod_sql_mysql.c:163: warning: no semicolon at end of struct or union
mod_sql_mysql.c: In function `_sql_timer_callback':
mod_sql_mysql.c:280: warning: comparison between signed and unsigned
mod_sql_mysql.c: In function `_build_error':
mod_sql_mysql.c:331: warning: implicit declaration of function `mysql_errno'
mod_sql_mysql.c:331: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:333: warning: implicit declaration of function `mysql_error'
mod_sql_mysql.c:333: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:333: warning: passing arg 4 of `mod_create_ret' makes pointer from integer without a cast
mod_sql_mysql.c: In function `_build_data':
mod_sql_mysql.c:345: error: `MYSQL' undeclared (first use in this function)
mod_sql_mysql.c:345: error: (Each undeclared identifier is reported only once
mod_sql_mysql.c:345: error: for each function it appears in.)
mod_sql_mysql.c:345: error: `mysql' undeclared (first use in this function)
mod_sql_mysql.c:346: error: `MYSQL_RES' undeclared (first use in this function)
mod_sql_mysql.c:346: error: `result' undeclared (first use in this function)
mod_sql_mysql.c:347: error: `MYSQL_ROW' undeclared (first use in this function)
mod_sql_mysql.c:347: error: parse error before "row"
mod_sql_mysql.c:356: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:362: warning: implicit declaration of function `mysql_store_result'
mod_sql_mysql.c:368: warning: implicit declaration of function `mysql_num_rows'
mod_sql_mysql.c:369: warning: implicit declaration of function `mysql_num_fields'
mod_sql_mysql.c:374: error: `row' undeclared (first use in this function)
mod_sql_mysql.c:374: warning: implicit declaration of function `mysql_fetch_row'
mod_sql_mysql.c:384: warning: implicit declaration of function `mysql_free_result'
mod_sql_mysql.c: In function `cmd_open':
mod_sql_mysql.c:438: warning: implicit declaration of function `mysql_ping'
mod_sql_mysql.c:438: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:450: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:450: warning: implicit declaration of function `mysql_init'
mod_sql_mysql.c:452: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:460: warning: implicit declaration of function `mysql_real_connect'
mod_sql_mysql.c:460: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:460: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:460: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:461: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:461: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:462: error: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_close':
mod_sql_mysql.c:556: warning: implicit declaration of function `mysql_close'
mod_sql_mysql.c:556: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:557: error: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_defineconnection':
mod_sql_mysql.c:623: error: invalid application of `sizeof' to an incomplete type
mod_sql_mysql.c:626: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:627: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:658: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:659: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:660: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:677: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:678: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:679: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:680: error: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_select':
mod_sql_mysql.c:801: warning: implicit declaration of function `mysql_real_query'
mod_sql_mysql.c:801: error: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_insert':
mod_sql_mysql.c:915: error: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_update':
mod_sql_mysql.c:1014: error: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_query':
mod_sql_mysql.c:1130: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:1145: warning: implicit declaration of function `mysql_field_count'
mod_sql_mysql.c:1145: error: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_escapestring':
mod_sql_mysql.c:1225: warning: implicit declaration of function `mysql_escape_string'
mod_sql_mysql.c: In function `cmd_checkauth':
mod_sql_mysql.c:1289: warning: implicit declaration of function `make_scrambled_password'
make[1]: *** [mod_sql_mysql.o] Error 1
make[1]: Leaving directory `/usr/local/src/proftpd-1.2.8/modules'
make: *** [modules] Error 2

der näste befehl ist make install nur glaube ich das bei denn vielen meldungen oben hier auch nichts brauchbares rauskommen kann.

Code:

cd lib/ && make lib
make[1]: Entering directory `/usr/local/src/proftpd-1.2.8/lib'
make[1]: Nothing to be done for `lib'.
make[1]: Leaving directory `/usr/local/src/proftpd-1.2.8/lib'
cd src/ && make src
make[1]: Entering directory `/usr/local/src/proftpd-1.2.8/src'
make[1]: Nothing to be done for `src'.
make[1]: Leaving directory `/usr/local/src/proftpd-1.2.8/src'
cd modules/ && make modules
make[1]: Entering directory `/usr/local/src/proftpd-1.2.8/modules'
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c mod_sql_mysql.c
mod_sql_mysql.c:136:25: mysql/mysql.h: No such file or directory
mod_sql_mysql.c:163: error: parse error before "MYSQL"
mod_sql_mysql.c:163: warning: no semicolon at end of struct or union
mod_sql_mysql.c: In function `_sql_timer_callback':
mod_sql_mysql.c:280: warning: comparison between signed and unsigned
mod_sql_mysql.c: In function `_build_error':
mod_sql_mysql.c:331: warning: implicit declaration of function `mysql_errno'
mod_sql_mysql.c:331: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:333: warning: implicit declaration of function `mysql_error'
mod_sql_mysql.c:333: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:333: warning: passing arg 4 of `mod_create_ret' makes pointer from integer without a cast
mod_sql_mysql.c: In function `_build_data':
mod_sql_mysql.c:345: error: `MYSQL' undeclared (first use in this function)
mod_sql_mysql.c:345: error: (Each undeclared identifier is reported only once
mod_sql_mysql.c:345: error: for each function it appears in.)
mod_sql_mysql.c:345: error: `mysql' undeclared (first use in this function)
mod_sql_mysql.c:346: error: `MYSQL_RES' undeclared (first use in this function)
mod_sql_mysql.c:346: error: `result' undeclared (first use in this function)
mod_sql_mysql.c:347: error: `MYSQL_ROW' undeclared (first use in this function)
mod_sql_mysql.c:347: error: parse error before "row"
mod_sql_mysql.c:356: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:362: warning: implicit declaration of function `mysql_store_result'
mod_sql_mysql.c:368: warning: implicit declaration of function `mysql_num_rows'
mod_sql_mysql.c:369: warning: implicit declaration of function `mysql_num_fields'
mod_sql_mysql.c:374: error: `row' undeclared (first use in this function)
mod_sql_mysql.c:374: warning: implicit declaration of function `mysql_fetch_row'
mod_sql_mysql.c:384: warning: implicit declaration of function `mysql_free_result'
mod_sql_mysql.c: In function `cmd_open':
mod_sql_mysql.c:438: warning: implicit declaration of function `mysql_ping'
mod_sql_mysql.c:438: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:450: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:450: warning: implicit declaration of function `mysql_init'
mod_sql_mysql.c:452: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:460: warning: implicit declaration of function `mysql_real_connect'
mod_sql_mysql.c:460: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:460: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:460: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:461: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:461: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:462: error: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_close':
mod_sql_mysql.c:556: warning: implicit declaration of function `mysql_close'
mod_sql_mysql.c:556: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:557: error: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_defineconnection':
mod_sql_mysql.c:623: error: invalid application of `sizeof' to an incomplete type
mod_sql_mysql.c:626: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:627: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:658: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:659: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:660: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:677: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:678: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:679: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:680: error: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_select':
mod_sql_mysql.c:801: warning: implicit declaration of function `mysql_real_query'
mod_sql_mysql.c:801: error: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_insert':
mod_sql_mysql.c:915: error: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_update':
mod_sql_mysql.c:1014: error: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_query':
mod_sql_mysql.c:1130: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:1145: warning: implicit declaration of function `mysql_field_count'
mod_sql_mysql.c:1145: error: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_escapestring':
mod_sql_mysql.c:1225: warning: implicit declaration of function `mysql_escape_string'
mod_sql_mysql.c: In function `cmd_checkauth':
mod_sql_mysql.c:1289: warning: implicit declaration of function `make_scrambled_password'
make[1]: *** [mod_sql_mysql.o] Error 1
make[1]: Leaving directory `/usr/local/src/proftpd-1.2.8/modules'
make: *** [modules] Error 2

ich höffe es kann einer was mit anfangen
Gespeichert
Wörsty
Moderator
ProFTPD
*****
Offline Offline

Beiträge: 1602


50772603
Profil anzeigen WWW E-Mail
« Antwort #8 am: 30. Juli 2003, 17:08:48 »

Sind die kernel-headers / Develompent Tools installiert?
Ist mysql-devel installiert?
Gespeichert

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

Beiträge: 9


Profil anzeigen
« Antwort #9 am: 30. Juli 2003, 19:19:05 »

nach dem ich mysql-devel nachinstaliert habe sagt er nur noch einen error, kann es sein das mir noch was fehlt, drauf hab ich jetzt

mysql 3.23.55-14
mysql-client 3.23.55-14
mysql-shared 3.23.55-14
mysql-devel 3.23.53-26


Code:

cd lib/ && make lib
make[1]: Entering directory `/usr/local/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
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/local/src/proftpd-1.2.8/lib'
cd src/ && make src
make[1]: Entering directory `/usr/local/src/proftpd-1.2.8/src'
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c main.c
main.c: In function `cmd_loop':
main.c:772: warning: comparison between signed and unsigned
main.c: In function `daemon_loop':
main.c:1473: warning: comparison between signed and unsigned
main.c:1491: warning: comparison between signed and unsigned
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
pool.c: In function `__walk_pools':
pool.c:253: warning: comparison between signed and unsigned
gcc  -DLINUX  -I.. -I../include  -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  -O2 -Wall -c dirtree.c
dirtree.c: In function `define_exists':
dirtree.c:363: warning: comparison between signed and unsigned
dirtree.c: In function `match_ip':
dirtree.c:1359: warning: comparison between signed and unsigned
dirtree.c:1360: warning: signed and unsigned type in conditional expression
dirtree.c: In function `_check_limits':
dirtree.c:1729: warning: comparison between signed and unsigned
dirtree.c:1734: warning: comparison between signed and unsigned
dirtree.c: In function `_find_best_dir':
dirtree.c:2346: warning: comparison between signed and unsigned
dirtree.c:2350: warning: comparison between signed and unsigned
dirtree.c: In function `get_full_cmd':
dirtree.c:3176: warning: comparison between signed and unsigned
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c support.c
support.c: In function `access_check':
support.c:516: warning: comparison between signed and unsigned
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c inet.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c log.c
log.c: In function `log':
log.c:437: warning: comparison between signed and unsigned
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c bindings.c
bindings.c: In function `pr_ipbind_close':
bindings.c:249: warning: comparison between signed and unsigned
bindings.c:283: warning: comparison between signed and unsigned
bindings.c: In function `pr_ipbind_create':
bindings.c:318: warning: comparison between signed and unsigned
bindings.c: In function `pr_ipbind_open':
bindings.c:526: warning: comparison between signed and unsigned
bindings.c: In function `pr_namebind_create':
bindings.c:588: warning: comparison between signed and unsigned
bindings.c: In function `pr_namebind_find':
bindings.c:663: warning: comparison between signed and unsigned
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c scoreboard.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c feat.c
feat.c: In function `pr_add_feat':
feat.c:49: warning: comparison between signed and unsigned
feat.c: In function `pr_get_next_feat':
feat.c:67: warning: comparison between signed and unsigned
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c netio.c
netio.c: In function `pr_netio_read':
netio.c:648: 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  -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
fsio.c: In function `pr_unregister_fs':
fsio.c:589: warning: comparison between signed and unsigned
fsio.c:607: warning: comparison between signed and unsigned
fsio.c: In function `pr_get_fs':
fsio.c:671: warning: comparison between signed and unsigned
fsio.c: In function `pr_fs_interpolate':
fsio.c:1017: warning: comparison between signed and unsigned
fsio.c:1017: warning: signed and unsigned type in conditional expression
fsio.c:1030: warning: comparison between signed and unsigned
fsio.c:1030: warning: signed and unsigned type in conditional expression
fsio.c:1058: warning: comparison between signed and unsigned
fsio.c: In function `pr_fsio_chroot':
fsio.c:2321: warning: comparison between signed and unsigned
fsio.c: In function `pr_fsio_gets':
fsio.c:2376: warning: comparison between signed and unsigned
fsio.c: In function `pr_resolve_fs_map':
fsio.c:2515: warning: comparison between signed and unsigned
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c mkhome.c
make[1]: Leaving directory `/usr/local/src/proftpd-1.2.8/src'
cd modules/ && make modules
make[1]: Entering directory `/usr/local/src/proftpd-1.2.8/modules'
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c mod_core.c
mod_core.c: In function `set_rlimitmemory':
mod_core.c:1046: warning: comparison between signed and unsigned
mod_core.c:1049: warning: comparison between signed and unsigned
mod_core.c:1061: warning: comparison between signed and unsigned
mod_core.c:1064: warning: comparison between signed and unsigned
mod_core.c:1096: warning: comparison between signed and unsigned
mod_core.c:1099: warning: comparison between signed and unsigned
mod_core.c:1111: warning: comparison between signed and unsigned
mod_core.c:1114: warning: comparison between signed and unsigned
mod_core.c: In function `set_authorder':
mod_core.c:2253: warning: comparison between signed and unsigned
mod_core.c: In function `core_sess_init':
mod_core.c:3796: warning: comparison between signed and unsigned
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
mod_auth_file.c: In function `set_authgroupfile':
mod_auth_file.c:941: warning: comparison between signed and unsigned
mod_auth_file.c: In function `set_authuserfile':
mod_auth_file.c:1042: warning: comparison between signed and unsigned
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c mod_auth.c
mod_auth.c: In function `auth_count_scoreboard':
mod_auth.c:1527: warning: comparison between signed and unsigned
mod_auth.c:1549: warning: comparison between signed and unsigned
mod_auth.c:1570: warning: comparison between signed and unsigned
mod_auth.c:1590: warning: comparison between signed and unsigned
mod_auth.c: In function `auth_pass':
mod_auth.c:1820: warning: comparison between signed and unsigned
mod_auth.c: In function `set_createhome':
mod_auth.c:1996: warning: comparison between signed and unsigned
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c mod_ls.c
mod_ls.c: In function `_find_ls_limit':
mod_ls.c:103: warning: comparison between signed and unsigned
mod_ls.c:113: warning: comparison between signed and unsigned
mod_ls.c: In function `sortfiles':
mod_ls.c:578: warning: comparison between signed and unsigned
mod_ls.c: In function `dolist':
mod_ls.c:1162: warning: comparison between signed and unsigned
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c mod_log.c
gcc  -DLINUX  -I.. -I../include  -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  -O2 -Wall -c mod_sql_mysql.c
mod_sql_mysql.c: In function `_sql_timer_callback':
mod_sql_mysql.c:280: warning: comparison between signed and unsigned
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c mod_cap.c
mod_cap.c: In function `set_caps':
mod_cap.c:143: 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  -O2 -Wall -c module_glue.c
make[1]: Leaving directory `/usr/local/src/proftpd-1.2.8/modules'
make[1]: Entering directory `/usr/local/src/proftpd-1.2.8/lib/libcap'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/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_sql_mysql.o modules/mod_sql.o  modules/module_glue.o -lsupp -lcrypt  -Llib/libcap -lcap  -lm -lz -lmysqlclient
/usr/lib/gcc-lib/i486-suse-linux/3.3/../../../../i486-suse-linux/bin/ld: cannot find -lmysqlclient
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 #10 am: 30. Juli 2003, 20:19:38 »

Zitat von: "user72"
nach dem ich mysql-devel nachinstaliert habe sagt er nur noch einen error, kann es sein das mir noch was fehlt, drauf hab ich jetzt

mysql 3.23.55-14
mysql-client 3.23.55-14
mysql-shared 3.23.55-14
mysql-devel 3.23.53-26


also auf jeden Fall sollte das reichen udn auf jeden Fall wird das nicht gefunden. Welche Distri ist es denn ? Wo wurden die Files hinkopiert ? Wie hast Du sie installiert ? Schaue Dir mal ./configure --help an und binde die libs und header ggf. manuell ein...

cu
stonki

Ansonsten... ach ich spare es mir Smiley
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
Wörsty
Moderator
ProFTPD
*****
Offline Offline

Beiträge: 1602


50772603
Profil anzeigen WWW E-Mail
« Antwort #11 am: 31. Juli 2003, 09:46:39 »

Mach mal
Code:
rpm -q mysql-server
rpm -q mysql-devel
rpm -q mysql

Paket kernel-headers (Bei mir glibc-kernheaders-2.4-7.20.i386.rpm) installiert?
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.523 Sekunden mit 18 Zugriffen.