Hi, All!
I install from source code dbmail-2.2.4 in PowerPC under control RHEL4 and in 
me it gave out two errors:
first)
db.c: In function 'db_icheck_envelope':
db.c:1868: warning: implicit declaration of function 'g_try_new0'
db.c:1868: error: syntax error before 'u64_t'
db.c: At top level:
db.c:1877: warning: type defaults to 'int' in declaration of 'db_free_result'
db.c:1877: warning: function declaration isn't a prototype
db.c:1877: error: conflicting types for 'db_free_result'
db.h:144: error: previous declaration of 'db_free_result' was here
db.c:1877: warning: data definition has no type or storage class
db.c:1879: error: syntax error before 'return'
make[2]: *** [libdbmail_la-db.lo] Error 1

second)
/usr/src/redhat/BUILD/dbmail-2.2.4/export.c:75: undefined reference to 
`g_mkdir_with_parents'
collect2: ld returned 1 exit status
make[2]: *** [dbmail-export] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/dbmail-2.2.4'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/dbmail-2.2.4'
make: *** [all] Error 2

I changed two functions:
 g_try_new0 on g_new0 in file db.c 
and
 g_mkdir_with_parents on g_mkdir in file export.c

after which everything was install and run.

Question: will influence this replacement the fitness for work of program?
Sorry for my bad english!
_______________________________________________
DBmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail

Reply via email to