Hello,

I have used "make" command in "demos" directory. The result is a folder
called 'dvsdk' into my environment.

Then, I have followed instructions from 'encode.txt'. When I type
'./loadmodules.sh' the output is:

                    insmod: error inserting 'cmemk.ko': -1 Invalid module
format
                    ./mapdmaq: 1: Syntax error: word unexpected (expecting
")")
                    insmod: error inserting 'dm350mmap.ko': -1 Invalid
module format

I don't know what is the problem...

On the other hand, if I want to change the main.c file, How could I compile
the new project? Must I repeat the same steps? Make command?

Thanks



2008/2/27, Mohammad Arif <[EMAIL PROTECTED]>:
>
>  Hello,
>
>
>
> You should use "make" command in "demos" directory. But before that please
> make sure that you have modified ~/dvsdk_1_30_00_23/Rules.mk file to match
> your environment.
>
>
>
> If the ~/dvsdk_1_30_00_23/Rules.mk file is correctly matching your
> environment, the "make" command should be able to build demo apps (encode
> and decode) for you by compiling various files.
>
>
>
>
>
> Thanks,
>
> Arif
> Software Manager
>
> Asia Pacific Tech Labs
> AwoX Pte Ltd
> Website : www.awox.com
>   ------------------------------
>
> *From:* [EMAIL PROTECTED] [mailto:
> [EMAIL PROTECTED] *On Behalf Of *Pepe
> Sanchez
> *Sent:* Wednesday, February 27, 2008 5:14 PM
> *To:* [email protected]
> *Subject:* Encode with DM355
>
>
>
> Hello
>
>
>
> I am trying to compile TI's examples with my DVEVM355.
>
>
>
> I haven't any problem when I make
>
>
>
> arm_v5t_le-gcc hello.c -o hello
>
>
>
> and I can see
>
>
>
> Buongiorno DaVinci!.
>
>
>
>
>
> However, when I try change and compile the example from 
> '~/dvsdk_1_30_00_23/demos/encode', I obtain some mistakes
>
>
>
> I key : arm_v5t_le-gcc main.c -o test
>
>
>
> and the output is:
>
>
>
> _____________________________________________________________________________
>
> main.c:26:27: video/dm355fb.h: No existe el fichero  directorio
>
> main.c:29:21: xdc/std.h: No existe el fichero  directorio
>
> main.c:30:32: ti/sdo/ce/trace/gt.h: No existe el fichero  directorio
>
> main.c:31:33: ti/sdo/ce/CERuntime.h: No existe el fichero  directorio
>
> main.c:32:45: ti/sdo/ce/utils/trace/TraceUtil.h: No existe el fichero  
> directorio
>
> main.c:35:24: rendezvous.h: No existe el fichero  directorio
>
> main.c:36:22: fifoutil.h: No existe el fichero  directorio
>
> main.c:37:19: pause.h: No existe el fichero  directorio
>
> In file included from main.c:39:
>
> display.h:32: error: error de decodificacin antes de "Rendezvous_Handle"
>
> display.h:32: aviso: no hay punto y coma al final del struct o union
>
> display.h:33: aviso: la definicin de datos no tiene tipo o clase de 
> almacenamiento
>
> display.h:34: error: error de decodificacin antes de "hRendezvousPrime"
>
> display.h:34: aviso: la definicin de datos no tiene tipo o clase de 
> almacenamiento
>
> display.h:35: error: error de decodificacin antes de "hPause"
>
> display.h:35: aviso: la definicin de datos no tiene tipo o clase de 
> almacenamiento
>
> display.h:36: error: error de decodificacin antes de "outFifo"
>
> display.h:36: aviso: la definicin de datos no tiene tipo o clase de 
> almacenamiento
>
> display.h:37: error: error de decodificacin antes de "inFifo"
>
> display.h:37: aviso: la definicin de datos no tiene tipo o clase de 
> almacenamiento
>
> display.h:38: aviso: la definicin de datos no tiene tipo o clase de 
> almacenamiento
>
>
>
> How I can add files like  dm355fb.h, xdc/std.h ... to my proyect?
>
>
>
> If i compile 'main.c' I'll obtain the binary file to load in the target? or I 
> may compile all files in the encode folder?
>
>
>
> Thank you very much for your answer.
>
>
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to