Ticket #99 (closed defect: fixed)

Opened 14 months ago

Last modified 14 months ago

Can't compile storage_db.c in 2.1.7

Reported by: AlexSid Owned by: smoku
Priority: major Component: Build
Version: 2.1.7 Keywords:
Cc: Tracforge_linkmap:
Blocking: Blocked By:

Description

storage_db.c: In function '_st_db_get': storage_db.c:336: error: 'pool_cleaner' undeclared (first use in this function) storage_db.c:336: error: (Each undeclared identifier is reported only once storage_db.c:336: error: for each function it appears in.) storage_db.c:336: error: expected ')' before 'pool_free' storage_db.c:336: error: too few arguments to function 'pool_cleanup' storage_db.c: In function '_st_db_delete_guts': storage_db.c:396: error: 'pool_cleaner' undeclared (first use in this function) storage_db.c:396: error: expected ')' before 'pool_free' storage_db.c:396: error: too few arguments to function 'pool_cleanup' make[2]: *** [storage_db.lo] Error 1

I check changes from 2.1.6 in util/pool.c:

/** public cleanup utils, insert in a way that they are run FIFO, before mem frees */

-void pool_cleanup(pool p, pool_cleaner f, void *arg) +void pool_cleanup(pool_t p, pool_cleanup_t f, void *arg)

It can be necessary to make similar changes of arg's type in storage.c? (see attach) P/S: I'm not shure..

Attachments

jabberd2-2.1.7-storage_db-fix.patch (1.0 kB) - added by AlexSid 14 months ago.

Change History

Changed 14 months ago by AlexSid

Changed 14 months ago by AlexSid

  • component changed from storage to Build

Changed 14 months ago by smoku

  • status changed from new to closed
  • resolution set to fixed

(In [264]) Fix for storage_db compilation error after util/ cleanup. Fixes #99, refs #97

Changed 14 months ago by AlexSid

  • version changed from 2.1 to 2.1.7
Note: See TracTickets for help on using tickets.