Thanks for your help Rob,

 

I edited the Rules.make file in the cmem_2_00_01 directory as follows:

----------------------------------------------------------------------------
----------------------------------------------------------------

# Where to copy the resulting executables and data to (when executing 'make

# install') in a proper file structure. This EXEC_DIR should either be
visible

# from the target, or you will have to copy this (whole) directory onto the

# target filesystem.

EXEC_DIR=/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/target/opt/dvevm

 

 

# The prefix to be added before the GNU compiler tools (optionally including

# path), i.e. "arm_v5t_le-" or "/opt/bin/arm_v5t_le-".

#MVTOOL_PREFIX=/db/toolsrc/library/vendors2005/mvl/arm/mvl4.0-new/montavista
/pro/devkit/arm/v5t_le/bin/arm_v5t_le-

MVTOOL_PREFIX=/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/arm_v5t
_le-

 

# Equivalent path for uClibc compiler tools

#UCTOOL_PREFIX=/db/toolsrc/library/vendors2005/opensource/buildroot/16012006
/staging_dir/arm-linux-uclibc/bin

 

# The directory that points to your kernel source directory. This is used

# for building the cmemk.ko kernel module, as the kernel's build system

# gets invoked. Note that this also means that the below C_FLAGS etc. will

# be ignored when building this particular module.

#LINUXKERNEL_INSTALL_DIR=/db/toolsrc/library/vendors2005/mvl/arm/DaVinci-Lin
ux-Rel_mvl401c/Linux

#LINUXKERNEL_INSTALL_DIR=/db/toolsrc/library/vendors2005/mvl/arm/dm355/REL_T
I_DM355_LSP_120_004/montavista/pro/devkit/lsp/ti-davinci

#LINUXKERNEL_INSTALL_DIR=/home/frivas/workdir/lsp/ti-davinci/

LINUXKERNEL_INSTALL_DIR=/opt/mv_pro_4.0.1/montavista/pro/devkit/lsp/ti-davin
ci

 

# If we're a subcomponent, allow larger product settings to over-ride our

# defaults.

-include ../../../../../../../../Rules.make

 

 

# Whether or not to use the udev pseudo filesystem to generate the /dev

# filesystem for cmem. This depends on your kernel configuration. If udev is

# not used, the /dev/cmem file has to be created manually using mknod.

USE_UDEV=1

 

# The maximum number of memory pools for cmem.

MAX_POOLS=128

----------------------------------------------------------------------------
----------------------------------------------------------------

 

 

This still gave me errors.  Do you know what can be wrong?

Here is my terminal screen with the error:

 

----------------------------------------------------------------------------
----------------------------------------------------------------

 [EMAIL PROTECTED] dvsdk_1_30_01_41]# make

 

Making all in subdirectory
/home/frivas/dvsdk_1_30_01_41/cmem_2_00_01/packages/ti/sdo/linuxutils/cmem/s
rc/module...

make[1]: Entering directory
`/home/frivas/dvsdk_1_30_01_41/cmem_2_00_01/packages/ti/sdo/linuxutils/cmem/
src/module'

make -C
/opt/mv_pro_4.0.1/montavista/pro/devkit/lsp/ti-davinci_evm-arm_v5t_le/linux-
2.6.10_mvl401 M=`pwd` ARCH=arm CROSS_COMPILE=/opt/mv_pr/bin/arm_v5t_le-
\/pro/devkit/arm/v5t_le

        EXTRA_CFLAGS="-DUSE_UDEV=1 -DMAX_POOLS=128" modules

make[2]: Entering directory
`/opt/mv_pro_4.0.1/montavista/pro/devkit/lsp/ti-davinci_evm-arm_v5t_le/linux
-2.6.10_mvl401'

  CC [M]
/home/frivas/dvsdk_1_30_01_41/cmem_2_00_01/packages/ti/sdo/linuxutils/cmem/s
rc/module/cmemk.o

/bin/arm_v5t_le-gcc: No such file or directoryit/arm/v5t_le

make[3]: ***
[/home/frivas/dvsdk_1_30_01_41/cmem_2_00_01/packages/ti/sdo/linuxutils/cmem/
src/module/cmemk.o] Error 1

make[2]: ***
[_module_/home/frivas/dvsdk_1_30_01_41/cmem_2_00_01/packages/ti/sdo/linuxuti
ls/cmem/src/module] Error 2

make[2]: Leaving directory
`/opt/mv_pro_4.0.1/montavista/pro/devkit/lsp/ti-davinci_evm-arm_v5t_le/linux
-2.6.10_mvl401'

make[1]: *** [release] Error 2

make[1]: Leaving directory
`/home/frivas/dvsdk_1_30_01_41/cmem_2_00_01/packages/ti/sdo/linuxutils/cmem/
src/module'

make: ***
[/home/frivas/dvsdk_1_30_01_41/cmem_2_00_01/packages/ti/sdo/linuxutils/cmem/
src/module] Error 2

[EMAIL PROTECTED] dvsdk_1_30_01_41]#

 

----------------------------------------------------------------------------
----------------------------------------------------------------

 

 

 

 

 

Thanks

Panchy Rivas

 

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

Reply via email to