Jump to content


Photo

Unable to compile gst-1.0 branch


  • Please log in to reply
249 replies to this topic

Re: Unable to compile gst-1.0 branch #21 littlesat

  • PLi® Core member
  • 56,274 posts

+691
Excellent

Posted 25 January 2014 - 15:14

????

The gstreamer branch is far behind...


WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Unable to compile gst-1.0 branch #22 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 25 January 2014 - 15:15

And with my changes , it does build but still with gst 0.1 and not 1.xxx



Re: Unable to compile gst-1.0 branch #23 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 25 January 2014 - 15:26

Well it even does not build (which is logic due to enigma2.bb and gst-subsink and dvbmedia-sink). Somehow something extra is still missing


Edited by christophecvr, 25 January 2014 - 15:27.


Re: Unable to compile gst-1.0 branch #24 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 25 January 2014 - 15:57

Hi guys,

 

I think the best option is to put gstreamer 1.0.7 (because that version works for sure) into master branch and also apply patches for dvbmediank (OpenPLi one).

 

PS. I tried to compile 1.2.2 (exists in OE) but it doesn't compile.


Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: Unable to compile gst-1.0 branch #25 Erik Slagter

  • PLi® Core member
  • 46,960 posts

+541
Excellent

Posted 25 January 2014 - 16:17

????

The gstreamer branch is far behind...

Yes, we already established that some time ago...

 

But "merging" a "master" branch into a "derived" branch???


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: Unable to compile gst-1.0 branch #26 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 25 January 2014 - 17:07

Hi,

 

Here is gstreamer 1.0.7 for master branch! (just extract files on meta-local)

 

41.tar.gz contains patched dvbmediasink, dvbmediasink from meta-local uses that.

 

I compiled sucessfully gstreamer, gstreamer-libav, gst-plugins-base/good/bad/ugly and gst-plugin-dvbmediasink!

 

PS. In order to use local dvbmediasink rename the existing one into txt and change vu/dreambox to use OpenPLi dvbmediasink...

Attached Files


Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: Unable to compile gst-1.0 branch #27 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 26 January 2014 - 12:43

ok that work around of athoik work's. It might be ussefull for very limited persons and only very limited applications. Reading more about the gstreamer, if migrating to 1.0 the latest version should be used. Whitout that there always will be very few applications avbl and especially the codecs will be a problem.

 

Gstreamer 1.2.2 itself does build very well. But the problem are the plugins-base from openembedded are not building . Then it's pretty usseless.



Re: Unable to compile gst-1.0 branch #28 theparasol

  • Senior Member
  • 4,157 posts

+198
Excellent

Posted 26 January 2014 - 12:49

True, and for xp1000 it doesnt work "out-of-the-box" but I can use his  change suggestions to adopt to latest gstreamer.

Indeed big impact on plugins. I wasnt realizing it till now. Before I thought they just call some function in enigma and start to play a certain object.

So more rework is needed. Perhaps the reason a more recent gstreamer hasnt show up already ;)


@Camping: ZGemma H.2S, Technisat Multytenne 4-in-1 @Home: Edision Mini 4K, Wave Frontier T55, EMP Centauri EMP DiSEqC 8/1 switch, 4x Inverto Ultra Black single LNB


Re: Unable to compile gst-1.0 branch #29 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 26 January 2014 - 13:39

I have here the faillog of build gstreamer1.0-plugins-base_1.2.2.bb  (gstreamer1.0_1.2.2 is build ok)

 

Seems somewhere a small typo or so or wrong link, but which ?? that's the problem :(

 

 

Attached Files



Re: Unable to compile gst-1.0 branch #30 theparasol

  • Senior Member
  • 4,157 posts

+198
Excellent

Posted 26 January 2014 - 14:00

--sysroot=/home/christophe/openpli40gst/openpli-oe-core/build/tmp/sysroots/vuduo2  -c  -Os -pipe -g -feliminate-unused-debug-types  conftest.c >&5
conftest.c:87:29: error: expected ';', ',' or ')' before 'text'
 test_restrict (ccp restrict text)
                             ^
