LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-17-2003, 06:02 AM   #1
CIMSW
LQ Newbie
 
Registered: Apr 2003
Posts: 1

Rep: Reputation: 0
proftpd 1.2.8 with mod_sql -> make error on suse 8.1


Hi Forum,

the following problem:

when I try do make proftpd 1.2.8 with mod_sql support on suse 8.1 there is an gcc error with mod_sql.c (output below). The "fs.h" not found to include (line 47 in mod_sql.c) is in "/usr/include/linux". I tried to copy the file into "proftpd-1.2.8/include" but then I got much more errors.

I did the following:

- Get the files
proftpd-1.2.8.tar.gz from http://www.proftpd.org

mod_sql-4.08.tar.gz from http://www.lastditcheffort.org/~aah/proftpd/mod_sql/

gzip -d and tar -xvf .... both files (mod_sql-4.08.tar.gz into the "proftpd-1.2.8/contirb" dir)

cd proftpd-1.2.8

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

(additional I tried the same with "--without-getopt")

make
-------------------------------------
gcc -DLINUX -I.. -I../include -I/usr/local/include/mysql -O2 -Wall -c mod_sql.c
mod_sql.c:47:16: fs.h: No such file or directory
mod_sql.c:106: 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: 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: `AUTH_BADPWD' undeclared (first use in this function)
mod_sql.c:424: (Each undeclared identifier is reported only once
mod_sql.c:424: for each function it appears in.)
mod_sql.c: In function `check_auth_plaintext':
mod_sql.c:436: `AUTH_BADPWD' undeclared (first use in this function)
mod_sql.c: In function `check_auth_empty':
mod_sql.c:450: `AUTH_BADPWD' undeclared (first use in this function)
mod_sql.c: In function `check_auth_backend':
mod_sql.c:458: `AUTH_BADPWD' undeclared (first use in this function)
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:1357: `response_t' undeclared (first use in this function)
mod_sql.c:1357: `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 `cmd_auth':
mod_sql.c:2561: `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 `/data/install/proftpd-1.2.8/modules'
make: *** [modules] Error 2
------------------------------------------

Any solutions?

Thanks,

Sven
 
Old 09-15-2003, 11:18 AM   #2
Cubase
LQ Newbie
 
Registered: Sep 2003
Posts: 1

Rep: Reputation: 0
Hello,

I have the same error on a FreeBSD system with
ProFTPD 1.2.9rc2 and mod_sql 4.08

Please help
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Proftpd + mod_sql error & question MrEase Linux - Software 0 08-28-2005 02:24 PM
SuSE error message on 'make' jimbrook SUSE / openSUSE 2 05-08-2005 03:06 AM
421 Service not available error, ProFTPd (SuSE 9.1) neocookie Linux - Software 0 10-19-2004 12:41 PM
ProFTPd on SuSE 9.1:Error 530 (Login Incorrect) bmctee Linux - Software 0 08-10-2004 01:21 AM
proftpd using mod_sql help please ! Sonik21 Linux - Software 4 05-07-2003 11:56 AM


All times are GMT -5. The time now is 02:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration