Hi Dan,<br><br> I've allready checked all the packages, the problem is that i have libnetfilter-conntrack-dev 0.0.31 (very old i suppose).<br> Tryed to get correct version, but don't know where... In debian etch packages i only get 0.0.31-1 (looked at <a href="http://packages.debian.org/etch/libnetfilter-conntrack-dev">http://packages.debian.org/etch/libnetfilter-conntrack-dev</a>).<br>
Can you tell me where i can get that version?<br> Thanks,<br><br> BR<br><br> Nuno<br> <br><br><div class="gmail_quote">2008/10/31 Dan Pascu <span dir="ltr"><<a href="mailto:dan@ag-projects.com">dan@ag-projects.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">On Thursday 30 October 2008, Nuno Marques wrote:<br>
> Hi,<br>
><br>
> I tried to upgrade my openser 1.3.2 to opensips 1.4.2, so when it<br>
> comes to mediaproxy i thought of putting mediaproxy 2.1 running.<br>
> Followed all the install.txt instructions, installed all python<br>
<br>
</div>It seems you haven't followed all of them after all. This item from the<br>
dependency list is clearly not installed on your system:<br>
<br>
- libnetfilter-conntrack (at least version 0.0.89)<br>
Most of the Linux distributions separate a library package into runtime<br>
and development packages. To build MediaProxy, the development version<br>
is needed (it usually has a -dev suffix in the package name).<br>
<div><div></div><div class="Wj3C7c"><br>
> packages (with easy_install package) and when o try to make ./setup.py<br>
> build it gives me this big error:<br>
><br>
> ./setup.py build<br>
> running build<br>
> running build_py<br>
> running build_ext<br>
> building 'mediaproxy.interfaces.system._conntrack' extension<br>
> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O2 -Wall<br>
> -Wstrict-prototypes -fPIC -DMODULE_VERSION=2.1.0<br>
> -DIPTABLES_VERSION="1.4.0"<br>
> -Imediaproxy/interfaces/system/libiptc/include -I/usr/include/python2.4<br>
> -c mediaproxy/interfaces/system/_conntrack.c -o<br>
> build/temp.linux-i686-2.4/mediaproxy/interfaces/system/_conntrack.o<br>
> mediaproxy/interfaces/system/_conntrack.c:81: warning: āenum<br>
> nf_conntrack_msg_typeā declared inside parameter list<br>
> mediaproxy/interfaces/system/_conntrack.c:81: warning: its scope is<br>
> only this definition or declaration, which is probably not what you<br>
> want mediaproxy/interfaces/system/_conntrack.c:81: error: parameter 1<br>
> (ātypeā) has incomplete type<br>
> mediaproxy/interfaces/system/_conntrack.c: In function<br>
> āconntrack_callbackā: mediaproxy/interfaces/system/_conntrack.c:85:<br>
> warning: implicit declaration of function ānfct_cloneā<br>
> mediaproxy/interfaces/system/_conntrack.c:85: warning: assignment makes<br>
> pointer from integer without a cast<br>
> mediaproxy/interfaces/system/_conntrack.c:86: error: āNFCT_CB_STOPā<br>
> undeclared (first use in this function)<br>
> mediaproxy/interfaces/system/_conntrack.c:86: error: (Each undeclared<br>
> identifier is reported only once<br>
> mediaproxy/interfaces/system/_conntrack.c:86: error: for each function<br>
> it appears in.)<br>
> mediaproxy/interfaces/system/_conntrack.c: In function<br>
> āForwardingRule_newā: mediaproxy/interfaces/system/_conntrack.c:122:<br>
> warning: implicit declaration of function ānfct_newā<br>
> mediaproxy/interfaces/system/_conntrack.c:122: warning: assignment<br>
> makes pointer from integer without a cast<br>
> mediaproxy/interfaces/system/_conntrack.c:128: warning: implicit<br>
> declaration of function ānfct_set_attr_u8ā<br>
> mediaproxy/interfaces/system/_conntrack.c:128: error:<br>
> āATTR_ORIG_L3PROTOā undeclared (first use in this function)<br>
> mediaproxy/interfaces/system/_conntrack.c:129: error:<br>
> āATTR_ORIG_L4PROTOā undeclared (first use in this function)<br>
> mediaproxy/interfaces/system/_conntrack.c: In function<br>
> āForwardingRule_deallocā:<br>
> mediaproxy/interfaces/system/_conntrack.c:152: warning: implicit<br>
> declaration of function ānfct_queryā<br>
> mediaproxy/interfaces/system/_conntrack.c:152: error: āNFCT_Q_DESTROYā<br>
> undeclared (first use in this function)<br>
> mediaproxy/interfaces/system/_conntrack.c:159: warning: implicit<br>
> declaration of function ānfct_destroyā<br>
> mediaproxy/interfaces/system/_conntrack.c: In function<br>
> āForwardingRule_initā:<br>
> mediaproxy/interfaces/system/_conntrack.c:208: warning: implicit<br>
> declaration of function ānfct_set_attr_u32ā<br>
> mediaproxy/interfaces/system/_conntrack.c:208: error:<br>
> āATTR_ORIG_IPV4_SRCā undeclared (first use in this function)<br>
> mediaproxy/interfaces/system/_conntrack.c:209: warning: implicit<br>
> declaration of function ānfct_set_attr_u16ā<br>
> mediaproxy/interfaces/system/_conntrack.c:209: error:<br>
> āATTR_ORIG_PORT_SRCā undeclared (first use in this function)<br>
> mediaproxy/interfaces/system/_conntrack.c:210: error:<br>
> āATTR_ORIG_IPV4_DSTā undeclared (first use in this function)<br>
> mediaproxy/interfaces/system/_conntrack.c:211: error:<br>
> āATTR_ORIG_PORT_DSTā undeclared (first use in this function)<br>
> mediaproxy/interfaces/system/_conntrack.c:212: error: āNFCT_Q_DESTROYā<br>
> undeclared (first use in this function)<br>
> mediaproxy/interfaces/system/_conntrack.c:224: warning: implicit<br>
> declaration of function ānfct_setobjoptā<br>
> mediaproxy/interfaces/system/_conntrack.c:224: error:<br>
> āNFCT_SOPT_SETUP_REPLYā undeclared (first use in this function)<br>
> mediaproxy/interfaces/system/_conntrack.c:225: error: āATTR_DNAT_IPV4ā<br>
> undeclared (first use in this function)<br>
> mediaproxy/interfaces/system/_conntrack.c:226: error: āATTR_DNAT_PORTā<br>
> undeclared (first use in this function)<br>
> mediaproxy/interfaces/system/_conntrack.c:227: error: āATTR_SNAT_IPV4ā<br>
> undeclared (first use in this function)<br>
> mediaproxy/interfaces/system/_conntrack.c:228: error: āATTR_SNAT_PORTā<br>
> undeclared (first use in this function)<br>
> mediaproxy/interfaces/system/_conntrack.c:229: error: āATTR_TIMEOUTā<br>
> undeclared (first use in this function)<br>
> mediaproxy/interfaces/system/_conntrack.c:230: error: āATTR_MARKā<br>
> undeclared (first use in this function)<br>
> mediaproxy/interfaces/system/_conntrack.c:233: error: āNFCT_Q_CREATEā<br>
> undeclared (first use in this function)<br>
> mediaproxy/interfaces/system/_conntrack.c: In function<br>
> āForwardingRule_get_conntrackā:<br>
> mediaproxy/interfaces/system/_conntrack.c:264: warning: implicit<br>
> declaration of function ānfct_callback_registerā<br>
> mediaproxy/interfaces/system/_conntrack.c:264: error: āNFCT_T_ALLā<br>
> undeclared (first use in this function)<br>
> mediaproxy/interfaces/system/_conntrack.c:270: error: āNFCT_Q_GETā<br>
> undeclared (first use in this function)<br>
> mediaproxy/interfaces/system/_conntrack.c: At top level:<br>
> mediaproxy/interfaces/system/_conntrack.c:285: error: field ātypeā has<br>
> incomplete type<br>
> mediaproxy/interfaces/system/_conntrack.c: In function<br>
> āForwardingRule_get_attrā:<br>
> mediaproxy/interfaces/system/_conntrack.c:301: warning: implicit<br>
> declaration of function ānfct_get_attr_u32ā<br>
> mediaproxy/interfaces/system/_conntrack.c: In function<br>
> āForwardingRule_set_timeoutā:<br>
> mediaproxy/interfaces/system/_conntrack.c:344: error: āATTR_TIMEOUTā<br>
> undeclared (first use in this function)<br>
> mediaproxy/interfaces/system/_conntrack.c:346: error: āNFCT_Q_UPDATEā<br>
> undeclared (first use in this function)<br>
> mediaproxy/interfaces/system/_conntrack.c: At top level:<br>
> mediaproxy/interfaces/system/_conntrack.c:361: error: āATTR_TIMEOUTā<br>
> undeclared here (not in a function)<br>
> mediaproxy/interfaces/system/_conntrack.c:362: error:<br>
> āATTR_ORIG_COUNTER_PACKETSā undeclared here (not in a function)<br>
> mediaproxy/interfaces/system/_conntrack.c:363: error:<br>
> āATTR_ORIG_COUNTER_BYTESā undeclared here (not in a function)<br>
> mediaproxy/interfaces/system/_conntrack.c:364: error:<br>
> āATTR_REPL_COUNTER_PACKETSā undeclared here (not in a function)<br>
> mediaproxy/interfaces/system/_conntrack.c:365: error:<br>
> āATTR_REPL_COUNTER_BYTESā undeclared here (not in a function)<br>
> mediaproxy/interfaces/system/_conntrack.c: In function<br>
> āExpireWatcher_readā: mediaproxy/interfaces/system/_conntrack.c:486:<br>
> error: āNFCT_T_ALLā undeclared (first use in this function)<br>
> mediaproxy/interfaces/system/_conntrack.c:491: warning: implicit<br>
> declaration of function ānfct_catchā<br>
> mediaproxy/interfaces/system/_conntrack.c:492: warning: implicit<br>
> declaration of function ānfct_callback_unregisterā<br>
> mediaproxy/interfaces/system/_conntrack.c:503: warning: implicit<br>
> declaration of function ānfct_get_attr_u8ā<br>
> mediaproxy/interfaces/system/_conntrack.c:503: error:<br>
> āATTR_ORIG_L3PROTOā undeclared (first use in this function)<br>
> mediaproxy/interfaces/system/_conntrack.c:504: error:<br>
> āATTR_REPL_L3PROTOā undeclared (first use in this function)<br>
> mediaproxy/interfaces/system/_conntrack.c:505: error:<br>
> āATTR_ORIG_L4PROTOā undeclared (first use in this function)<br>
> mediaproxy/interfaces/system/_conntrack.c:506: error:<br>
> āATTR_REPL_L4PROTOā undeclared (first use in this function)<br>
> mediaproxy/interfaces/system/_conntrack.c:514: error:<br>
> āATTR_ORIG_IPV4_SRCā undeclared (first use in this function)<br>
> mediaproxy/interfaces/system/_conntrack.c:515: warning: implicit<br>
> declaration of function ānfct_get_attr_u16ā<br>
> mediaproxy/interfaces/system/_conntrack.c:515: error:<br>
> āATTR_ORIG_PORT_SRCā undeclared (first use in this function)<br>
> mediaproxy/interfaces/system/_conntrack.c:516: error: āATTR_DNAT_IPV4ā<br>
> undeclared (first use in this function)<br>
> mediaproxy/interfaces/system/_conntrack.c:516: error:<br>
> āATTR_REPL_IPV4_SRCā undeclared (first use in this function)<br>
> mediaproxy/interfaces/system/_conntrack.c:517: error: āATTR_DNAT_PORTā<br>
> undeclared (first use in this function)<br>
> mediaproxy/interfaces/system/_conntrack.c:517: error:<br>
> āATTR_REPL_PORT_SRCā undeclared (first use in this function)<br>
> error: command 'gcc' failed with exit status 1<br>
><br>
><br>
> I think that i'm missing something on gcc, but don't know what.<br>
> Anyone have any idea?<br>
><br>
> Thanks in advance,<br>
><br>
><br>
> Nuno<br>
<br>
<br>
<br>
</div></div>--<br>
<font color="#888888">Dan<br>
</font></blockquote></div><br>