All tests fail when building r613

213 views
Skip to first unread message

Fredrik Wigert

unread,
Aug 20, 2013, 4:28:27 AM8/20/13
to gstream...@googlegroups.com
Hi!

I've been trying to build latest gstreamer-java in the following ways:
Windows 8 64bits
Linux Mint 64bits

JNA 3.5.1
JNA 3.4.0

gstreamer 1.0.9
gstreamer 1.0.7
gstreamer 1.0.5

It always gives me this error on all tests:

Running org.gstreamer.EnumTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.354 sec <<< FAILURE!
org.gstreamer.EnumTest  Time elapsed: 0.354 sec  <<< ERROR!
java.lang.UnsatisfiedLinkError: Error looking up function 'gst_date_get_type': /usr/local/lib/libgstreamer-1.0.so: undefined symbol: gst_date_get_type
        at com.sun.jna.Function.<init>(Function.java:179)
        at com.sun.jna.NativeLibrary.getFunction(NativeLibrary.java:391)
        at com.sun.jna.NativeLibrary.getFunction(NativeLibrary.java:371)
        at com.sun.jna.Library$Handler.invoke(Library.java:205)
        at com.sun.proxy.$Proxy10.gst_date_get_type(Unknown Source)
        at org.gstreamer.glib.GDate.<clinit>(GDate.java:40)
        at sun.misc.Unsafe.ensureClassInitialized(Native Method)
        at sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessorFactory.java:43)
        at sun.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:140)
        at java.lang.reflect.Field.acquireFieldAccessor(Field.java:1057)
        at java.lang.reflect.Field.getFieldAccessor(Field.java:1038)
        at java.lang.reflect.Field.get(Field.java:379)
        at org.gstreamer.Gst.getField(Gst.java:447)
        at org.gstreamer.Gst.registerClass(Gst.java:460)
        at org.gstreamer.Gst.loadAllClasses(Gst.java:471)
        at org.gstreamer.Gst.init(Gst.java:338)
        at org.gstreamer.EnumTest.setUpClass(EnumTest.java:43)



Anything I'm missing here?


Thank you so much for any help here.

Best regards,
Fredrik Wigert

Neil C Smith

unread,
Aug 20, 2013, 8:38:15 AM8/20/13
to gstream...@googlegroups.com
Hi,

On 20 August 2013 09:28, Fredrik Wigert <wig...@gmail.com> wrote:
...
> gstreamer 1.0.9
> gstreamer 1.0.7
> gstreamer 1.0.5
...
>
> Anything I'm missing here?
>

Yes, GStreamer 1.0 isn't supported yet (this is mentioned on the front
page). You need to install GStreamer 0.10 series and build against
that.

Best wishes,

Neil


--
Neil C Smith
Artist : Technologist : Adviser
http://neilcsmith.net

Praxis LIVE - open-source intermedia development - www.praxislive.org
Digital Prisoners - interactive spaces and projections -
www.digitalprisoners.co.uk
OpenEye - the web, managed - www.openeye.info

Fredrik Wigert

unread,
Aug 21, 2013, 5:20:10 AM8/21/13
to gstream...@googlegroups.com
Yes, but that's not what the change history says. I believe others have made it work when building latest?
There's a fixed bug report, but maybe it only enables trying to run 1.0...

Thanks for fast response!

Neil C Smith

unread,
Aug 21, 2013, 6:53:02 AM8/21/13
to gstream...@googlegroups.com
On 21 August 2013 10:20, Fredrik Wigert <wig...@gmail.com> wrote:
> Yes, but that's not what the change history says. I believe others have made
> it work when building latest?
> There's a fixed bug report, but maybe it only enables trying to run 1.0...

There's no way the revisions made there deal with all the changes in
this document -
http://cgit.freedesktop.org/gstreamer/gstreamer/tree/docs/random/porting-to-1.0.txt

I'm not even sure how feasible it would be to support 0.10 and 1.0
from the same code base, or if anyone's working on it?

The GStreamer.com binaries are still based on 0.10 too, which IMO
makes it important not to switch to only supporting 1.0 at any time
soon.
Reply all
Reply to author
Forward
0 new messages