The following issue has been SUBMITTED. 
====================================================================== 
http://www.dbmail.org/mantis/view.php?id=460 
====================================================================== 
Reported By:                cmaurand
Assigned To:                
====================================================================== 
Project:                    DBMail
Issue ID:                   460
Category:                   installation scripts
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     new
target:                      
====================================================================== 
Date Submitted:             28-Nov-06 20:39 CET
Last Modified:              28-Nov-06 20:39 CET
====================================================================== 
Summary:                    Build errors
Description: 
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include/mysql -g -pipe
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv
-fomit-frame-pointer -g -O2 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/gmime-2.0
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -W -Wall
-Wpointer-arith -Wstrict-prototypes -MT dbmysql.lo -MD -MP -MF
.deps/dbmysql.Tpo -c dbmysql.c  -fPIC -DPIC -o .libs/dbmysql.o
In file included from ../dbmail.h:30,
                 from dbmysql.c:28:
../config.h:87:1: warning: "_GNU_SOURCE" redefined
<command line>:1:1: warning: this is the location of the previous
definition
dbmysql.c:29:19: error: mysql.h: No such file or directory
dbmysql.c:69: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'conn'
dbmysql.c:70: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '*' token
dbmysql.c:71: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'last_row'
dbmysql.c: In function 'db_connect':
dbmysql.c:145: warning: implicit declaration of function 'mysql_init'
dbmysql.c:145: error: 'conn' undeclared (first use in this function)
dbmysql.c:145: error: (Each undeclared identifier is reported only once
dbmysql.c:145: error: for each function it appears in.)
dbmysql.c:168: warning: implicit declaration of function
'mysql_real_connect'
dbmysql.c:170: warning: comparison between pointer and integer
dbmysql.c:171: warning: implicit declaration of function 'mysql_error'
dbmysql.c:171: warning: format '%s' expects type 'char *', but argument 8
has type 'int'
dbmysql.c: In function 'db_num_rows':
dbmysql.c:186: error: 'res' undeclared (first use in this function)
dbmysql.c:189: warning: implicit declaration of function 'mysql_num_rows'
dbmysql.c: In function 'db_num_fields':
dbmysql.c:194: error: 'res' undeclared (first use in this function)
dbmysql.c:197: warning: implicit declaration of function
'mysql_num_fields'
dbmysql.c: In function 'db_free_result':
dbmysql.c:202: error: 'res' undeclared (first use in this function)
dbmysql.c:203: warning: implicit declaration of function
'mysql_free_result'
dbmysql.c: In function 'db_get_result':
dbmysql.c:213: error: 'res' undeclared (first use in this function)
dbmysql.c:223: warning: implicit declaration of function
'mysql_data_seek'
dbmysql.c:224: error: 'last_row' undeclared (first use in this function)
dbmysql.c:224: warning: implicit declaration of function
'mysql_fetch_row'
dbmysql.c: In function 'db_disconnect':
dbmysql.c:250: error: 'res' undeclared (first use in this function)
dbmysql.c:252: warning: implicit declaration of function 'mysql_close'
dbmysql.c:252: error: 'conn' undeclared (first use in this function)
dbmysql.c: In function 'db_check_connection':
dbmysql.c:258: warning: implicit declaration of function 'mysql_ping'
dbmysql.c:258: error: 'conn' undeclared (first use in this function)
dbmysql.c: In function 'db_insert_result':
dbmysql.c:270: warning: implicit declaration of function
'mysql_insert_id'
dbmysql.c:270: error: 'conn' undeclared (first use in this function)
dbmysql.c: In function 'db_query':
dbmysql.c:287: warning: implicit declaration of function
'mysql_real_query'
dbmysql.c:287: error: 'conn' undeclared (first use in this function)
dbmysql.c:288: warning: format '%s' expects type 'char *', but argument 8
has type 'int'
dbmysql.c:292: error: 'res' undeclared (first use in this function)
dbmysql.c:295: warning: implicit declaration of function
'mysql_store_result'
dbmysql.c: In function 'db_escape_string':
dbmysql.c:303: warning: implicit declaration of function
'mysql_real_escape_string'
dbmysql.c:303: error: 'conn' undeclared (first use in this function)
dbmysql.c: In function 'db_get_length':
dbmysql.c:334: error: 'res' undeclared (first use in this function)
dbmysql.c:348: error: 'last_row' undeclared (first use in this function)
dbmysql.c:353: warning: implicit declaration of function
'mysql_fetch_lengths'
dbmysql.c:353: error: subscripted value is neither array nor pointer
dbmysql.c: In function 'db_get_affected_rows':
dbmysql.c:358: warning: implicit declaration of function
'mysql_affected_rows'
dbmysql.c:358: error: 'conn' undeclared (first use in this function)
dbmysql.c: In function 'db_get_result_set':
dbmysql.c:363: error: 'res' undeclared (first use in this function)
dbmysql.c: In function 'db_set_result_set':
dbmysql.c:368: error: 'res' undeclared (first use in this function)
dbmysql.c:368: error: 'MYSQL_RES' undeclared (first use in this function)
dbmysql.c:368: error: expected expression before ')' token
dbmysql.c:366: warning: unused parameter 'the_result_set'
make[2]: *** [dbmysql.lo] Error 1
make[2]: Leaving directory `/home/cmaurand/dbmail-2.2.1/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/cmaurand/dbmail-2.2.1'
make: *** [all] Error 2

====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
28-Nov-06 20:39 cmaurand       New Issue                                    
======================================================================

Reply via email to