www.ProFTPD.de
13. März 2007, 20:09:42 *
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] 2   Nach unten
  Drucken  
Autor Thema: make geht nicht  (Gelesen 361 mal)
0 Mitglieder und 1 Gast betrachten dieses Thema.
Julian
Gast
« am: 29. Februar 2004, 19:08:43 »

Hy Forum,

vielleicht kann mir jemand von Euch helfen? Ich probiere proftpd 1.2.9 auf meiner SuSe 8.2 Box zu installieren GCC 3.3 aber jedesmal wenn ich den make aufrufe bekomme ich folgende Ausgabe. Habe schon danach gesucht. Irgendwo habe ich gelesen das man den GC 3.2 dazu verwenden soll, im gleichen Atemzug stand dort allerdings auch das er sich damit sein System zerschossen hat. Hat jemand von Euch vielleicht ne einfacherer Lösung

Gruß
Julz






linux:~/proftpd-1.2.9 # make
echo \#define BUILD_STAMP \"`date`\" >include/buildstamp.h
cd lib/ && make lib
make[1]: Entering directory `/root/proftpd-1.2.9/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 `/root/proftpd-1.2.9/lib'
cd src/ && make src
make[1]: Entering directory `/root/proftpd-1.2.9/src'
gcc  -DLINUX  -I.. -I../include  -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  -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 `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  -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  -O2 -Wall -c netaddr.c
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_write':
log.c:515: 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: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  -O2 -Wall -c scoreboard.c
gcc  -DLINUX  -I.. -I../include  -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  -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  -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: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  -O2 -Wall -c mkhome.c
make[1]: Leaving directory `/root/proftpd-1.2.9/src'
cd modules/ && make modules
make[1]: Entering directory `/root/proftpd-1.2.9/modules'
gcc  -DLINUX  -I.. -I../include  -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  -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: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  -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  -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  -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.c
mod_sql.c:47:16: fs.h: No such file or directory
mod_sql.c:106: error: parse error before '*' token
mod_sql.c:106: warning: type defaults to `int' in declaration of `resp_list'
mod_sql.c:106: warning: type defaults to `int' in declaration of `resp_err_list'
mod_sql.c:106: warning: data definition has no type or storage class
mod_sql.c: In function `_sql_make_cmd':
mod_sql.c:320: error: structure has no member named `symtable_index'
mod_sql.c: In function `_sql_dispatch':
mod_sql.c:377: warning: implicit declaration of function `block_signals'
mod_sql.c:379: warning: implicit declaration of function `unblock_signals'
mod_sql.c: In function `check_auth_crypt':
mod_sql.c:424: error: `AUTH_BADPWD' undeclared (first use in this function)
mod_sql.c:424: error: (Each undeclared identifier is reported only once
mod_sql.c:424: error: for each function it appears in.)
mod_sql.c: In function `check_auth_plaintext':
mod_sql.c:436: error: `AUTH_BADPWD' undeclared (first use in this function)
mod_sql.c: In function `check_auth_empty':
mod_sql.c:450: error: `AUTH_BADPWD' undeclared (first use in this function)
mod_sql.c: In function `check_auth_backend':
mod_sql.c:458: error: `AUTH_BADPWD' undeclared (first use in this function)
mod_sql.c: In function `_group_name':
mod_sql.c:673: warning: comparison between signed and unsigned
mod_sql.c: In function `_passwd_name':
mod_sql.c:716: warning: comparison between signed and unsigned
mod_sql.c: In function `build_homedir':
mod_sql.c:810: warning: implicit declaration of function `fs_stat'
mod_sql.c:852: warning: implicit declaration of function `fs_chown'
mod_sql.c: In function `resolve_tag':
mod_sql.c:1273: warning: long unsigned int format, different type arg (arg 4)
mod_sql.c:1273: warning: long unsigned int format, different type arg (arg 4)
mod_sql.c:1314: error: structure has no member named `remote_ipaddr'
mod_sql.c:1357: error: `response_t' undeclared (first use in this function)
mod_sql.c:1357: error: `r' undeclared (first use in this function)
mod_sql.c: In function `_process_named_query':
mod_sql.c:1455: warning: comparison between pointer and integer
mod_sql.c: In function `info_master':
mod_sql.c:1759: warning: implicit declaration of function `add_response'
mod_sql.c: In function `errinfo_master':
mod_sql.c:1925: warning: implicit declaration of function `add_response_err'
mod_sql.c: In function `sql_lookup':
mod_sql.c:2054: warning: comparison between signed and unsigned
mod_sql.c: In function `cmd_setpwent':
mod_sql.c:2154: warning: comparison between signed and unsigned
mod_sql.c:2208: warning: comparison between signed and unsigned
mod_sql.c: In function `cmd_setgrent':
mod_sql.c:2323: warning: comparison between signed and unsigned
mod_sql.c:2352: warning: comparison between signed and unsigned
mod_sql.c: In function `cmd_auth':
mod_sql.c:2561: error: `AUTH_BADPWD' undeclared (first use in this function)
mod_sql.c: In function `sql_getconf':
mod_sql.c:3687: warning: too many arguments for format
mod_sql.c:3690: warning: too many arguments for format
make[1]: *** [mod_sql.o] Error 1
make[1]: Leaving directory `/root/proftpd-1.2.9/modules'
make: *** [modules] Error 2
Gespeichert
Wörsty
Moderator
ProFTPD
*****
Offline Offline

Beiträge: 1602


50772603
Profil anzeigen WWW E-Mail
« Antwort #1 am: 29. Februar 2004, 21:56:48 »

Zitat
mod_sql.c:47:16: fs.h: No such file or directory

Du mußt das mysq-devel-Paket installieren.
Oder war es das  glibc-devel oder kernel-source Paket :??
Irgendwie so.

Gegebenenfalls noch die include-Pfade angeben.
So in etwa:
Code:
./configure --with-modules=mod_sql:mod_sql_mysql --with-includes=/usr/include/mysql --with-libraries=/usr/lib/mysql --sysconfdir=/wo/die/proftpd.conf/liegt/
make
make install
Gespeichert

RedHat 8.0 (2.4er Kernel)
proftpd 1.2.10
-mod_sql_mysql
-mow_wrap
-mod_exec
-mod_ifsession[/size]
Julian
Gast
« Antwort #2 am: 29. Februar 2004, 23:56:01 »

Hm ok, so viel Informationen auf einmal :-).

Das mit den Pfaden habe ich schon probiert werde es mal mit den anderen devel-modulen probieren. Wobei die Ausgabe genauso aussieht wenn ich es ohne mysql Support kompilieren will.

Melde mich dann noch mal.

Trotzdem schon mal danke für die Hilfe.

Gruß
Julz
Gespeichert
stonki
Administrator
ProFTPD
*****
Offline Offline

Beiträge: 1853


15318939
Profil anzeigen WWW E-Mail
« Antwort #3 am: 01. März 2004, 08:34:01 »

SUSE......

stonki@uk:~>pin fs.h

TONS OF OUTPUT

...................


stonki@uk:~> pin linux/fs.h

 grepping ARCHIVES.gz ... please wait

stonki@uk:~> pin fs.h | grep linux/fs.h
./suse/i586/kernel-source-2.4.20.SuSE-62.i586.rpm:    -rw-r--r--     root     root        62030 Apr 16 16:13 /usr/src/linux-2.4.20.SuSE/include/linux/fs.h
./suse/i586/glibc-devel-2.3.2-6.i586.rpm:    -rw-r--r--     root     root        55443 Mar 13 23:14 /usr/include/linux/fs.h
./suse/i586/uClibc-0.9.15-65.i586.rpm:    -rw-r--r--     root     root        55086 Mar 14 01:09 /opt/i386-linux-uclibc/include/linux/fs.h
stonki@uk:~>

also installier Dir glibc-devel

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 #4 am: 01. März 2004, 09:56:41 »

Zitat von: "stonki"
stonki@uk:~> pin fs.h | grep linux/fs.h
./suse/i586/kernel-source-2.4.20.SuSE-62.i586.rpm:    -rw-r--r--     root     root        62030 Apr 16 16:13 /usr/src/linux-2.4.20.SuSE/include/linux/fs.h
./suse/i586/glibc-devel-2.3.2-6.i586.rpm:    -rw-r--r--     root     root        55443 Mar 13 23:14 /usr/include/linux/fs.h
./suse/i586/uClibc-0.9.15-65.i586.rpm:    -rw-r--r--     root     root        55086 Mar 14 01:09 /opt/i386-linux-uclibc/include/linux/fs.h
stonki@uk:~>

also installier Dir glibc-devel

