[Bug 658251] New: cross compile error

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Sep 5 06:02:08 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=658251
  GStreamer | gst-plugins-bad | git

           Summary: cross compile error
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: lfarkas at lfarkas.org
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


when i try to cross compile bad on linux with mingw64 for win32 i've got the
error bellow. probably the code is good with mingw32 however it's fail when
compiled with mingw64.
please do not define WINVER on mingw64.
---------------------------------------
libtool: compile:  i686-w64-mingw32-gcc -std=gnu99 -DHAVE_CONFIG_H -I.
-I../../../gst/dccp -I../.. -I/usr/i686-w64-mingw32/sys-root/mingw/include
-mms-bitfields -I/usr/i686-w64-mingw32/sys-root/mingw/include
/gstreamer-0.10 -I/usr/i686-w64-mingw32/sys-root/mingw/include/glib-2.0
-I/usr/i686-w64-mingw32/sys-root/mingw/lib/glib-2.0/include
-I/usr/i686-w64-mingw32/sys-root/mingw/include/libxml2 -DG_THREADS_MANDATOR
Y -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT -Wall
-Wdeclaration-after-statement -Wvla -Wpointer-arith -Wmissing-declarations
-Wmissing-prototypes -Wredundant-decls -Wwrite-strings -Wformat-security
-Wold-st
yle-definition -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar
-Wnested-externs -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
--param=ssp-buffer-size=4 -mms-bitfields -MT libgstdccp_
la-gstdccpplugin.lo -MD -MP -MF .deps/libgstdccp_la-gstdccpplugin.Tpo -c
../../../gst/dccp/gstdccpplugin.c  -DDLL_EXPORT -DPIC -o
.libs/libgstdccp_la-gstdccpplugin.o
In file included from ../../../gst/dccp/gstdccpclientsrc.h:29:0,
                 from ../../../gst/dccp/gstdccpplugin.c:24:
../../../gst/dccp/gstdccp_common.h:32:0: warning: "WINVER" redefined
/usr/i686-w64-mingw32/sys-root/mingw/include/_mingw.h:240:0: note: this is the
location of the previous definition
In file included from ../../../gst/dccp/gstdccpplugin.c:24:0:
../../../gst/dccp/gstdccpclientsrc.h:58:3: error: expected
specifier-qualifier-list before 'uint8_t'
In file included from ../../../gst/dccp/gstdccpplugin.c:25:0:
../../../gst/dccp/gstdccpserversink.h:74:3: error: expected
specifier-qualifier-list before 'uint8_t'
In file included from ../../../gst/dccp/gstdccpplugin.c:26:0:
../../../gst/dccp/gstdccpclientsink.h:67:3: error: expected
specifier-qualifier-list before 'uint8_t'
In file included from ../../../gst/dccp/gstdccpplugin.c:27:0:
../../../gst/dccp/gstdccpserversrc.h:58:3: error: expected
specifier-qualifier-list before 'uint8_t'
make[3]: *** [libgstdccp_la-gstdccpplugin.lo] Error 1
make[3]: Leaving directory
`/builddir/build/BUILD/gst-plugins-bad-0.10.22/build_win32/gst/dccp'
make[2]: Leaving directory
`/builddir/build/BUILD/gst-plugins-bad-0.10.22/build_win32/gst'
make[2]: *** [dccp] Error 2
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/builddir/build/BUILD/gst-plugins-bad-0.10.22/build_win32'
make: Leaving directory
`/builddir/build/BUILD/gst-plugins-bad-0.10.22/build_win32'
---------------------------------------

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list