Error while compiling OpenJFX on Ubuntu 14.04

Navdeep Singh Sidhu navdeepsingh.sidhu95 at gmail.com
Thu Oct 16 18:32:59 UTC 2014


OK Thanks sir, btw i'm trying to package Openjdk8 with OpenJFX for debian
ppa (launchpad), which branch you will suggest, appropriate for packaging
and deployment purposes. :)

On Thu, Oct 16, 2014 at 11:56 PM, Kevin Rushforth <
kevin.rushforth at oracle.com> wrote:

>  That is a stable repo for the previous (8u20) release and is frozen
> following that release. 8u-dev is the current development branch and
> contains many bug fixes targeted for 8u40 that are not in 8u20. In
> particular, you will be interested in this one:
>
> RT-37914 <https://javafx-jira.kenai.com/browse/RT-37914>:  [Linux] JavaFX
> Media does not run on Ubuntu 14.04
>
>
> -- Kevin
>
>
> Navdeep Singh Sidhu wrote:
>
> No from here
>
>  http://hg.openjdk.java.net/openjfx/8u20/rt
>
>  Is this unstable repo ??
>
> On Thu, Oct 16, 2014 at 11:40 PM, Kevin Rushforth <
> kevin.rushforth at oracle.com> wrote:
>
>> Are you trying to build the 8u-dev/rt repo? You should be cloning from
>> here:
>>
>> http://hg.openjdk.java.net/openjfx/8u-dev/rt
>>
>> Are you building from the latest tip (or at least something within the
>> last couple of weeks)?
>>
>> -- Kevin
>>
>>
>>
>> Navdeep Singh Sidhu wrote:
>>
>> 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