Hi,<br><br> I tried to upgrade my openser 1.3.2 to opensips 1.4.2, so when it comes to mediaproxy i thought of putting mediaproxy 2.1 running.<br> Followed all the install.txt instructions, installed all python packages (with easy_install package) and when o try to make ./setup.py 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 -Wstrict-prototypes -fPIC -DMODULE_VERSION=2.1.0 -DIPTABLES_VERSION="1.4.0" -Imediaproxy/interfaces/system/libiptc/include -I/usr/include/python2.4 -c mediaproxy/interfaces/system/_conntrack.c -o build/temp.linux-i686-2.4/mediaproxy/interfaces/system/_conntrack.o<br>
mediaproxy/interfaces/system/_conntrack.c:81: warning: âenum nf_conntrack_msg_typeâ declared inside parameter list<br>mediaproxy/interfaces/system/_conntrack.c:81: warning: its scope is only this definition or declaration, which is probably not what you want<br>
mediaproxy/interfaces/system/_conntrack.c:81: error: parameter 1 (âtypeâ) has incomplete type<br>mediaproxy/interfaces/system/_conntrack.c: In function âconntrack_callbackâ:<br>mediaproxy/interfaces/system/_conntrack.c:85: warning: implicit declaration of function ânfct_cloneâ<br>
mediaproxy/interfaces/system/_conntrack.c:85: warning: assignment makes pointer from integer without a cast<br>mediaproxy/interfaces/system/_conntrack.c:86: error: âNFCT_CB_STOPâ undeclared (first use in this function)<br>
mediaproxy/interfaces/system/_conntrack.c:86: error: (Each undeclared identifier is reported only once<br>mediaproxy/interfaces/system/_conntrack.c:86: error: for each function it appears in.)<br>mediaproxy/interfaces/system/_conntrack.c: In function âForwardingRule_newâ:<br>
mediaproxy/interfaces/system/_conntrack.c:122: warning: implicit declaration of function ânfct_newâ<br>mediaproxy/interfaces/system/_conntrack.c:122: warning: assignment makes pointer from integer without a cast<br>mediaproxy/interfaces/system/_conntrack.c:128: warning: implicit declaration of function ânfct_set_attr_u8â<br>
mediaproxy/interfaces/system/_conntrack.c:128: error: âATTR_ORIG_L3PROTOâ undeclared (first use in this function)<br>mediaproxy/interfaces/system/_conntrack.c:129: error: âATTR_ORIG_L4PROTOâ undeclared (first use in this function)<br>
mediaproxy/interfaces/system/_conntrack.c: In function âForwardingRule_deallocâ:<br>mediaproxy/interfaces/system/_conntrack.c:152: warning: implicit declaration of function ânfct_queryâ<br>mediaproxy/interfaces/system/_conntrack.c:152: error: âNFCT_Q_DESTROYâ undeclared (first use in this function)<br>
mediaproxy/interfaces/system/_conntrack.c:159: warning: implicit declaration of function ânfct_destroyâ<br>mediaproxy/interfaces/system/_conntrack.c: In function âForwardingRule_initâ:<br>mediaproxy/interfaces/system/_conntrack.c:208: warning: implicit declaration of function ânfct_set_attr_u32â<br>
mediaproxy/interfaces/system/_conntrack.c:208: error: âATTR_ORIG_IPV4_SRCâ undeclared (first use in this function)<br>mediaproxy/interfaces/system/_conntrack.c:209: warning: implicit declaration of function ânfct_set_attr_u16â<br>
mediaproxy/interfaces/system/_conntrack.c:209: error: âATTR_ORIG_PORT_SRCâ undeclared (first use in this function)<br>mediaproxy/interfaces/system/_conntrack.c:210: error: âATTR_ORIG_IPV4_DSTâ undeclared (first use in this function)<br>
mediaproxy/interfaces/system/_conntrack.c:211: error: âATTR_ORIG_PORT_DSTâ undeclared (first use in this function)<br>mediaproxy/interfaces/system/_conntrack.c:212: error: âNFCT_Q_DESTROYâ undeclared (first use in this function)<br>
mediaproxy/interfaces/system/_conntrack.c:224: warning: implicit declaration of function ânfct_setobjoptâ<br>mediaproxy/interfaces/system/_conntrack.c:224: error: âNFCT_SOPT_SETUP_REPLYâ undeclared (first use in this function)<br>
mediaproxy/interfaces/system/_conntrack.c:225: error: âATTR_DNAT_IPV4â undeclared (first use in this function)<br>mediaproxy/interfaces/system/_conntrack.c:226: error: âATTR_DNAT_PORTâ undeclared (first use in this function)<br>
mediaproxy/interfaces/system/_conntrack.c:227: error: âATTR_SNAT_IPV4â undeclared (first use in this function)<br>mediaproxy/interfaces/system/_conntrack.c:228: error: âATTR_SNAT_PORTâ undeclared (first use in this function)<br>
mediaproxy/interfaces/system/_conntrack.c:229: error: âATTR_TIMEOUTâ undeclared (first use in this function)<br>mediaproxy/interfaces/system/_conntrack.c:230: error: âATTR_MARKâ undeclared (first use in this function)<br>
mediaproxy/interfaces/system/_conntrack.c:233: error: âNFCT_Q_CREATEâ undeclared (first use in this function)<br>mediaproxy/interfaces/system/_conntrack.c: In function âForwardingRule_get_conntrackâ:<br>mediaproxy/interfaces/system/_conntrack.c:264: warning: implicit declaration of function ânfct_callback_registerâ<br>
mediaproxy/interfaces/system/_conntrack.c:264: error: âNFCT_T_ALLâ undeclared (first use in this function)<br>mediaproxy/interfaces/system/_conntrack.c:270: error: âNFCT_Q_GETâ 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 incomplete type<br>mediaproxy/interfaces/system/_conntrack.c: In function âForwardingRule_get_attrâ:<br>mediaproxy/interfaces/system/_conntrack.c:301: warning: implicit declaration of function ânfct_get_attr_u32â<br>
mediaproxy/interfaces/system/_conntrack.c: In function âForwardingRule_set_timeoutâ:<br>mediaproxy/interfaces/system/_conntrack.c:344: error: âATTR_TIMEOUTâ undeclared (first use in this function)<br>mediaproxy/interfaces/system/_conntrack.c:346: error: âNFCT_Q_UPDATEâ 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â undeclared here (not in a function)<br>mediaproxy/interfaces/system/_conntrack.c:362: error: âATTR_ORIG_COUNTER_PACKETSâ undeclared here (not in a function)<br>
mediaproxy/interfaces/system/_conntrack.c:363: error: âATTR_ORIG_COUNTER_BYTESâ undeclared here (not in a function)<br>mediaproxy/interfaces/system/_conntrack.c:364: error: âATTR_REPL_COUNTER_PACKETSâ undeclared here (not in a function)<br>
mediaproxy/interfaces/system/_conntrack.c:365: error: âATTR_REPL_COUNTER_BYTESâ undeclared here (not in a function)<br>mediaproxy/interfaces/system/_conntrack.c: In function âExpireWatcher_readâ:<br>mediaproxy/interfaces/system/_conntrack.c:486: error: âNFCT_T_ALLâ undeclared (first use in this function)<br>
mediaproxy/interfaces/system/_conntrack.c:491: warning: implicit declaration of function ânfct_catchâ<br>mediaproxy/interfaces/system/_conntrack.c:492: warning: implicit declaration of function ânfct_callback_unregisterâ<br>
mediaproxy/interfaces/system/_conntrack.c:503: warning: implicit declaration of function ânfct_get_attr_u8â<br>mediaproxy/interfaces/system/_conntrack.c:503: error: âATTR_ORIG_L3PROTOâ undeclared (first use in this function)<br>
mediaproxy/interfaces/system/_conntrack.c:504: error: âATTR_REPL_L3PROTOâ undeclared (first use in this function)<br>mediaproxy/interfaces/system/_conntrack.c:505: error: âATTR_ORIG_L4PROTOâ undeclared (first use in this function)<br>
mediaproxy/interfaces/system/_conntrack.c:506: error: âATTR_REPL_L4PROTOâ undeclared (first use in this function)<br>mediaproxy/interfaces/system/_conntrack.c:514: error: âATTR_ORIG_IPV4_SRCâ undeclared (first use in this function)<br>
mediaproxy/interfaces/system/_conntrack.c:515: warning: implicit declaration of function ânfct_get_attr_u16â<br>mediaproxy/interfaces/system/_conntrack.c:515: error: âATTR_ORIG_PORT_SRCâ undeclared (first use in this function)<br>
mediaproxy/interfaces/system/_conntrack.c:516: error: âATTR_DNAT_IPV4â undeclared (first use in this function)<br>mediaproxy/interfaces/system/_conntrack.c:516: error: âATTR_REPL_IPV4_SRCâ undeclared (first use in this function)<br>
mediaproxy/interfaces/system/_conntrack.c:517: error: âATTR_DNAT_PORTâ undeclared (first use in this function)<br>mediaproxy/interfaces/system/_conntrack.c:517: error: â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. Anyone have any idea?<br><br> Thanks in advance,<br><br><br> Nuno<br>