Sag ich doch :oops:  :wink:
Hatte keine Box zum Gucken am Laufen
Zitat von: "Wörsty"
Oder war es das  glibc-devel oder kernel-source Paket :??
Irgendwie so.
Gespeichert

RedHat 8.0 (2.4er Kernel)
proftpd 1.2.10
-mod_sql_mysql
-mow_wrap
-mod_exec
-mod_ifsession[/size]
Julian
Gast
« Antwort #5 am: 01. März 2004, 10:28:27 »

Hm, will euch ja nicht enttäuschen aber glibc-devel (2.3.2) war installiert!

Habe jetzt noch das mysql-devel installiert und wie folgt probiert:

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

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

Bei beiden versuchen wieder die gleiche Ausgabe!

Ich hänge die Ausgabe noch mal mit an.

Gruß
Julz



linux:~/proftpd-1.2.9 # make
echo \#define BUILD_STAMP \"`date`\" >include/buildstamp.h
cd lib/ && make lib
make[1]: Entering directory `/root/proftpd-1.2.9/lib'
gcc  -DLINUX  -I.. -I../include -I/usr/include -O2 -Wall -c pr_fnmatch.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -O2 -Wall -c sstrncpy.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -O2 -Wall -c strsep.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -O2 -Wall -c vsnprintf.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -O2 -Wall -c glibc-glob.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -O2 -Wall -c glibc-hstrerror.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -O2 -Wall -c glibc-mkstemp.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -O2 -Wall -c pr-syslog.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -O2 -Wall -c pwgrent.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -O2 -Wall -c getopt.c
gcc  -DLINUX  -I.. -I../include -I/usr/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 `/root/proftpd-1.2.9/lib'
cd src/ && make src
make[1]: Entering directory `/root/proftpd-1.2.9/src'
gcc  -DLINUX  -I.. -I../include -I/usr/include -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 -O2 -Wall -c timers.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -O2 -Wall -c sets.c
gcc  -DLINUX  -I.. -I../include -I/usr/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 -I/usr/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 -I/usr/include -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 -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 -O2 -Wall -c netaddr.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -O2 -Wall -c inet.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -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 -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 -O2 -Wall -c scoreboard.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -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 -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 -O2 -Wall -c response.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -O2 -Wall -c ident.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -O2 -Wall -c data.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -O2 -Wall -c modules.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -O2 -Wall -c auth.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -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 -O2 -Wall -c mkhome.c
make[1]: Leaving directory `/root/proftpd-1.2.9/src'
cd modules/ && make modules
make[1]: Entering directory `/root/proftpd-1.2.9/modules'
gcc  -DLINUX  -I.. -I../include -I/usr/include -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 -O2 -Wall -c mod_xfer.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -O2 -Wall -c mod_auth_unix.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -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 -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 -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 -O2 -Wall -c mod_log.c
gcc  -DLINUX  -I.. -I../include -I/usr/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 -I/usr/include -O2 -Wall -c mod_sql.c
mod_sql.c:47:16: fs.h: No such file or directory
mod_sql.c:106: error: parse error before '*' token
mod_sql.c:106: warning: type defaults to `int' in declaration of `resp_list'
mod_sql.c:106: warning: type defaults to `int' in declaration of `resp_err_list'
mod_sql.c:106: warning: data definition has no type or storage class
mod_sql.c: In function `_sql_make_cmd':
mod_sql.c:320: error: structure has no member named `symtable_index'
mod_sql.c: In function `_sql_dispatch':
mod_sql.c:377: warning: implicit declaration of function `block_signals'
mod_sql.c:379: warning: implicit declaration of function `unblock_signals'
mod_sql.c: In function `check_auth_crypt':
mod_sql.c:424: error: `AUTH_BADPWD' undeclared (first use in this function)
mod_sql.c:424: error: (Each undeclared identifier is reported only once
mod_sql.c:424: error: for each function it appears in.)
mod_sql.c: In function `check_auth_plaintext':
mod_sql.c:436: error: `AUTH_BADPWD' undeclared (first use in this function)
mod_sql.c: In function `check_auth_empty':
mod_sql.c:450: error: `AUTH_BADPWD' undeclared (first use in this function)
mod_sql.c: In function `check_auth_backend':
mod_sql.c:458: error: `AUTH_BADPWD' undeclared (first use in this function)
mod_sql.c: In function `_group_name':
mod_sql.c:673: warning: comparison between signed and unsigned
mod_sql.c: In function `_passwd_name':
mod_sql.c:716: warning: comparison between signed and unsigned
mod_sql.c: In function `build_homedir':
mod_sql.c:810: warning: implicit declaration of function `fs_stat'
mod_sql.c:852: warning: implicit declaration of function `fs_chown'
mod_sql.c: In function `resolve_tag':
mod_sql.c:1273: warning: long unsigned int format, different type arg (arg 4)
mod_sql.c:1273: warning: long unsigned int format, different type arg (arg 4)
mod_sql.c:1314: error: structure has no member named `remote_ipaddr'
mod_sql.c:1357: error: `response_t' undeclared (first use in this function)
mod_sql.c:1357: error: `r' undeclared (first use in this function)
mod_sql.c: In function `_process_named_query':
mod_sql.c:1455: warning: comparison between pointer and integer
mod_sql.c: In function `info_master':
mod_sql.c:1759: warning: implicit declaration of function `add_response'
mod_sql.c: In function `errinfo_master':
mod_sql.c:1925: warning: implicit declaration of function `add_response_err'
mod_sql.c: In function `sql_lookup':
mod_sql.c:2054: warning: comparison between signed and unsigned
mod_sql.c: In function `cmd_setpwent':
mod_sql.c:2154: warning: comparison between signed and unsigned
mod_sql.c:2208: warning: comparison between signed and unsigned
mod_sql.c: In function `cmd_setgrent':
mod_sql.c:2323: warning: comparison between signed and unsigned
mod_sql.c:2352: warning: comparison between signed and unsigned
mod_sql.c: In function `cmd_auth':
mod_sql.c:2561: error: `AUTH_BADPWD' undeclared (first use in this function)
mod_sql.c: In function `sql_getconf':
mod_sql.c:3687: warning: too many arguments for format
mod_sql.c:3690: warning: too many arguments for format
make[1]: *** [mod_sql.o] Error 1
make[1]: Leaving directory `/root/proftpd-1.2.9/modules'
make: *** [modules] Error 2
Gespeichert
Wörsty
Moderator
ProFTPD
*****
Offline Offline

