Skip to contentSkip to conversation

gstreamer-ti fails for target dm6446-evm (TI davinci)

DISCUSSION Bjørn Forsman 3 participants 11 messages Aug 12, 2009 – Sep 6, 2009

lore
Share & tools
lore
#0 lore raw

Hi all,

I'm trying to build 'gstreamer-ti' for the dm6446-evm machine, using the org.openembedded.dev branch (pulled yesterday). The build fails with having undefined references to cairo_*. I tried building 'cairo' and then 'gstreamer-ti' once more, but it did not help. However, 'bitbake gstreamer' works, so it puzzles me that the build fails during gst-plugins-good_0.10.15..bb, which seems, AFAIK, unrelated to the TI specific gstreamer plugin. Below is my build log:

bjornfor@bjornfor-desktop:~/dev/oe-stuff/build$ time bitbake gstreamer-ti
[...snip...]
NOTE: Running task 1323 of 1911 (ID: 271,
/home/bjornfor/dev/oe-stuff/openembedded/recipes/gstreamer/gst-plugins-good_0.10.15.bb,
do_compile)
ERROR: function do_compile failed
ERROR: log data follows
(/home/bjornfor/dev/oe-stuff/build/tmp/work/armv5te-angstrom-linux-gnueabi/gst-plugins-good-0.10.15-r3/temp/log.do_compile.12696)
[...snip...]
| Making all in jpeg
| Making all in libpng
| Making all in tests
| Making all in icles
|   LINK  gdkpixbufsink-test
| /home/bjornfor/dev/oe-stuff/build/tmp/staging/armv5te-angstrom-linux-gnueabi/usr/lib/libgdk-x11-2.0.so:
undefined reference to `cairo_xlib_surface_create_for_bitmap'
| /home/bjornfor/dev/oe-stuff/build/tmp/staging/armv5te-angstrom-linux-gnueabi/usr/lib/libgdk-x11-2.0.so:
undefined reference to `cairo_xlib_surface_set_size'
| /home/bjornfor/dev/oe-stuff/build/tmp/staging/armv5te-angstrom-linux-gnueabi/usr/lib/libpangocairo-1.0.so:
undefined reference to `cairo_show_text_glyphs'
| /home/bjornfor/dev/oe-stuff/build/tmp/staging/armv5te-angstrom-linux-gnueabi/usr/lib/libgdk-x11-2.0.so:
undefined reference to `cairo_xlib_surface_create'
| /home/bjornfor/dev/oe-stuff/build/tmp/staging/armv5te-angstrom-linux-gnueabi/usr/lib/libpangocairo-1.0.so:
undefined reference to `cairo_surface_has_show_text_glyphs'
| collect2: ld returned 1 exit status
| make[3]: *** [gdkpixbufsink-test] Error 1
| make[2]: *** [all-recursive] Error 1
| make[1]: *** [all-recursive] Error 1
| make: *** [all] Error 2
| FATAL: oe_runmake failed
NOTE: Task failed:
/home/bjornfor/dev/oe-stuff/build/tmp/work/armv5te-angstrom-linux-gnueabi/gst-plugins-good-0.10.15-r3/temp/log.do_compile.12696
ERROR: TaskFailed event exception, aborting
ERROR: Build of
/home/bjornfor/dev/oe-stuff/openembedded/recipes/gstreamer/gst-plugins-good_0.10.15.bb
do_compile failed
ERROR: Task 271
(/home/bjornfor/dev/oe-stuff/openembedded/recipes/gstreamer/gst-plugins-good_0.10.15.bb,
do_compile) failed
NOTE: Tasks Summary: Attempted 1322 tasks of which 1322 didn't need to
be rerun and 1 failed.
ERROR: '/home/bjornfor/dev/oe-stuff/openembedded/recipes/gstreamer/gst-plugins-good_0.10.15.bb'
failed

Has gstreamer-ti for dm6446-evm been built successfully in OE before? Any suggestions for a fix?

Best regards,
Bjørn Forsman

#2 lore raw

2009/8/12 Koen Kooi <[email protected]>:

Quoted 6 lines · Bjørn Forsman
Quoted 2 lines

Any suggestions for a fix?

I'm cleaning up the arago updates and plan to push them into OE this week:
http://dominion.thruhere.net/git/cgit.cgi/openembedded/log/?h=koen/dvsdk

That sounds great!

Quoted 2 lines

When that's in it should give you something that at least builds for dm6446-evm.

What are the chances that it will _run_ on the dm6446-evm?

Regards,
Bjørn Forsman

#3 lore raw
Quoted 8 lines · Bjørn Forsman

2009/8/12 Koen Kooi<[email protected]>:

Quoted 6 lines · Bjørn Forsman
Quoted 2 lines

Any suggestions for a fix?

I'm cleaning up the arago updates and plan to push them into OE this week:
http://dominion.thruhere.net/git/cgit.cgi/openembedded/log/?h=koen/dvsdk

Quoted 6 lines

That sounds great!

Quoted 2 lines

When that's in it should give you something that at least builds for dm6446-evm.

What are the chances that it will _run_ on the dm6446-evm?

The chances are quite good, but I won't have access to an actual dm6446-evm for another 3 weeks, so I can't give a solid garantee till then. I do have another dm6446 based board here, though.

regards,

Koen

#5 lore raw
Quoted 7 lines · Bjørn Forsman

2009/8/12 Koen Kooi<[email protected]>

Quoted 5 lines · Bjørn Forsman

Any suggestions for a fix?

Quoted 1 line
Quoted 8 lines
Quoted 5 lines

I'm cleaning up the arago updates and plan to push them into OE this week:
http://dominion.thruhere.net/git/cgit.cgi/openembedded/log/?h=koen/dvsdk

When that's in it should give you something that at least builds for dm6446-evm.

What is the status of the dvsdk branch? Any new ETA on the OE push?

8 days ago :)

http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=bac5eef9c8a73672ee114926011addabb36610eb

regards,

Koen

#6 lore raw

2009/9/3 Koen Kooi <[email protected]>:

Quoted 17 lines · Bjørn Forsman
Quoted 16 lines

2009/8/12 Koen Kooi<[email protected]>

Quoted 11 lines · Bjørn Forsman

 Any suggestions for a fix?

Quoted 1 line

I'm cleaning up the arago updates and plan to push them into OE this week:
http://dominion.thruhere.net/git/cgit.cgi/openembedded/log/?h=koen/dvsdk

When that's in it should give you something that at least builds for dm6446-evm.

Quoted 6 lines
Quoted 1 line

What is the status of the dvsdk branch? Any new ETA on the OE push?

8 days ago :)

http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=bac5eef9c8a73672ee114926011addabb36610eb

Oh, silly me, forgetting to do proper research. Well, thanks!

Best regards,
Bjørn Forsman

#7 lore raw

I updated to the latest and greatest dev branch and still gstreamer-ti fails to build for machine dm6446-evm. It cannot find esd.h:

$ time bitbake gstreamer-ti
...snip...
| Making all in ext
| Making all in annodex
| Making all in esd
|   CC    esdsink.o
| esdsink.c:51:17: error: esd.h: No such file or directory
| esdsink.c: In function 'gst_esdsink_open':
| esdsink.c:200: error: 'esd_server_info_t' undeclared (first use in
this function)
| esdsink.c:200: error: (Each undeclared identifier is reported only once
| esdsink.c:200: error: for each function it appears in.)
| esdsink.c:200: error: 'server_info' undeclared (first use in this function)
| esdsink.c:201: warning: ISO C90 forbids mixed declarations and code
| esdsink.c:215: warning: implicit declaration of function 'esd_open_sound'
| esdsink.c:229: warning: implicit declaration of function 'esd_get_server_info'
...snip...
NOTE: Task failed:
/media/raid/bjornfor/documents/dev/os/linux/oe-stuff/build/tmp/work/armv5te-angstrom-linux-gnueabi/gst-plugins-good-0.10.15-r3/temp/log.do_compile.12787
ERROR: TaskFailed event exception, aborting
ERROR: Build of
/media/raid/bjornfor/documents/dev/os/linux/oe-stuff/openembedded/recipes/gstreamer/gst-plugins-good_0.10.15.bb
do_compile failed
ERROR: Task 271
(/media/raid/bjornfor/documents/dev/os/linux/oe-stuff/openembedded/recipes/gstreamer/gst-plugins-good_0.10.15.bb,
do_compile) failed
NOTE: Tasks Summary: Attempted 1341 tasks of which 1341 didn't need to
be rerun and 1 failed.
ERROR: '/media/raid/bjornfor/documents/dev/os/linux/oe-stuff/openembedded/recipes/gstreamer/gst-plugins-good_0.10.15.bb'
failed

Any suggestions?

Best regards,
Bjørn Forsman

#8 lore raw
Quoted 2 lines · Bjørn Forsman

I updated to the latest and greatest dev branch and still gstreamer-ti fails to build for machine dm6446-evm. It cannot find esd.h:

Yeah,

gstreamer needs a esound in the DEPENDS line.

Bye Henning

#9 lore raw

fixed now with revision fc84d991bc8895d9f6956c9281a01b9b6f0c9284

Bye Henning

#10 lore raw

2009/9/5 Henning Heinold <[email protected]>:

Quoted 1 line

fixed now with revision fc84d991bc8895d9f6956c9281a01b9b6f0c9284

Thanks! It builds now. I'll start testing it on the dm6446-evm on monday.

Regards,
Bjørn Forsman