[OpenSIPS-Devel] [ opensips-Bugs-3503108 ] Trunk commit 8773 breaks db_http module build

SourceForge.net noreply at sourceforge.net
Tue Mar 13 04:15:46 CET 2012


Bugs item #3503108, was opened at 2012-03-12 20:15
Message generated for change (Tracker Item Submitted) made by dpacket
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3503108&group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Dynamic Packet (dpacket)
Assigned to: Nobody/Anonymous (nobody)
Summary: Trunk commit 8773 breaks db_http module build

Initial Comment:
It seems that commit 8773 breaks the building of db_http module. Trunk rev 8772 seems to build it just fine. Removing the db_http module from package build list is also confirmed to work on 8774. It seems some part of commit 8773 is causing this module not to build. Please zap this bug so we can get auto-builds back on track for apt repository.

build error output:

Compiling db_http.c
Compiling http_dbase.c
http_dbase.c:59: error: expected identifier before string constant
http_dbase.c: In function ‘do_http_op’:
http_dbase.c:702: error: ‘CUSTOM’ undeclared (first use in this function)
http_dbase.c:702: error: (Each undeclared identifier is reported only once
http_dbase.c:702: error: for each function it appears in.)
http_dbase.c:763: error: case label does not reduce to an integer constant
http_dbase.c:766: error: ‘REPLACE’ undeclared (first use in this function)
http_dbase.c:769: error: ‘INSERT_UPDATE’ undeclared (first use in this function)
http_dbase.c: In function ‘db_http_raw_query’:
http_dbase.c:1154: error: ‘CUSTOM’ undeclared (first use in this function)
http_dbase.c: In function ‘db_http_update’:
http_dbase.c:1219: warning: passing argument 14 of ‘do_http_op’ makes integer from pointer without a cast
http_dbase.c:663: note: expected ‘int’ but argument is of type ‘char *’
http_dbase.c: In function ‘db_http_replace’:
http_dbase.c:1238: error: ‘REPLACE’ undeclared (first use in this function)
http_dbase.c: In function ‘db_insert_update’:
http_dbase.c:1268: error: ‘INSERT_UPDATE’ undeclared (first use in this function)


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3503108&group_id=232389



More information about the Devel mailing list