anp27 / gst-dsp

Automatically exported from code.google.com/p/gst-dsp
0 stars 0 forks source link

configure and build gst-dsp-0.10.2 #1

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. call DSP_API=2./configure
2. call make
3.

What is the expected output? What do you see instead?
Compilation.
I see warning : 
cc1: warning: include location "/usr/include/glib-2.0" is unsafe for 
cross-compilation [-Wpoison-system-directories
/tmp/ccGH3BxW.s: Assembler messages:
/tmp/ccGH3BxW.s:79: Error: selected processor does not support ARM mode `rev 
r1,r1'

What version of the product are you using? On what operating system?
gst-dsp-0.10.2 tarball.

Please provide any additional information below.
"Unlike other similar projects there are no dependencies (no openmax, no
libtidspbridge)."
==> Of course you have a dependency on gstreamer that should be the one 
installed for your target and not the host one.
Do you have a tip to satisfy quickly this dependency, or shall we compile it 
with all gstreamer's dependencies ?

Original issue reported on code.google.com by selso.li...@gmail.com on 12 Sep 2012 at 12:52

GoogleCodeExporter commented 8 years ago
So I resolved 2 independant pb :

Dependancy on libgstreamer
---------------------------------------------------------------

- Use an angstrom distrib to get a rootfs with dev files or compile gstreamer 
for your platform.
- before calling configure you must set PKG_CONFIG_PATH to you exported rootfs.

ARM assembler errors 
---------------------------------------------------------------

I got the answer waving around mailing list : 
- My platform is beagleboard omap3 (3630/3530)
- bye default the compiler select an 'generic' processor (I guess armv4).

So just override CFLAGS at configure step like that : 
CFLAGS="-O2 -ggdb -Wall -Wextra -Wno-unused-parameter -Wmissing-prototypes 
-ansi -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp -ftree-vectorize -fPIC 
-DPIC" SN_API=2 DSP_API=2 ./configure

And it compiles.

Subject can be closed.

Original comment by selso.li...@gmail.com on 12 Sep 2012 at 5:18