Hi,

You should check these files before compiling:
      

- CURRENTCFG.mk (dsplink/config/CURRENTCFG.mk)  This file defines the source 
locations for the build.  export GPPROOT := <path to dsplink>/dsplink/gpp 
export DSPROOT := <path to dsplink>/dsplink/dsp
      
- dsplinkenv.bash (etc/host/scripts/Linux/dsplinkenv.bash)  Change export 
DSPLINK= to reflect the appropriate path to the dsplink tree. This is similar 
to the change made to CURRENTCFG.mk above. Once the file has been changed, 
execute it by running: source dsplinkenv.bash
- osdefs.mk (dsplink/make/Linux/osdefs.mk)

Modify this file so it reflect your system. (Compiler,linker, libs, linux 
source, etc..)

    TsandCs                    Next navigate to the dsplink/gpp/src directory 
and execute:
 make –s debug
 make –s release
 
Regards,
Benjamin


Liu Hua <[EMAIL PROTECTED]> wrote: I recompile the dsplinkk.ko module  with 
linux kernel 2.6.23.  The error occurs as follows:
ERROR: "local_irq_restore" 
[/home/davinci/dvevm_1_10_00_18/dsplink/packages/dsplink//gpp/BUILD/PMGR/BIN/DEBUG/dsplinkk.ko]
 undefined! 
ERROR: "local_irq_save" 
[/home/davinci/dvevm_1_10_00_18/dsplink/packages/dsplink//gpp/BUILD/PMGR/BIN/DEBUG/dsplinkk.ko]
 undefined!

I grep "local_irq_restore", in the dsplink/gpp/src/ directionary, no source 
file includes that string.  
The local_irq_restore is defined in include/linux/irqflags.h which is included 
in include/asm-arm/system.h  in the kernel src tree.    But I don't know where 
to include 
these head files.
Can anybody solve it for me? Thanks very much. 


 _______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


       
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to