When compiling DVSDK 3.1 for DM355 using 'make all' I get the following error:
...... some other stuff built successfully .... |
Why?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
When compiling DVSDK 3.1 for DM355 using 'make all' I get the following error:
...... some other stuff built successfully .... |
Why?
Hi Gennadiy,
The Dmai compile options in packages/ti/sdo/dmai/Makefile includes the -Werror flag. This was done to ensure Dmai builds with no warnings. In your case you may want to remove it so that you can proceed with the build, given you do not need sound support anyway.
Best regards,
Vincent
Hi Vincent,
I searched the web for thins message and found similar suggestions. Is it possible to tell the compiler to skip the building of the sound. The reason is that I want to make sure other drivers are build without warnings. Do you know how can I remove the sound from being built?
In the mean time, just ot get going I removed the -Werror flag. As it continued compiling I got the following error:
Compiling obj/linux/Sound_alsa.dm355.o470MV from linux/Sound_alsa.c.. linux/Sound_alsa.c:75: warning: 'setMixerControl' defined but not used Compiling obj/linux/Sound.dm355.o470MV from linux/Sound.c.. Compiling obj/linux/Sound_oss.dm355.o470MV from linux/Sound_oss.c.. Compiling obj/linux/_SysFs.dm355.o470MV from linux/_SysFs.c.. Compiling obj/linux/Time.dm355.o470MV from linux/Time.c.. Compiling obj/linux/_VideoBuf.dm355.o470MV from linux/_VideoBuf.c.. Compiling obj/linux/dm355/Blend.dm355.o470MV from linux/dm355/Blend.c.. Compiling obj/linux/dm355/Ccv_accel.dm355.o470MV from linux/dm355/Ccv_accel.c.. Compiling obj/linux/dm355/Framecopy_accel.dm355.o470MV from linux/dm355/Framecopy_accel.c.. Compiling obj/linux/dm355/Ir.dm355.o470MV from linux/dm355/Ir.c.. linux/dm355/Ir.c:70: error: expected ')' before '*' token make[2]: *** [obj/linux/dm355/Ir.dm355.o470MV] Error 1 make[2]: Leaving directory `/home/vmplanet/dvsdk/dvsdk_3_10_00_19/dmai_2_10_00_12/packages/ti/sdo/dmai' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/vmplanet/dvsdk/dvsdk_3_10_00_19/dmai_2_10_00_12' make: *** [dmai] Error 2 |
Line 70 in that file is highlighted:
/****************************************************************************** * Ir_delete ******************************************************************************/ Int Ir_delete(Ir_Object *hIr) { #ifdef CONFIG_INPUT_DM355EVM return(_Event_Ir_delete(hIr)); #else Dmai_err0("not implemented\n"); return Dmai_ENOTIMPL; #endif } |
What is wrong with the line?
What is Ir? Is that the IR remote control feature implemented through MSP430?
Thank you.
Not sure if I am correct but it looks like in dmai, the Makefile tells compiler to compile all the *.c files it can find in certain directories. So, for now I just renamed the Ir.c to Ir.c.disabled. This kinda worked until it decided that it is time to link the objects during demo application build. That application appears to rely on the IR feature. Since my board will not work with the demo application due to the lack of the user interface (IR remote/MSP430), I just decided to remove the 'demo' from the 'all' list in the main Makefile for the dvsdk.
Let me know if I did something wrong.