das-ich wrote:
> 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'

Your glib version is too old.

> 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

That one should be pretty harmless. Worst case is that a process handles memory
starvation less gracefully.


>  g_mkdir_with_parents on g_mkdir in file export.c

That will break export of sub-folders, unless you make sure first that the
required directory structure already exists.



-- 
  ________________________________________________________________
  Paul Stevens                                      paul at nfg.nl
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl
_______________________________________________
DBmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail

Reply via email to