Error while compiling OpenJFX on Ubuntu 14.04
Navdeep Singh Sidhu
navdeepsingh.sidhu95 at gmail.com
Thu Oct 16 18:05:03 UTC 2014
Hello,
I am new to OpenJFX mailing list and also to OpenJFX, i'm trying to compile
Openjfx on Ubuntu 14.04 and getting this error. Is there anyway i can solve
this ??
make: Leaving directory
`/home/nika/openjfx/bak/modules/media/src/main/native/gstreamer/projects/linux/fxplugins'
:media:buildAVPlugin
make: Entering directory
`/home/nika/openjfx/bak/modules/media/src/main/native/gstreamer/projects/linux/avplugin'
gcc -fPIC -Werror=implicit-function-declaration -msse2 -fbuiltin
-DHAVE_STDINT_H -DLINUX -DGST_DISABLE_LOADSAVE -DGSTREAMER_LITE -Os
-I../../../plugins -I../../../plugins/av
-I../../../gstreamer-lite/gstreamer
-I../../../gstreamer-lite/gstreamer/libs -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -c
../../../plugins/av/decoder.c -o
/home/nika/openjfx/bak/modules/media/build/native/linux/Release/obj/plugins/avplugin/av/decoder.o
../../../plugins/av/decoder.c: In function ‘basedecoder_open_decoder’:
../../../plugins/av/decoder.c:94:5: warning:
‘g_static_mutex_get_mutex_impl’ is deprecated (declared at
/usr/include/glib-2.0/glib/deprecated/gthread.h:150): Use 'GMutex' instead
[-Wdeprecated-declarations]
g_static_mutex_lock(&avlib_lock);
^
../../../plugins/av/decoder.c:118:17: error: implicit declaration of
function ‘av_free’ [-Werror=implicit-function-declaration]
av_free(decoder->context);
^
../../../plugins/av/decoder.c:128:5: warning:
‘g_static_mutex_get_mutex_impl’ is deprecated (declared at
/usr/include/glib-2.0/glib/deprecated/gthread.h:150): Use 'GMutex' instead
[-Wdeprecated-declarations]
g_static_mutex_unlock(&avlib_lock);
^
cc1: some warnings being treated as errors
make: ***
[/home/nika/openjfx/bak/modules/media/build/native/linux/Release/obj/plugins/avplugin/av/decoder.o]
Error 1
make: Leaving directory
`/home/nika/openjfx/bak/modules/media/src/main/native/gstreamer/projects/linux/avplugin'
:media:buildAVPlugin FAILED
FAILURE: Build failed with an exception.
* Where:
Build file '/home/nika/openjfx/bak/build.gradle' line: 2157
* What went wrong:
Execution failed for task ':media:buildAVPlugin'.
> Process 'command 'make'' finished with non-zero exit value 2
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or
--debug option to get more log output.
BUILD FAILED
Total time: 8.674 secs
thanks in advance
More information about the openjfx-dev
mailing list