Beiträge: 1602


50772603
Profil anzeigen WWW E-Mail
« Antwort #6 am: 01. März 2004, 13:02:03 »

Zitat von: "Julian"
./configure --with-modules=mod_sql:mod_sql_mysql --with-includes=/usr/include --with-libraries=/var/lib/mysql

1. Das ^^^ habe ich nicht geschrieben.
Zitat von: "Wörsty"
Code:
./configure --with-modules=mod_sql:mod_sql_mysql --with-includes=/usr/include/mysql --with-libraries=/usr/lib/mysql --sysconfdir=/wo/die/proftpd.conf/liegt/

2. vorher make clean gemacht?
Gespeichert

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

Beiträge: 5


Profil anzeigen E-Mail
« Antwort #7 am: 01. März 2004, 13:26:31 »

Also make clean habe ich vorher gemacht.

Die Pfade kann ich doch so nicht übernhemen, die sind ja auf mein System angepasst. Das einzige was ich nicht mit angegeben habe ist das sysconfdir, aber das brauch ich doch nicht wenn in Standardverzeichnisse installiert werden soll oder? Die proftpd.conf ist doch sowieso erst da wenn ich das ganze installiert habe!

Ich finde es ja nich nur komisch das das diese fs.h Datei nicht gefunden wird sondern auch das diese ganzen Fehler wie
main.c:808: warning: comparison between signed and unsigned
die ganze Zeit auftauchen, oder kann ich die getrost ignorieren.

Also wie gesagt ich habe bei deja.com mal nach diesem Fehler gesucht und dort waren Antworten zu finden wie, du mußt gcc V2 installieren da in der V3 irgendetwas geändert wurde. Kannes vielleicht doch damit zu tun haben?

Gruß
Julz
Gespeichert
stonki
Administrator
ProFTPD
*****
Offline Offline

Beiträge: 1853


15318939
Profil anzeigen WWW E-Mail
« Antwort #8 am: 01. März 2004, 13:34:11 »

:wait)

stonki@uk:~> gcc -v
[...]
gcc version 3.3 20030226 (prerelease) (SuSE Linux)


stonki@uk:~> cat /etc/SuSE-release
SuSE Linux 8.2 (i586)
VERSION = 8.2
stonki@uk:~>


