[Bug 658259] segfault when cross compiled for windows with mingw64

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Sep 6 02:43:05 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=658259
  GStreamer | gst-ffmpeg | git

--- Comment #3 from Levente Farkas <lfarkas at lfarkas.org> 2011-09-06 09:42:58 UTC ---
the git version still can't be linked on windwos (while libav can be linked)
because of it seems do not add bz2 and pthreads' windows .dll to the link list.

if it's recognized bz2 during configure than it'd have to add to the link
params -lbz2.

and if i do not called with --enable-w32threads (and configure find pthreads)
then it'd have to be linked with -lpthreadGC2

same as in libav.

----------------------
  CCLD   libgstffmpeg.la
*** Warning: Linking the shared library libgstffmpeg.la against the
*** static library ../../gst-libs/ext/libav/libavformat/libavformat.a is not
portable!
*** Warning: Linking the shared library libgstffmpeg.la against the
*** static library ../../gst-libs/ext/libav/libavcodec/libavcodec.a is not
portable!
*** Warning: Linking the shared library libgstffmpeg.la against the
*** static library ../../gst-libs/ext/libav/libavutil/libavutil.a is not
portable!
Creating library file:
.libs/libgstffmpeg.dll.a../../gst-libs/ext/libav/libavformat/libavformat.a(matroskadec.o):
In function `matroska_decode_buffer':
/builddir/build/BUILD/gst-ffmpeg/gst-libs/ext/libav/libavformat/matroskadec.c:979:
undefined reference to `_BZ2_bzDecompressInit at 12'
/builddir/build/BUILD/gst-ffmpeg/gst-libs/ext/libav/libavformat/matroskadec.c:988:
undefined reference to `_BZ2_bzDecompress at 4'
/builddir/build/BUILD/gst-ffmpeg/gst-libs/ext/libav/libavformat/matroskadec.c:991:
undefined reference to `_BZ2_bzDecompressEnd at 4'
../../gst-libs/ext/libav/libavcodec/libavcodec.a(pthread.o): In function
`worker':
/builddir/build/BUILD/gst-ffmpeg/gst-libs/ext/libav/libavcodec/pthread.c:137:
undefined reference to `_pthread_mutex_lock'
/builddir/build/BUILD/gst-ffmpeg/gst-libs/ext/libav/libavcodec/pthread.c:144:
undefined reference to `_pthread_cond_wait'
/builddir/build/BUILD/gst-ffmpeg/gst-libs/ext/libav/libavcodec/pthread.c:152:
undefined reference to `_pthread_mutex_unlock'
/builddir/build/BUILD/gst-ffmpeg/gst-libs/ext/libav/libavcodec/pthread.c:157:
undefined reference to `_pthread_mutex_lock'
/builddir/build/BUILD/gst-ffmpeg/gst-libs/ext/libav/libavcodec/pthread.c:142:
undefined reference to `_pthread_cond_signal'
/builddir/build/BUILD/gst-ffmpeg/gst-libs/ext/libav/libavcodec/pthread.c:148:
undefined reference to `_pthread_mutex_unlock'
----------------------

-- 
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