[gst-devel] question about gstreamer

Thomas Vander Stichele thomas at urgent.rug.ac.be
Tue Apr 10 17:44:19 CEST 2001


> I am compiling gstreamer with libxml 1.8.11. 

Here's what I get with rpm -qa | grep xml

python-xmlrpc-1.0-8
libxml-devel-1.8.11-1
libxml-1.8.11-1

So I should have the right version.
For the one machine running red hat 7.0, here's the error log :


gstwindec.c:174:58: warning: pasting would not give a valid preprocessing token
In file included from /usr/local/include/libxml/parser.h:13,
                 from ../../../gst/gstobject.h:30,
                 from ../../../gst/gst.h:31,
                 from gstwindec.h:27,
                 from gstwindec.c:32:
/usr/local/include/libxml/tree.h:383: warning: return type defaults to `int'
/usr/local/include/libxml/tree.h: In function `__declspec':
/usr/local/include/libxml/tree.h:383: storage class specified for parameter `baseDTD'
/usr/local/include/libxml/tree.h:384: parse error before `__declspec'
/usr/local/include/libxml/tree.h:383: declaration for parameter `baseDTD' but no such parameter
In file included from /usr/local/include/libxml/parser.h:14,
                 from ../../../gst/gstobject.h:30,
                 from ../../../gst/gst.h:31,
                 from gstwindec.h:27,
                 from gstwindec.c:32:
/usr/local/include/libxml/valid.h:30: `xmlValidityErrorFunc' undeclared (first use in this function)
/usr/local/include/libxml/valid.h:30: (Each undeclared identifier is reported only once
/usr/local/include/libxml/valid.h:30: for each function it appears in.)
/usr/local/include/libxml/valid.h:30: parse error before `error'
/usr/local/include/libxml/valid.h:31: `xmlValidityWarningFunc' undeclared (first use in this function)
/usr/local/include/libxml/valid.h:41: warning: unused variable `valid'
/usr/local/include/libxml/valid.h:40: warning: unused variable `doc'
/usr/local/include/libxml/valid.h:39: warning: unused variable `finishDtd'
/usr/local/include/libxml/valid.h:37: warning: unused variable `nodeTab'
/usr/local/include/libxml/valid.h:36: warning: unused variable `nodeMax'
/usr/local/include/libxml/valid.h:35: warning: unused variable `nodeNr'
/usr/local/include/libxml/valid.h:34: warning: unused variable `node'
/usr/local/include/libxml/valid.h:29: warning: unused variable `userData'
/usr/local/include/libxml/valid.h:42: warning: control reaches end of non-void function
/usr/local/include/libxml/valid.h: At top level:
/usr/local/include/libxml/valid.h:89: parse error before `ctxt'
/usr/local/include/libxml/valid.h:111: parse error before `ctxt'
/usr/local/include/libxml/valid.h:129: parse error before `ctxt'
/usr/local/include/libxml/valid.h:146: parse error before `ctxt'
/usr/local/include/libxml/valid.h:160: parse error before `ctxt'
/usr/local/include/libxml/valid.h:175: parse error before `ctxt'
/usr/local/include/libxml/valid.h:177: parse error before `ctxt'
/usr/local/include/libxml/valid.h:184: parse error before `ctxt'
/usr/local/include/libxml/valid.h:189: parse error before `ctxt'
/usr/local/include/libxml/valid.h:192: parse error before `ctxt'
/usr/local/include/libxml/valid.h:195: parse error before `ctxt'
/usr/local/include/libxml/valid.h:197: parse error before `ctxt'
/usr/local/include/libxml/valid.h:199: parse error before `ctxt'
/usr/local/include/libxml/valid.h:202: parse error before `ctxt'
/usr/local/include/libxml/valid.h:205: parse error before `ctxt'
/usr/local/include/libxml/valid.h:210: parse error before `ctxt'
/usr/local/include/libxml/valid.h:212: parse error before `ctxt'
In file included from ../../../gst/gstobject.h:30,
                 from ../../../gst/gst.h:31,
                 from gstwindec.h:27,
                 from gstwindec.c:32:
/usr/local/include/libxml/parser.h:152: parse error before `xmlValidCtxt'
/usr/local/include/libxml/parser.h:152: warning: no semicolon at end of struct or union
/usr/local/include/libxml/parser.h:188: parse error before `}'
/usr/local/include/libxml/parser.h:298: warning: return type defaults to `int'
/usr/local/include/libxml/parser.h:298: redefinition of `__declspec'
/usr/local/include/libxml/tree.h:383: `__declspec' previously defined here
/usr/local/include/libxml/parser.h: In function `__declspec':
/usr/local/include/libxml/parser.h:298: storage class specified for parameter `xmlParserVersion'
/usr/local/include/libxml/parser.h:300: parse error before `__declspec'
/usr/local/include/libxml/parser.h:298: declaration for parameter `xmlParserVersion' but no such parameter
In file included from ../../../gst/gstobject.h:37,
                 from ../../../gst/gst.h:31,
                 from gstwindec.h:27,
                 from gstwindec.c:32:
