[Kamailio-Devel] [ openser-Patches-2686833 ] make deb: add missing Build-Depend for memcached module

SourceForge.net noreply at sourceforge.net
Sun Mar 15 13:38:14 CET 2009


Patches item #2686833, was opened at 2009-03-14 10:53
Message generated for change (Settings changed) made by ibc_sf
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743022&aid=2686833&group_id=139143

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: packaging
>Group: ver devel
>Status: Closed
>Resolution: Accepted
Priority: 5
Private: No
Submitted By: Andreas Heise (aheise)
>Assigned to: Iñaki Baz (ibc_sf)
Summary: make deb: add missing Build-Depend for memcached module

Initial Comment:

At rev 5700 "make deb" fails, because "memcached.h" include
"memcache.h" which need to install "libmemcache-dev" before.

In file included from mcd_var.c:29:
memcached.h:27:22: error: memcache.h: No such file or directory
mcd_var.c: In function ¦Çÿpv_get_mcd_value¦ÇÖ:
mcd_var.c:82: warning: implicit declaration of function ¦Çÿmc_req_new¦ÇÖ
mcd_var.c:82: warning: assignment makes pointer from integer without a cast
mcd_var.c:90: warning: implicit declaration of function ¦Çÿmc_req_add¦ÇÖ
mcd_var.c:90: warning: assignment makes pointer from integer without a cast
mcd_var.c:96: warning: implicit declaration of function ¦Çÿmc_get¦ÇÖ
mcd_var.c:97: error: dereferencing pointer to incomplete type
mcd_var.c:97: error: ¦ÇÿMCM_RES_FOUND¦ÇÖ undeclared (first use in this function)mcd_var.c:97: error: (Each undeclared identifier is reported only once
mcd_var.c:97: error: for each function it appears in.)
mcd_var.c:101: error: dereferencing pointer to incomplete type
mcd_var.c:101: error: dereferencing pointer to incomplete type
mcd_var.c:101: error: dereferencing pointer to incomplete type
mcd_var.c:101: error: dereferencing pointer to incomplete type
mcd_var.c:101: error: dereferencing pointer to incomplete type
mcd_var.c:101: error: dereferencing pointer to incomplete type
mcd_var.c:104: error: dereferencing pointer to incomplete type
mcd_var.c:105: error: dereferencing pointer to incomplete type
mcd_var.c:109: error: dereferencing pointer to incomplete type
mcd_var.c:125: warning: implicit declaration of function ¦Çÿmc_req_free¦ÇÖ
mcd_var.c: In function ¦Çÿpv_set_mcd_value¦ÇÖ:
mcd_var.c:160: warning: implicit declaration of function ¦Çÿmc_delete¦ÇÖ
mcd_var.c:176: warning: implicit declaration of function ¦Çÿmc_set¦ÇÖ
mcd_var.c:181: warning: implicit declaration of function ¦Çÿmc_add¦ÇÖ
mcd_var.c: In function ¦Çÿpv_mcd_atomic_helper¦ÇÖ:
mcd_var.c:234: warning: assignment makes pointer from integer without a cast
mcd_var.c:240: warning: assignment makes pointer from integer without a cast
mcd_var.c:247: error: dereferencing pointer to incomplete type
mcd_var.c:247: error: ¦ÇÿMCM_RES_FOUND¦ÇÖ undeclared (first use in this function)
mcd_var.c:251: error: dereferencing pointer to incomplete type
mcd_var.c:251: error: dereferencing pointer to incomplete type
mcd_var.c:251: error: dereferencing pointer to incomplete type
mcd_var.c:251: error: dereferencing pointer to incomplete type
mcd_var.c:251: error: dereferencing pointer to incomplete type
mcd_var.c:251: error: dereferencing pointer to incomplete type
mcd_var.c:254: error: dereferencing pointer to incomplete type
mcd_var.c: In function ¦Çÿpv_inc_mcd_value¦ÇÖ:
mcd_var.c:277: error: ¦Çÿmc_incr¦ÇÖ undeclared (first use in this function)
mcd_var.c: In function ¦Çÿpv_dec_mcd_value¦ÇÖ:
mcd_var.c:290: error: ¦Çÿmc_decr¦ÇÖ undeclared (first use in this function)
make[3]: *** [mcd_var.o] Error 1
make[3]: Leaving directory `/root/trunk/kamailio/modules/memcached'
make[2]: *** [modules] Error 2
make[2]: Leaving directory `/root/trunk/kamailio'
make[1]: *** [build-stamp] Error 2
make[1]: Leaving directory `/root/trunk/kamailio'
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
make: *** [deb-lenny] Error 2
kamailio:~/trunk/kamailio#                



The attached patch fix the "control" files for deb packages.
 



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

>Comment By: Iñaki Baz (ibc_sf)
Date: 2009-03-15 13:38

Message:
Thanks a lot, I've commited your patch in rev 5703:
  http://openser.svn.sourceforge.net/openser/?rev=5703&view=rev

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

Comment By: Andreas Heise (aheise)
Date: 2009-03-14 10:55

Message:
Hi Kamailio team,

patch for trunk version is attached

regards,
Andreas

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743022&aid=2686833&group_id=139143



More information about the Devel mailing list