jadonk / rowboat

Automatically exported from code.google.com/p/rowboat
0 stars 0 forks source link

Failed to build Android with TI DSP stack #19

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.make TARGET_PRODUCT=beagleboard BUILD_WITH_GST=true dvsdk
2.
3.

What is the expected output? What do you see instead?

Build should be finished successfully. But it failed with an error message
"..../external/ti-dsp/dvsdk_3_00_02_44/cg6x/bin/cl6x: not found" while
compiling the failure.c file.

What version of the product are you using? On what operating system?

I'm using beagleboard C3 and compiling the suit on ubuntu 8.04.

Please provide any additional information below.

I have tried two ways to compile the suit but each way failed at the same
place:

1): Put pre-downloaded DVSDK under the external/ti-dsp folder. And check
out the TIGStreamerPlugins using the command line:

# svn checkout -r 506 --username anonymous --password "" -q
https://gstreamer.ti.com/svn/gstreamer_ti/trunk/gstreamer_ti

The DVSDK includes dvsdk_setuplinux_3_00_02_44.bin,
cs1omap3530_setuplinux_1_00_01-44.bin, xdctools_setuplinux_3_15_01_59.bin,
bios_setuplinux_5_33_06.bin, TI-C6x-CGT-v6.0.16.1.bin

Then use the following command to build the suit:

make TARGET_PRODUCT=[omap3evm | beagleboard] BUILD_WITH_GST=true dvsdk

2): Remove the above DVSDK files from the external/ti-dsp folder and
directly type the following command:

make TARGET_PRODUCT=[omap3evm | beagleboard] BUILD_WITH_GST=true dvsdk

It does automatically download DVSDK and TIGStremear Plugins then start
building, but fails when while compiling the failure.c file.

Original issue reported on code.google.com by shermanhng@gmail.com on 20 Dec 2009 at 7:58

GoogleCodeExporter commented 9 years ago
I have just found the problem: the get_tidsp.sh script executes the 
install_cg6x.exp
that needs the expect tool to interpret. After installation of the expect tool 
and
manually executing the install_cg6x.exp, I can see the
..../external/ti-dsp/dvsdk_3_00_02_44/cg6x/bin/cl6x now.

Original comment by shermanhng@gmail.com on 20 Dec 2009 at 8:54

GoogleCodeExporter commented 9 years ago
I found it always failed when compiling the mp3dec codec with the following 
error
message:

======== .interfaces [packages/ti/sdo/codecs/mp3dec] ========
package.mak:17: *** target pattern contains no `%'.  Stop.
gmake: *** [packages/ti/sdo/codecs/mp3dec,.interfaces] Error 2
gmake[2]: *** [.all-packages] Error 2

I have tried many time, and each time it failed at the same place. I referred 
the
link 
http://wiki.davincidsp.com/index.php/How_do_I_Integrate_new_codecs_into_DVSDK
that mentions about the same error in Troubleshooting section, but I still 
haven't
any idea for that.

Original comment by shermanhng@gmail.com on 21 Dec 2009 at 9:09

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I can't use this command to get the source because it always turns to be 
offline.
So I clone all source module from http://gitorious.org/rowboat one by one.
But there is no Makefile which should be under the Android source root 
directory on 
that site.So I copy that file from <Android root>/build/core/root.mk to 
<Android 
root>,and change its name to Makefile.then I use the following command:
#cd <Android root>
#make TARGET_PRODUCT= beagleboard BUILD_WITH_GST=true dvsdk
then,I get a erorr message:
no rules to make dvsdk
Anyone can tell me why ?

Original comment by jinkui...@gmail.com on 23 Jan 2010 at 3:33

GoogleCodeExporter commented 9 years ago
 Hi All,
I am also facing problem in building Android with TI DSP stack.
When I use the command:
$cd <rowboat>
$make TARGET_PRODUCT= beagleboard BUILD_WITH_GST=true dvsdk

I get error message no rules to make dvsdk.But the <rowboat> folder is having a
MakeFile which in turn includes '/build/core/main.mk'.

Can anyone help pls.

Original comment by hemavarr...@gmail.com on 25 Jan 2010 at 10:18

GoogleCodeExporter commented 9 years ago
Hi all,
When i use the command
make TARGET_PRODUCT= beagleboard BUILD_WITH_GST=true dvsdk

I am getting the error message

gmake[5]: Entering directory
`/Data/android_omap_link/external/ti-dsp/dvsdk_3_00_02_44/dsplink_1_61_03/packag
es/dsplink/dsp/src/base/gen'
echo Compiling failure.c...
Compiling failure.c..
...
 line 20: fatal error #5: could not open source file "std.h"
  #include <std.h>

.When I search for it, I could find std.h in 
(Root)/external/ti-dsp/dvsdk_3_00_02_44/xdctools_3_15_01_59/packages/gnu/targets
/std.h
How can I add the path while building?
Please help me where to update the path ?

Original comment by gg.mahal...@gmail.com on 29 Jan 2010 at 6:46

GoogleCodeExporter commented 9 years ago
I recreated a new folder, followed the instructions described on
http://code.google.com/p/rowboat/wiki/DSP page, then built the package. This 
time I
succeeded. Not sure why it always failed to be built before.

Original comment by shermanhng@gmail.com on 4 Feb 2010 at 8:02