uk:/home/stonki/001 # wget -q http://www.proftpd.de/files/proftpd-1.2.9.tar.gz
uk:/home/stonki/001 # tar xzf proftpd-1.2.9.tar.gz
uk:/home/stonki/001 # cd proftpd-1.2.9/
uk:/home/stonki/001/proftpd-1.2.9 # ./configure --with-modules=mod_sql:mod_sql_mysql --with-includes=/usr/include/mysql --with-libraries=/var/lib/mysql

[...]
make
[...]


uk:/home/stonki/001/proftpd-1.2.9 # ./proftpd -vv
 -          Version: 1.2.9 (stable)
 - Scoreboard Version: 01040002
 -      Build Stamp: Mon Mär 1 12:33:11 GMT 2004
uk:/home/stonki/001/proftpd-1.2.9 #

Fragen ?


 :lol:
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 #9 am: 01. März 2004, 13:50:42 »

Zitat von: "stonki"
Fragen ?

Nö  :lol:

:wait)
Gespeichert

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

Beiträge: 5


Profil anzeigen E-Mail
« Antwort #10 am: 01. März 2004, 14:07:16 »

hm, ich schon  :roll: !

D.h. bei mir sind definitif die Pfade falsch gesetzt? Und das sysconfdir muß auch gesetzt sein?

Ich versteh das alles nicht  :cry:

Ich werd noch mal ein wenig probieren und mich ggf. noch mal melden!

Vielen Dank für Eure Hilfe.

Gruß
Julz
Gespeichert
stonki
Administrator
ProFTPD
*****
Offline Offline

Beiträge: 1853


15318939
Profil anzeigen WWW E-Mail
« Antwort #11 am: 01. März 2004, 14:09:53 »

Zitat von: "julz"

D.h. bei mir sind definitif die Pfade falsch gesetzt? Und das sysconfdir muß auch gesetzt sein?


Nein, schaue Dir meine configure Zeile an. Bei Dir fehlt ein Wort.
Und das SysconfDir ist SCHEISSEGAL, solange es Dich nicht stoert, dass die config in /usr/local/etc statt in /etc liegt.

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
julz
ProFTPD
*
Offline Offline

Beiträge: 5


Profil anzeigen E-Mail
« Antwort #12 am: 01. März 2004, 14:36:30 »

Zitat von: "stonki"
: ./configure --with-modules=mod_sql:mod_sql_mysql --with-includes=/usr/include/mysql --with-libraries=/var/lib/mysql


Ok ich hatte nur
--with-includes=/usr/include

aber auch mit dem mysql da hinter immer noch der gleiche Fehler!

Ich habe so den Verdacht ich mache Grundlegend irgendetwas falsch - nur was  :cry: ?

Diese fs.h die nicht gefunden wird befindet sich bei mir auch /usr/include/linux und nicht in /usr/include/mysql. oder /var/lib/mysql. kann es damit etwas zu tun haben? Die angegebenen Dirs existieren aber und sind auch gefüllt. Aber auch wenn ich das /usr/includes/linux noch mit angebe wird dieser file nicht gefunden. Kann ich die einfach umkopieren?

Julz
Gespeichert
stonki
Administrator
ProFTPD
*****
Offline Offline

Beiträge: 1853


15318939
Profil anzeigen WWW E-Mail
« Antwort #13 am: 01. März 2004, 14:39:05 »

loesche einfach mal das kompletten Dir mit dem proFTPD Quellcode, entpacke erneut und gebe dann die configure zeile so ein, wie ich es geschrieben hatte. Die Warnungen signed und unsigned kannst Du ignorieren.

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
julz
ProFTPD
*
Offline Offline

Beiträge: 5


Profil anzeigen E-Mail
« Antwort #14 am: 01. März 2004, 20:01:59 »

Zitat von: "stonki"
loesche einfach mal das kompletten Dir mit dem proFTPD Quellcode, entpacke erneut und gebe dann die configure zeile so ein, wie ich es geschrieben hatte. Die Warnungen signed und unsigned kannst Du ignorieren.


^^^
Das war sehr gut, immerhin läuft das ganze jetzt schon weiter durch aber leider immer noch nicht 100%tig. Jetzt steigt make mit

collect2: ld returned 1 exit status
make: *** [proftpd] Error 1


aus!

Und nu? Ich komm mir ja schon vor wie ein Volltrottel - irgendwie krieg ichs nicht hin.

Vielen, vielen Dank für Eure Geduld

Julz
Gespeichert
Seiten: [1] 2   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.097 Sekunden mit 16 Zugriffen.