conftest.c: In function 'main':
conftest.c:141:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'newvar'
   char *restrict newvar = "Another string";
                  ^
conftest.c:141:18: error: 'newvar' undeclared (first use in this function)
conftest.c:141:18: note: each undeclared identifier is reported only once for each function it appears in
conftest.c:151:3: error: 'for' loop initial declarations are only allowed in C99 mode
   for (int i = 0; i < ia->datasize; ++i)
   ^
conftest.c:151:3: note: use option -std=c99 or -std=gnu99 to compile your code
configure:17635: $? = 1
configure: failed program was:
| /* confdefs.h */


@Camping: ZGemma H.2S, Technisat Multytenne 4-in-1 @Home: Edision Mini 4K, Wave Frontier T55, EMP Centauri EMP DiSEqC 8/1 switch, 4x Inverto Ultra Black single LNB


Re: Unable to compile gst-1.0 branch #31 WanWizard

  • PLi® Core member
  • 68,614 posts

+1,739
Excellent

Posted 26 January 2014 - 14:11

restrict is fairly new, and requires c99 ?


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Unable to compile gst-1.0 branch #32 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 26 January 2014 - 15:07

If you have access to the source code you can rewrite it to:
int i;
for (i = 0; i < ia->datasize; ++i)
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Unable to compile gst-1.0 branch #33 Erik Slagter

  • PLi® Core member
  • 46,960 posts

+541
Excellent

Posted 26 January 2014 - 15:17

Not good coding practise to use c99 in such a generic piece of code, imho. OTOH maybe cán change the compilerflags to allow c99, but it thought that was the job of configure?


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: Unable to compile gst-1.0 branch #34 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 26 January 2014 - 15:19

Otherwise try to add
-std=c99
as extra compile option in bitbake file (how exactly I don't know...)
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Unable to compile gst-1.0 branch #35 Erik Slagter

  • PLi® Core member
  • 46,960 posts

+541
Excellent

Posted 27 January 2014 - 15:24

 

????

The gstreamer branch is far behind...

Yes, we already established that some time ago...

 

But "merging" a "master" branch into a "derived" branch???

Ah you mean REBASE.


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: Unable to compile gst-1.0 branch #36 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 28 January 2014 - 10:51

Not good coding practise to use c99 in such a generic piece of code, imho. OTOH maybe cán change the compilerflags to allow c99, but it thought that was the job of configure?

Yes that is a job off configure. By the gstreamer1.0_1.2.2.2 self in work can be seen that configure add's the -std=gnuc99. (and it does configure and compile)

But with the gstreamer1.0-plugins-base_1.2.2.2 in work can be seen that the configure file does not have this extra add .

 

How to solve that I don't know



Re: Unable to compile gst-1.0 branch #37 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 28 January 2014 - 11:37

Try to add or adapt
EXTRA_OECONF += "-std=gnuc99"
to bb file.
Like here:
http://sourceforge.n...se_0.10.36.1.bb
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Unable to compile gst-1.0 branch #38 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 28 January 2014 - 12:17

Try to add or adapt
EXTRA_OECONF += "-std=gnuc99"
to bb file.
Like here:
http://sourceforge.n...se_0.10.36.1.bb

Thank's I already tested by temporarely changing the config and added the std=gnu99  (c99 was typo) But then other error's show up.

 

However I go no try out by first remove the package with cleanall and then adapt the .bb file and retry.



Re: Unable to compile gst-1.0 branch #39 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 28 January 2014 - 12:19

I tried That way but it's not correct.

 

I think well it's possible trough EXTRA_OECONF + = "  xxx"

 

But I t's a cflag which must be added there is a way just can't find it anymore



Re: Unable to compile gst-1.0 branch #40 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 28 January 2014 - 12:32

Maybe like this:

 

CFLAGS += "-std=gnu99"

 
Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users