[OpenSIPS-Users] Installing Mediaproxy 2.1 problem !

Nuno Marques yangsengopenser at gmail.com
Thu Oct 30 22:49:09 CET 2008


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 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20081030/9022d873/attachment-0001.htm 


More information about the Users mailing list