Did you modify the makefile itself?  This line is messed up:

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

In particular, after the "arm_v5t_le- \" there is some trailing path info 
(/pro/devkit/arm/v5t_le).  Where did that come from?  Also, why does the 
CROSS_COMPILE path not match your MVTOOL_PREFIX?  Here is the line from the 
makefile:

debug:
        make -C $(LINUXKERNEL_INSTALL_DIR) M=`pwd` $(MAKE_ENV) \
                EXTRA_CFLAGS="$(EXTRA_CFLAGS)" modules

And in that same makefile the MAKE_ENV var is defined as:

MAKE_ENV = ARCH=arm CROSS_COMPILE=$(MVTOOL_PREFIX)

Brad

________________________________________
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Panchy Rivas
Sent: Wednesday, August 06, 2008 9:31 AM
To: [email protected]
Subject: Problem Rebuilding the DVSDK Software for the Target

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-Linux-Rel_mvl401c/Linux
#LINUXKERNEL_INSTALL_DIR=/db/toolsrc/library/vendors2005/mvl/arm/dm355/REL_TI_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-davinci

# 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/src/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/src/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/linuxutils/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