Ramesh,

Your UCTOOL_PREFIX macro is commented out.  This is preventing the uClibc build 
of the src/interface library, and it looks like the failure is stopping the 
build and therefore not even getting around to the cmemk.ko build.  Your 
cmemk.ko build will just use the MVTOOL_PREFIX (we don't build it w/ uClibc 
since that's a user-level lib).

- Rob

________________________________
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ramesh
Sent: Thursday, September 25, 2008 11:24 PM
To: davinci-linux-open-source@linux.davincidsp.com
Subject: ememk.ko build error


Hi all,

I am facing an problem in when I wanted to run DM6467 demo code.
I have build the  Server and application side. But I am not able to build the 
cmemk.ko file.

When I wanted to build cmem, getting the following error.

Error Message : 
##########################################################################################################
[EMAIL PROTECTED] cmem]# gmake

Making all in subdirectory src...

gmake[1]: Entering directory 
`/home/Ramesh/dvsdk_1_40_00_11/cmem_2_00/packages/ti/sdo/linuxutils/cmem/src'

Making all in subdirectory interface...

gmake[2]: Entering directory 
`/home/Ramesh/dvsdk_1_40_00_11/cmem_2_00/packages/ti/sdo/linuxutils/cmem/src/interface'

/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/arm_v5t_le-gcc -I. -Wall 
-c -g -D__DEBUG -o debug/cmem.o cmem.c

/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/arm_v5t_le-ar rc 
../../lib/cmemd.a debug/cmem.o

Installing headers...

/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/arm_v5t_le-gcc -I. -Wall 
-c -O2 -o release/cmem.o cmem.c

/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/arm_v5t_le-ar rc 
../../lib/cmem.a release/cmem.o

/gcc -c -g -I. -Wall -o debug/cmem.o470uC cmem.c

gmake[2]: /gcc: Command not found

gmake[2]: *** [debuguc] Error 127

gmake[2]: Leaving directory 
`/home/Ramesh/dvsdk_1_40_00_11/cmem_2_00/packages/ti/sdo/linuxutils/cmem/src/interface'

gmake[1]: *** [interface] Error 2

gmake[1]: Leaving directory 
`/home/Ramesh/dvsdk_1_40_00_11/cmem_2_00/packages/ti/sdo/linuxutils/cmem/src'

gmake: *** [src] Error 2

###################################################################################################################


My setting :
EXEC_DIR=/home/Ramesh/tmp6467

# 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=/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=/db/toolsrc/library/vendors2005/mvl/arm/dm6467/REL_DM700_LINUX_PSP_0.4.0/Linux

LINUXKERNEL_INSTALL_DIR=/opt/mv_pro_4.0.1/montavista/pro/devkit/lsp/ti-davinci
#######################################################################################################
And I did not change the Makefile.

I am not able to locate the error.

Help me , if I am doing something wrong.

Thanks
Ramesh.
_______________________________________________
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to