[Nice] compile error

Olivier Crête olivier.crete at collabora.co.uk
Mon Jan 17 12:56:57 PST 2011


Hi,

You are using an ancient version of GStreamer, upgrade to the newest
version.. Or better, upgrade your whole distribution, the world has
improved a lot in the last 5 years.

Olivier

On Mon, 2011-01-17 at 21:52 +0100, Ladislao Bastetti wrote:
> Hello,
> 
> I'm running debian etch, and I'm trying to compile libnice , getting errors .
> Kernel is 2.6.18-6-686 .
> I need libnice version >=0.0.9 , and after
> 
> ../configure (successful)
> 
> make
> 
> gives this error :
> 
> ....
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -pthread
> -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I .. -I ../socket
> -I ../agent -I ../random -I ../stun -g -O2 -MT gstnicesrc.lo -MD -MP
> -MF .deps/gstnicesrc.Tpo -c gstnicesrc.c  -fPIC -DPIC -o
> ..libs/gstnicesrc.o
> gstnicesrc.c: In function ‘gst_nice_src_class_init’:
> gstnicesrc.c:135: error: ‘GstBaseSrcClass’ has no member named ‘unlock_stop’
> gstnicesrc.c: In function ‘gst_nice_src_init’:
> gstnicesrc.c:179: warning: implicit declaration of function
> ‘gst_base_src_set_do_timestamp’
> gstnicesrc.c: In function ‘gst_nice_src_set_property’:
> gstnicesrc.c:330: warning: assignment from incompatible pointer type
> make[2]: *** [gstnicesrc.lo] Error 1
> make[2]: Leaving directory `/usr/src/libnice-0.0.9/gst'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/libnice-0.0.9'
> make: *** [all] Error 2
> 
> 
> So I've tried next version , getting the same error (as 0.0.9) .
> Then next (0.0.10) , and the error has changed ,  and next ... until
> 0.0.13 I've got always the same error :
> 
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I..
> -DG_LOG_DOMAIN=\"libnice\" -Wall -fno-strict-aliasing -Wextra -Wundef
> -Wnested-externs -Wwrite-strings -Wpointer-arith -Wbad-function-cast
> -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes
> -Wredundant-decls -Wno-unused-parameter
> -Wno-missing-field-initializers -pthread -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -I .. -I ../random -I ../socket -I ../stun
> -g -O2 -MT pseudotcp.lo -MD -MP -MF .deps/pseudotcp.Tpo -c pseudotcp.c
>  -fPIC -DPIC -o .libs/pseudotcp.o
> pseudotcp.c: In function ‘pseudo_tcp_socket_class_init’:
> pseudotcp.c:376: error: ‘G_PARAM_STATIC_STRINGS’ undeclared (first use
> in this function)
> pseudotcp.c:376: error: (Each undeclared identifier is reported only once
> pseudotcp.c:376: error: for each function it appears in.)
> make[3]: *** [pseudotcp.lo] Error 1
> make[3]: Leaving directory `/usr/src/libnice-0.0.13/agent'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/usr/src/libnice-0.0.13/agent'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/libnice-0.0.13'
> make: *** [all] Error 2
> 
> Googling has been unuccessful , and also I've searched the mail
> archive , again without success .
> Configure is always successful , but compile always fails , strangely .
> So , can somebody give any suggestion ?
> 
> kind regards
> 
> Ladislao
> _______________________________________________
> Nice mailing list
> Nice at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/nice

-- 
Olivier Crête
olivier.crete at collabora.co.uk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/nice/attachments/20110117/175853fc/attachment.pgp>


More information about the Nice mailing list