Here is the output when I run xdc in verbose mode. I still don't
understand why I get the error messages:

 

#! /bin/sh --verbose

 

#  import install paths

#  putting the first period before the shell invokation keeps the
changes

#      to environment variables set here. Otherwise, changes to
environment

#      are only within the context of the executed script

. ../setpaths.sh

#! /bin/sh

 

######## Uncomment the following line for verbose XDC builds##########

 

#export XDCOPTIONS="-v"

 

############# Absolute Paths, must be set for each system #############

 

# The installation directory of the DVEVM software

export DVEVM_INSTALL_DIR="/home/alex/dvevm_1_10"

 

# Installation directory of the software development kit (may be same as
above)

#export SDK_INSTALL_DIR="/home/alex/dvevm_1_10"

 

# where the BIOS tools are installed

#export BIOS_INSTALL_DIR="$SDK_INSTALL_DIR/bios_5_30"

 

# where the Montavista lsp is installed

export MONTAVISTA_DEVKIT="/opt/mv_pro_4.0/montavista/pro/devkit"

 

# where the C6000 code generation tools are installed

#export C6000_CG="$SDK_INSTALL_DIR/cg6x_6_0_3"

 

###### In most cases, the following do not need modification #########

 

# Where the Codec Engine package is installed.

export CE_INSTALL_DIR="$DVEVM_INSTALL_DIR/codec_engine_1_02"

 

# Where the XDAIS package is installed.

export XDAIS_INSTALL_DIR="$DVEVM_INSTALL_DIR/xdais_5_00"

 

# Where the DSP Link package is installed.

export DSPLINK_INSTALL_DIR="$DVEVM_INSTALL_DIR/dsplink_1_30_08_02"

 

# Where the CMEM (contiguous memory allocator) package is installed.

export CMEM_INSTALL_DIR="$DVEVM_INSTALL_DIR/cmem_1_01"

 

# Where the RTSC tools package is installed.

export XDC_INSTALL_DIR="$DVEVM_INSTALL_DIR/xdctools_1_21"

 

# Where the framework components are installed

#export FC_INSTALL_DIR="$SDK_INSTALL_DIR/framework_components_1_00_03"

 

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

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

export MVTOOL_PREFIX="$MONTAVISTA_DEVKIT/arm/v5t_le/bin/arm_v5t_le-"

 

# 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.

export EXEC_DIR="/home/alex/workdir/filesys/opt/workshop"

 

export PATH="$XDC_INSTALL_DIR:$PATH"

 

#  Define search paths for included packages

export XDCPATH="$CE_INSTALL_DIR/packages"

 

#  Define options for execution

export XDCBUILDCFG=$(pwd)"/../config.bld"

pwd

 

#  Execute xdc command to make all packages

xdc $@ -P *

making all: Mon Nov 19 11:03:27 GMT 2007 ...

======== .interfaces [app/] ========

making package.mak (because of package.bld) ...

.interfaces files complete: Mon Nov 19 11:03:29 GMT 2007.

======== .libraries [app/] ========

.libraries files complete: Mon Nov 19 11:03:29 GMT 2007.

======== .dlls [app/] ========

.dlls files complete: Mon Nov 19 11:03:29 GMT 2007.

======== .executables [app/] ========

lnk470MV app_release.x470MV ...

/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/bin/../target/usr/lib/c
rt1.o(.text+0x30): In function `_start':

../sysdeps/arm/elf/start.S:99: undefined reference to `main'

collect2: ld returned 1 exit status

gmake[1]: *** [app_release.x470MV] Error 1

gmake: *** [app/,.executables] Error 2

[EMAIL PROTECTED]:~/workshop/lab05b_extended_features$ ./runxdc.sh 

making all: Mon Nov 19 11:05:27 GMT 2007 ...

======== .interfaces [app/] ========

.interfaces files complete: Mon Nov 19 11:05:27 GMT 2007.

======== .libraries [app/] ========

.libraries files complete: Mon Nov 19 11:05:27 GMT 2007.

======== .dlls [app/] ========

.dlls files complete: Mon Nov 19 11:05:27 GMT 2007.

======== .executables [app/] ========

lnk470MV app_release.x470MV ...

/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/bin/../target/usr/lib/c
rt1.o(.text+0x30): In function `_start':

../sysdeps/arm/elf/start.S:99: undefined reference to `main'

collect2: ld returned 1 exit status

gmake[1]: *** [app_release.x470MV] Error 1

gmake: *** [app/,.executables] Error 2

 

 

Any help most appreciated,

 

Alex

 

 

 

Alex Tarter

KTP Associate

Ultra Electronics

Sonar & Communication Systems

Tel: +44 (0)20 8813 4527

Mobile: +44 (0)772 018 2267

www.ultra-electronics.com

 



This e-mail from Ultra Electronics Limited and any attachments to it are 
confidential to the intended recipient and may also be privileged.  If you have 
received it in error please notify the sender and delete it from your system.  
If you are not the intended recipient you must not copy it or use it for any 
purpose nor disclose or distribute its contents to any other person.  All 
communications may be subject to interception or monitoring for operational 
and/or security purposes.  Please rely on your own virus checking as the sender 
cannot accept any liability for any damage arising from any bug or virus 
infection.  Ultra Electronics Limited is a company registered in England and 
Wales, registration number 2830644.  The address of its registered office is 
417 Bridport Road, Greenford, Middlesex, UB6 8UA.
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to