[gst-devel] Conflicting types of CHAR in gstwindec.c

No spam, please OnayAmspay at 1stconnect.com
Sun Jan 14 08:11:41 CET 2001


Hello,

I'm attempting to make gstreamer-0.1.0 on RedHat 6.1.
I've encountered a couple of problems:

 1. several of the *_sse.s and *_mmx.s files won't assemble, because
they
    have C-style /* ... */ block comments in them, but the assembler 
    appears to not support continuing a comment onto multiple lines.
    I was able to get around that by making each line a separate
comment.
    I can supply a list of affected modules, if you're interested.

2.  Attempting to compile
gstreamer-0.1.0/plugins/avi/wincodec/gstwindec.c
    results in two different typedefs for CHAR.  I haven't found any 
    simple way around this one.  I'd rather not have to make private 
    copies of a large number of header files, to change CHAR to
something 
    else everywhere, if that isn't really needed.  Please let me know
your
    recommendations for this.

Here's a log showing the error on gstwindec.c:

    .  .  .
make[4]: Entering directory
`/opt/src/gstreamer-0.1.0/plugins/avi/wincodec'
    .  .  .
gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/lib/glib/include 
                 -D_REENTRANT -I/usr/X11R6/include
-I/usr/lib/glib/include 
                 -I../../.. -I../../../include -I/usr/lib/glib/include 
                 -D_REENTRANT -I/usr/X11R6/include
-I/usr/lib/glib/include 
                 -I/usr/include/gnome-xml -O6 -Wall -O2 -c gstwindec.c  
                 -fPIC -DPIC -o .libs/gstwindec.lo
In file included from ../../../include/wine/driver.h:8,
                 from gstwindec.c:34:
../../../include/wine/windef.h:159: conflicting types for `CHAR'
/usr/include/gnome-xml/tree.h:53: previous declaration of `CHAR'
    .  .  .

Thanks-
Douglas Wooster




More information about the gstreamer-devel mailing list