[OpenSIPS-Users] Installing Mediaproxy 2.1 problem !

Nuno Marques yangsengopenser at gmail.com
Fri Oct 31 17:29:55 CET 2008


Hi Dan,

   I've allready checked all the packages, the problem is that i have
libnetfilter-conntrack-dev 0.0.31 (very old i suppose).
   Tryed to get correct version, but don't know where... In debian etch
packages i only get 0.0.31-1 (looked at
http://packages.debian.org/etch/libnetfilter-conntrack-dev).
   Can you tell me where i can get that version?
   Thanks,

   BR

  Nuno


2008/10/31 Dan Pascu <dan at ag-projects.com>

> On Thursday 30 October 2008, Nuno Marques wrote:
> > Hi,
> >
> >   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.
> >   Followed all the install.txt instructions, installed all python
>
> It seems you haven't followed all of them after all. This item from the
> dependency list is clearly not installed on your system:
>
>  - libnetfilter-conntrack (at least version 0.0.89)
>   Most of the Linux distributions separate a library package into runtime
>   and development packages. To build MediaProxy, the development version
>   is needed (it usually has a -dev suffix in the package name).
>
> > packages (with easy_install package) and when o try to make ./setup.py
> > build it gives me this big error:
> >
> > ./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.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
> > mediaproxy/interfaces/system/_conntrack.c:81: warning: âenum
> > nf_conntrack_msg_typeâ declared inside parameter list
> > mediaproxy/interfaces/system/_conntrack.c:81: warning: its scope is
> > only this definition or declaration, which is probably not what you
> > want mediaproxy/interfaces/system/_conntrack.c:81: error: parameter 1
> > (âtypeâ) has incomplete type
> > mediaproxy/interfaces/system/_conntrack.c: In function
> > âconntrack_callbackâ: mediaproxy/interfaces/system/_conntrack.c:85:
> > warning: implicit declaration of function ânfct_cloneâ
> > mediaproxy/interfaces/system/_conntrack.c:85: warning: assignment makes
> > pointer from integer without a cast
> > mediaproxy/interfaces/system/_conntrack.c:86: error: âNFCT_CB_STOPâ
> > undeclared (first use in this function)
> > mediaproxy/interfaces/system/_conntrack.c:86: error: (Each undeclared
> > identifier is reported only once
> > mediaproxy/interfaces/system/_conntrack.c:86: error: for each function
> > it appears in.)
> > mediaproxy/interfaces/system/_conntrack.c: In function
> > âForwardingRule_newâ: mediaproxy/interfaces/system/_conntrack.c:122:
> > warning: implicit declaration of function ânfct_newâ
> > mediaproxy/interfaces/system/_conntrack.c:122: warning: assignment
> > makes pointer from integer without a cast
> > mediaproxy/interfaces/system/_conntrack.c:128: warning: implicit
> > declaration of function ânfct_set_attr_u8â
> > mediaproxy/interfaces/system/_conntrack.c:128: error:
> > âATTR_ORIG_L3PROTOâ undeclared (first use in this function)
> > mediaproxy/interfaces/system/_conntrack.c:129: error:
> > âATTR_ORIG_L4PROTOâ undeclared (first use in this function)
> > mediaproxy/interfaces/system/_conntrack.c: In function
> > âForwardingRule_deallocâ:
> > mediaproxy/interfaces/system/_conntrack.c:152: warning: implicit
> > declaration of function ânfct_queryâ
> > mediaproxy/interfaces/system/_conntrack.c:152: error: âNFCT_Q_DESTROYâ
> > undeclared (first use in this function)
> > mediaproxy/interfaces/system/_conntrack.c:159: warning: implicit
> > declaration of function ânfct_destroyâ
> > mediaproxy/interfaces/system/_conntrack.c: In function
> > âForwardingRule_initâ:
> > mediaproxy/interfaces/system/_conntrack.c:208: warning: implicit
> > declaration of function ânfct_set_attr_u32â
> > mediaproxy/interfaces/system/_conntrack.c:208: error:
> > âATTR_ORIG_IPV4_SRCâ undeclared (first use in this function)
> > mediaproxy/interfaces/system/_conntrack.c:209: warning: implicit
> > declaration of function ânfct_set_attr_u16â
> > mediaproxy/interfaces/system/_conntrack.c:209: error:
> > âATTR_ORIG_PORT_SRCâ undeclared (first use in this function)
> > mediaproxy/interfaces/system/_conntrack.c:210: error:
> > âATTR_ORIG_IPV4_DSTâ undeclared (first use in this function)
> > mediaproxy/interfaces/system/_conntrack.c:211: error:
> > âATTR_ORIG_PORT_DSTâ undeclared (first use in this function)
> > mediaproxy/interfaces/system/_conntrack.c:212: error: âNFCT_Q_DESTROYâ
> > undeclared (first use in this function)
> > mediaproxy/interfaces/system/_conntrack.c:224: warning: implicit
> > declaration of function ânfct_setobjoptâ
> > mediaproxy/interfaces/system/_conntrack.c:224: error:
> > âNFCT_SOPT_SETUP_REPLYâ undeclared (first use in this function)
> > mediaproxy/interfaces/system/_conntrack.c:225: error: âATTR_DNAT_IPV4â
> > undeclared (first use in this function)
> > mediaproxy/interfaces/system/_conntrack.c:226: error: âATTR_DNAT_PORTâ
> > undeclared (first use in this function)
> > mediaproxy/interfaces/system/_conntrack.c:227: error: âATTR_SNAT_IPV4â
> > undeclared (first use in this function)
> > mediaproxy/interfaces/system/_conntrack.c:228: error: âATTR_SNAT_PORTâ
> > undeclared (first use in this function)
> > mediaproxy/interfaces/system/_conntrack.c:229: error: âATTR_TIMEOUTâ
> > undeclared (first use in this function)
> > mediaproxy/interfaces/system/_conntrack.c:230: error: âATTR_MARKâ
> > undeclared (first use in this function)
> > mediaproxy/interfaces/system/_conntrack.c:233: 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:264: warning: implicit
> > declaration of function ânfct_callback_registerâ
> > mediaproxy/interfaces/system/_conntrack.c:264: error: âNFCT_T_ALLâ
> > undeclared (first use in this function)
> > mediaproxy/interfaces/system/_conntrack.c:270: error: âNFCT_Q_GETâ
> > undeclared (first use in this function)
> > mediaproxy/interfaces/system/_conntrack.c: At top level:
> > mediaproxy/interfaces/system/_conntrack.c:285: error: field âtypeâ has
> > incomplete type
> > mediaproxy/interfaces/system/_conntrack.c: In function
> > âForwardingRule_get_attrâ:
> > mediaproxy/interfaces/system/_conntrack.c:301: warning: implicit
> > declaration of function ânfct_get_attr_u32â
> > mediaproxy/interfaces/system/_conntrack.c: In function
> > âForwardingRule_set_timeoutâ:
> > mediaproxy/interfaces/system/_conntrack.c:344: error: âATTR_TIMEOUTâ
> > undeclared (first use in this function)
> > mediaproxy/interfaces/system/_conntrack.c:346: error: âNFCT_Q_UPDATEâ
> > undeclared (first use in this function)
> > mediaproxy/interfaces/system/_conntrack.c: At top level:
> > mediaproxy/interfaces/system/_conntrack.c:361: error: âATTR_TIMEOUTâ
> > undeclared here (not in a function)
> > mediaproxy/interfaces/system/_conntrack.c:362: error:
> > âATTR_ORIG_COUNTER_PACKETSâ undeclared here (not in a function)
> > mediaproxy/interfaces/system/_conntrack.c:363: error:
> > âATTR_ORIG_COUNTER_BYTESâ undeclared here (not in a function)
> > mediaproxy/interfaces/system/_conntrack.c:364: error:
> > âATTR_REPL_COUNTER_PACKETSâ undeclared here (not in a function)
> > mediaproxy/interfaces/system/_conntrack.c:365: 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:486:
> > error: âNFCT_T_ALLâ undeclared (first use in this function)
> > mediaproxy/interfaces/system/_conntrack.c:491: warning: implicit
> > declaration of function ânfct_catchâ
> > mediaproxy/interfaces/system/_conntrack.c:492: warning: implicit
> > declaration of function ânfct_callback_unregisterâ
> > mediaproxy/interfaces/system/_conntrack.c:503: warning: implicit
> > declaration of function ânfct_get_attr_u8â
> > mediaproxy/interfaces/system/_conntrack.c:503: error:
> > âATTR_ORIG_L3PROTOâ undeclared (first use in this function)
> > mediaproxy/interfaces/system/_conntrack.c:504: error:
> > âATTR_REPL_L3PROTOâ undeclared (first use in this function)
> > mediaproxy/interfaces/system/_conntrack.c:505: error:
> > âATTR_ORIG_L4PROTOâ undeclared (first use in this function)
> > mediaproxy/interfaces/system/_conntrack.c:506: error:
> > âATTR_REPL_L4PROTOâ undeclared (first use in this function)
> > mediaproxy/interfaces/system/_conntrack.c:514: error:
> > âATTR_ORIG_IPV4_SRCâ undeclared (first use in this function)
> > mediaproxy/interfaces/system/_conntrack.c:515: warning: implicit
> > declaration of function ânfct_get_attr_u16â
> > mediaproxy/interfaces/system/_conntrack.c:515: error:
> > âATTR_ORIG_PORT_SRCâ undeclared (first use in this function)
> > mediaproxy/interfaces/system/_conntrack.c:516: error: âATTR_DNAT_IPV4â
> > undeclared (first use in this function)
> > mediaproxy/interfaces/system/_conntrack.c:516: error:
> > âATTR_REPL_IPV4_SRCâ undeclared (first use in this function)
> > mediaproxy/interfaces/system/_conntrack.c:517: error: âATTR_DNAT_PORTâ
> > undeclared (first use in this function)
> > mediaproxy/interfaces/system/_conntrack.c:517: error:
> > âATTR_REPL_PORT_SRCâ undeclared (first use in this function)
> > error: command 'gcc' failed with exit status 1
> >
> >
> >    I think that i'm missing something on gcc, but don't know what.
> > Anyone have any idea?
> >
> >    Thanks in advance,
> >
> >
> >          Nuno
>
>
>
> --
> Dan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20081031/d2013113/attachment.htm 


More information about the Users mailing list