/usr/include/asm/atomic.h:25: warning: control reaches end of non-void function
/usr/include/asm/atomic.h: At top level:
/usr/include/asm/atomic.h:25: warning: data definition has no type or storage class
/usr/include/asm/atomic.h:33: parse error before `*'
/usr/include/asm/atomic.h: In function `atomic_add':
/usr/include/asm/atomic.h:37: `v' undeclared (first use in this function)
/usr/include/asm/atomic.h:38: `i' undeclared (first use in this function)
/usr/include/asm/atomic.h: At top level:
/usr/include/asm/atomic.h:41: parse error before `*'
/usr/include/asm/atomic.h: In function `atomic_sub':
/usr/include/asm/atomic.h:45: `v' undeclared (first use in this function)
/usr/include/asm/atomic.h:46: `i' undeclared (first use in this function)
/usr/include/asm/atomic.h: At top level:
/usr/include/asm/atomic.h:49: parse error before `*'
/usr/include/asm/atomic.h: In function `atomic_inc':
/usr/include/asm/atomic.h:53: `v' undeclared (first use in this function)
/usr/include/asm/atomic.h: At top level:
/usr/include/asm/atomic.h:57: parse error before `*'
/usr/include/asm/atomic.h: In function `atomic_dec':
/usr/include/asm/atomic.h:61: `v' undeclared (first use in this function)
/usr/include/asm/atomic.h: At top level:
/usr/include/asm/atomic.h:65: parse error before `*'
/usr/include/asm/atomic.h: In function `atomic_dec_and_test':
/usr/include/asm/atomic.h:71: `v' undeclared (first use in this function)
/usr/include/asm/atomic.h: At top level:
/usr/include/asm/atomic.h:76: parse error before `*'
/usr/include/asm/atomic.h: In function `atomic_inc_and_test_greater_zero':
/usr/include/asm/atomic.h:82: `v' undeclared (first use in this function)
In file included from ../../../gst/gst.h:31,
                 from gstwindec.h:27,
                 from gstwindec.c:32:
../../../gst/gstobject.h: At top level:
../../../gst/gstobject.h:69: parse error before `atomic_t'
../../../gst/gstobject.h:69: warning: no semicolon at end of struct or union
../../../gst/gstobject.h:79: parse error before `}'
In file included from ../../../gst/gstbuffer.h:29,
                 from ../../../gst/gstpad.h:38,
                 from ../../../gst/gst.h:32,
                 from gstwindec.h:27,
                 from gstwindec.c:32:
../../../gst/gstmeta.h:68: parse error before `atomic_t'
../../../gst/gstmeta.h:68: warning: no semicolon at end of struct or union
../../../gst/gstmeta.h:78: parse error before `}'
In file included from ../../../gst/gstpad.h:38,
                 from ../../../gst/gst.h:32,
                 from gstwindec.h:27,
                 from gstwindec.c:32:
../../../gst/gstbuffer.h:90: parse error before `atomic_t'
../../../gst/gstbuffer.h:90: warning: no semicolon at end of struct or union
../../../gst/gstbuffer.h:103: conflicting types for `data'
../../../gst/gstmeta.h:76: previous declaration of `data'
../../../gst/gstbuffer.h:104: conflicting types for `size'
../../../gst/gstmeta.h:77: previous declaration of `size'
../../../gst/gstbuffer.h:117: conflicting types for `parent'
../../../gst/gstobject.h:78: previous declaration of `parent'
../../../gst/gstbuffer.h:121: parse error before `}'
In file included from ../../../gst/gst.h:32,
                 from gstwindec.h:27,
                 from gstwindec.c:32:
../../../gst/gstpad.h:110: field `object' has incomplete type
../../../gst/gstpad.h:222: field `object' has incomplete type
In file included from ../../../gst/gst.h:36,
                 from gstwindec.h:27,
                 from gstwindec.c:32:
../../../gst/gstelement.h:134: field `object' has incomplete type
In file included from ../../../gst/gst.h:48,
                 from gstwindec.h:27,
                 from gstwindec.c:32:
../../../gst/gstxml.h:56: field `object' has incomplete type
In file included from gstwindec.h:28,
                 from gstwindec.c:32:
../../../gst/meta/videoraw.h:65: field `meta' has incomplete type
gstwindec.c: In function `gst_windec_chain':
gstwindec.c:256: dereferencing pointer to incomplete type
gstwindec.c:276: dereferencing pointer to incomplete type
gstwindec.c:277: dereferencing pointer to incomplete type
gstwindec.c:281: dereferencing pointer to incomplete type
gstwindec.c:287: dereferencing pointer to incomplete type
gstwindec.c:287: dereferencing pointer to incomplete type
make[4]: *** [gstwindec.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2

I've also been able to get one step further on one machine; what I forgot
to do was clear the config.cache file in the source dir when I
re-installed new xml libraries...

thanks in advance
thomas

<-*-                      -*->
Cause I wake to find there's
nothing left of me in her
nothing more than a heart still at war
<-*- thomas at apestaart.org -*->
URGent, the best radio on the Internet - 24/7 ! - http://urgent.rug.ac.be/





More information about the gstreamer-devel mailing list