[OpenSIPS-Users] Mediaproxy 2.3.2 compile probelm on debian 4.X
Ruud Klaver
ruud at ag-projects.com
Wed Feb 25 09:35:40 CET 2009
Hi,
On 25 Feb 2009, at 07:19, ram wrote:
> As per the readme and install
>
> i have installed related packages
> when i do setup i get the following error
>
> any one have successfully installed Mediaproxy 2.3.2 on debian
>
> any suggestions
>
> Ram
>
> ./setup.py build
> running build
> running build_py
> running build_ext
> building 'mediaproxy.interfaces.system._conntrack' extension
> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O2 -Wall -Wstrict-
> prototypes -fPIC -DMODULE_VERSION=2.3.2 -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
> mediaproxy/interfaces/system/_conntrack.c:74: warning: âenum
> nf_conntrack_msg_typeâ declared inside parameter list
> mediaproxy/interfaces/system/_conntrack.c:74: warning: its scope is
> only this definition or declaration, which is probably not what you
> want
> mediaproxy/interfaces/system/_conntrack.c:74: error: parameter 1
> (âtypeâ) has incomplete type
> mediaproxy/interfaces/system/_conntrack.c: In function
> âconntrack_callbackâ:
> mediaproxy/interfaces/system/_conntrack.c:78: warning: implicit
> declaration of function ânfct_cloneâ
> mediaproxy/interfaces/system/_conntrack.c:78: warning: assignment
> makes pointer from integer without a cast
> mediaproxy/interfaces/system/_conntrack.c:79: error: âNFCT_CB_STOPâ
> undeclared (first use in this function)
> mediaproxy/interfaces/system/_conntrack.c:79: error: (Each
> undeclared identifier is reported only once
> mediaproxy/interfaces/system/_conntrack.c:79: error: for each
> function it appears in.)
> mediaproxy/interfaces/system/_conntrack.c: In function
> âForwardingRule_newâ:
> mediaproxy/interfaces/system/_conntrack.c:161: warning: implicit
> declaration of function ânfct_newâ
> mediaproxy/interfaces/system/_conntrack.c:161: warning: assignment
> makes pointer from integer without a cast
> mediaproxy/interfaces/system/_conntrack.c:167: warning: implicit
> declaration of function ânfct_set_attr_u8â
> mediaproxy/interfaces/system/_conntrack.c:167: error:
> âATTR_ORIG_L3PROTOâ undeclared (first use in this function)
> mediaproxy/interfaces/system/_conntrack.c:168: error:
> âATTR_ORIG_L4PROTOâ undeclared (first use in this function)
> mediaproxy/interfaces/system/_conntrack.c: In function
> âForwardingRule_deallocâ:
> mediaproxy/interfaces/system/_conntrack.c:181: warning: implicit
> declaration of function ânfct_get_attr_u16â
> mediaproxy/interfaces/system/_conntrack.c:181: error:
> âATTR_ORIG_PORT_DSTâ undeclared (first use in this function)
> mediaproxy/interfaces/system/_conntrack.c:186: warning: implicit
> declaration of function ânfct_queryâ
> mediaproxy/interfaces/system/_conntrack.c:186: error:
> âNFCT_Q_DESTROYâ undeclared (first use in this function)
> mediaproxy/interfaces/system/_conntrack.c:193: warning: implicit
> declaration of function ânfct_destroyâ
> mediaproxy/interfaces/system/_conntrack.c: In function
> âForwardingRule_initâ:
> mediaproxy/interfaces/system/_conntrack.c:274: warning: implicit
> declaration of function ânfct_set_attr_u32â
> mediaproxy/interfaces/system/_conntrack.c:274: error:
> âATTR_ORIG_IPV4_SRCâ undeclared (first use in this function)
> mediaproxy/interfaces/system/_conntrack.c:275: warning: implicit
> declaration of function ânfct_set_attr_u16â
> mediaproxy/interfaces/system/_conntrack.c:275: error:
> âATTR_ORIG_PORT_SRCâ undeclared (first use in this function)
> mediaproxy/interfaces/system/_conntrack.c:276: error:
> âATTR_ORIG_IPV4_DSTâ undeclared (first use in this function)
> mediaproxy/interfaces/system/_conntrack.c:277: error:
> âATTR_ORIG_PORT_DSTâ undeclared (first use in this function)
> mediaproxy/interfaces/system/_conntrack.c:278: error:
> âNFCT_Q_DESTROYâ undeclared (first use in this function)
> mediaproxy/interfaces/system/_conntrack.c:290: warning: implicit
> declaration of function ânfct_setobjoptâ
> mediaproxy/interfaces/system/_conntrack.c:290: error:
> âNFCT_SOPT_SETUP_REPLYâ undeclared (first use in this function)
> mediaproxy/interfaces/system/_conntrack.c:291: error:
> âATTR_DNAT_IPV4â undeclared (first use in this function)
> mediaproxy/interfaces/system/_conntrack.c:292: error:
> âATTR_DNAT_PORTâ undeclared (first use in this function)
> mediaproxy/interfaces/system/_conntrack.c:293: error:
> âATTR_SNAT_IPV4â undeclared (first use in this function)
> mediaproxy/interfaces/system/_conntrack.c:294: error:
> âATTR_SNAT_PORTâ undeclared (first use in this function)
> mediaproxy/interfaces/system/_conntrack.c:295: error: âATTR_TIMEOUTâ
> undeclared (first use in this function)
> mediaproxy/interfaces/system/_conntrack.c:296: error: âATTR_MARKâ
> undeclared (first use in this function)
> mediaproxy/interfaces/system/_conntrack.c:299: error:
> âNFCT_Q_CREATEâ undeclared (first use in this function)
> mediaproxy/interfaces/system/_conntrack.c: In function
> âForwardingRule_get_conntrackâ:
> mediaproxy/interfaces/system/_conntrack.c:329: warning: implicit
> declaration of function ânfct_callback_registerâ
> mediaproxy/interfaces/system/_conntrack.c:329: error: âNFCT_T_ALLâ
> undeclared (first use in this function)
> mediaproxy/interfaces/system/_conntrack.c:335: error: âNFCT_Q_GETâ
> undeclared (first use in this function)
> mediaproxy/interfaces/system/_conntrack.c: At top level:
> mediaproxy/interfaces/system/_conntrack.c:350: error: field âtypeâ
> has incomplete type
> mediaproxy/interfaces/system/_conntrack.c: In function
> âForwardingRule_get_attrâ:
> mediaproxy/interfaces/system/_conntrack.c:366: warning: implicit
> declaration of function ânfct_get_attr_u32â
> mediaproxy/interfaces/system/_conntrack.c: In function
> âForwardingRule_get_countersâ:
> mediaproxy/interfaces/system/_conntrack.c:385: error:
> âATTR_ORIG_COUNTER_BYTESâ undeclared (first use in this function)
> mediaproxy/interfaces/system/_conntrack.c:386: error:
> âATTR_REPL_COUNTER_BYTESâ undeclared (first use in this function)
> mediaproxy/interfaces/system/_conntrack.c:387: error:
> âATTR_ORIG_COUNTER_PACKETSâ undeclared (first use in this function)
> mediaproxy/interfaces/system/_conntrack.c:388: error:
> âATTR_REPL_COUNTER_PACKETSâ undeclared (first use in this function)
> mediaproxy/interfaces/system/_conntrack.c: In function
> âForwardingRule_set_timeoutâ:
> mediaproxy/interfaces/system/_conntrack.c:433: error: âATTR_TIMEOUTâ
> undeclared (first use in this function)
> mediaproxy/interfaces/system/_conntrack.c:435: error:
> âNFCT_Q_UPDATEâ undeclared (first use in this function)
> mediaproxy/interfaces/system/_conntrack.c: At top level:
> mediaproxy/interfaces/system/_conntrack.c:450: error: âATTR_TIMEOUTâ
> undeclared here (not in a function)
> mediaproxy/interfaces/system/_conntrack.c:451: error:
> âATTR_ORIG_COUNTER_PACKETSâ undeclared here (not in a function)
> mediaproxy/interfaces/system/_conntrack.c:452: error:
> âATTR_ORIG_COUNTER_BYTESâ undeclared here (not in a function)
> mediaproxy/interfaces/system/_conntrack.c:453: error:
> âATTR_REPL_COUNTER_PACKETSâ undeclared here (not in a function)
> mediaproxy/interfaces/system/_conntrack.c:454: error:
> âATTR_REPL_COUNTER_BYTESâ undeclared here (not in a function)
> mediaproxy/interfaces/system/_conntrack.c: In function
> âExpireWatcher_readâ:
> mediaproxy/interfaces/system/_conntrack.c:582: error: âNFCT_T_ALLâ
> undeclared (first use in this function)
> mediaproxy/interfaces/system/_conntrack.c:587: warning: implicit
> declaration of function ânfct_catchâ
> mediaproxy/interfaces/system/_conntrack.c:588: warning: implicit
> declaration of function ânfct_callback_unregisterâ
> mediaproxy/interfaces/system/_conntrack.c:599: warning: implicit
> declaration of function ânfct_get_attr_u8â
> mediaproxy/interfaces/system/_conntrack.c:599: error:
> âATTR_ORIG_L3PROTOâ undeclared (first use in this function)
> mediaproxy/interfaces/system/_conntrack.c:600: error:
> âATTR_REPL_L3PROTOâ undeclared (first use in this function)
> mediaproxy/interfaces/system/_conntrack.c:601: error:
> âATTR_ORIG_L4PROTOâ undeclared (first use in this function)
> mediaproxy/interfaces/system/_conntrack.c:602: error:
> âATTR_REPL_L4PROTOâ undeclared (first use in this function)
> mediaproxy/interfaces/system/_conntrack.c:609: error:
> âATTR_ORIG_PORT_DSTâ undeclared (first use in this function)
> mediaproxy/interfaces/system/_conntrack.c:612: error:
> âATTR_ORIG_IPV4_SRCâ undeclared (first use in this function)
> mediaproxy/interfaces/system/_conntrack.c:612: error:
> âATTR_ORIG_PORT_SRCâ undeclared (first use in this function)
> mediaproxy/interfaces/system/_conntrack.c:612: error:
> âATTR_DNAT_IPV4â undeclared (first use in this function)
> mediaproxy/interfaces/system/_conntrack.c:612: error:
> âATTR_REPL_IPV4_SRCâ undeclared (first use in this function)
> mediaproxy/interfaces/system/_conntrack.c:612: error:
> âATTR_DNAT_PORTâ undeclared (first use in this function)
> mediaproxy/interfaces/system/_conntrack.c:612: error:
> âATTR_REPL_PORT_SRCâ undeclared (first use in this function)
> error: command 'gcc' failed with exit status 1
Looks like an old or non-existing libnetfilter-conntrack. If you are
using debian, please use the AG projects debian repository to install
mediaproxy. Check the INSTALL file for instructions on how to do that.
Ruud Klaver
AG Projects
More information about the Users
mailing list