Piedos
October 22, 2005, 8:57am
1
I copied sample adl project (src/HelloWorld.c) into my project folder
Then I typed in cygwin:
wmnew -name hello -path /cygdrive/c/…/project_folder
–>Check Environment settings…
–>Building bin project settings file…
then there existed hello.scs and wmnew.opt files
then I opened the hello.scs file, openat wizard opened, I chosed adl, binary and existing project and then microsoft visual C++ 6.0 opened and it created:
arm and gcc folders
hello.dsp
hello.dsw
hello.mak
hello_rte.dsp
hello.ncb
there is mak folder in gcc folder which has customer,gcc_hello_16,gcc_hello_32, gcc_hello_32W, gen and oprtions.mak files
in C++ there are two classes : hello classes (active) and hello_rte classes
I built “hello classes” then this output is given:
--------------------Configuration: hello - Win32 Wismo_Target--------------------
Software Generation Toolkit
SGT_VER = v1.2.11
SGT_DIR = /cygdrive/C/OpenAT/Tools/SGT/v1.2.11
Scripts path for SGT :
/cygdrive/C/OpenAT/Tools/SGT/v1.2.11/script_sgt
Type help_sgt for a list of SGT commands
Check environment settings…
Launch a full library or binary process
… Dependency graph is being built …
…/out/gcc_hello_32.dep
… Build sources filtering rules for gcc_hello_32
…/out/gcc_hello_32.flt
Get …/…/src/hello_world.c hello_world.c
Use YTPP
Get C:/OpenAT/V302/TgtGen/Adl/Headers/adl_global.h adl_global.h
Use YTPP
Get C:/OpenAT/V302/TgtGen/WmHeader/wm_types.h wm_types.h
Use YTPP
Get C:/OpenAT/V302/TgtGen/WmHeader/wm_stdio.h wm_stdio.h
Use YTPP
Get C:/OpenAT/V302/TgtGen/WmHeader/wm_remote.h wm_remote.h
Use YTPP
Get C:/OpenAT/V302/TgtGen/WmHeader/wm_list.h wm_list.h
Use YTPP
Get C:/OpenAT/V302/TgtGen/WmHeader/wm_snd.h wm_snd.h
Use YTPP
Get C:/OpenAT/V302/TgtGen/Adl/Headers/adl_str.h adl_str.h
Use YTPP
Get C:/OpenAT/V302/TgtGen/Adl/Headers/adl_at.h adl_at.h
Use YTPP
Get C:/OpenAT/V302/TgtGen/Adl/Headers/adl_traces.h adl_traces.h
Use YTPP
Get C:/OpenAT/V302/TgtGen/Adl/Headers/adl_memory.h adl_memory.h
Use YTPP
Get C:/OpenAT/V302/TgtGen/Adl/Headers/adl_error.h adl_error.h
Use YTPP
Get C:/OpenAT/V302/TgtGen/Adl/Headers/adl_flash.h adl_flash.h
Use YTPP
Get C:/OpenAT/V302/TgtGen/Adl/Headers/adl_gpio.h adl_gpio.h
Use YTPP
Get C:/OpenAT/V302/TgtGen/Adl/Headers/adl_bus.h adl_bus.h
Use YTPP
Get C:/OpenAT/V302/TgtGen/Adl/Headers/adl_fcm.h adl_fcm.h
Use YTPP
Get C:/OpenAT/V302/TgtGen/Adl/Headers/adl_AppliInit.h adl_AppliInit.h
Use YTPP
Get C:/OpenAT/V302/TgtGen/Adl/Headers/adl_UnSoHandler.h adl_UnSoHandler.h
Use YTPP
Get C:/OpenAT/V302/TgtGen/Adl/Headers/adl_RspHandler.h adl_RspHandler.h
Use YTPP
Get C:/OpenAT/V302/TgtGen/Adl/Headers/adl_CmdHandler.h adl_CmdHandler.h
Use YTPP
Get C:/OpenAT/V302/TgtGen/Adl/Headers/adl_CmdStackHandler.h adl_CmdStackHandler.h
Use YTPP
Get C:/OpenAT/V302/TgtGen/Adl/Headers/adl_TimerHandler.h adl_TimerHandler.h
Use YTPP
Get C:/OpenAT/V302/TgtGen/Adl/Headers/adl_sim.h adl_sim.h
Use YTPP
Get C:/OpenAT/V302/TgtGen/Adl/Headers/adl_sms.h adl_sms.h
Use YTPP
Get C:/OpenAT/V302/TgtGen/Adl/Headers/adl_call.h adl_call.h
Use YTPP
Get C:/OpenAT/V302/TgtGen/Adl/Headers/adl_gprs.h adl_gprs.h
Use YTPP
Get C:/OpenAT/V302/TgtGen/Adl/Headers/adl_safe.h adl_safe.h
Use YTPP
Get C:/OpenAT/V302/TgtGen/Adl/Headers/adl_ad.h adl_ad.h
Use YTPP
Get C:/OpenAT/V302/TgtGen/Adl/Headers/adl_gps.h adl_gps.h
Use YTPP
… Compiling hello_world.c
Copy all needed library and object files
Make links /cygdrive/C/OpenAT/V302/TgtGen/Adl/Library/gcc_wmadl_302.b03.lib …/out/gcc_wmadl_302.b03.lib
… Link step in progress …
… Link gcc_hello_32.bin …
/cygdrive/C/OpenAT/Tools/GCC/bin/arm-elf-nm: gcc_hello_32.elf: No such file or directory
make: *** [make_single_bin] Error 1
Find errors occurred when using SGT
Analyze errors in Log files
WARNING : gcc_hello_32_status.log is incomplete. Check manually if any errors exist
Analyze errors in tmp files if they exists.
Libraries available in out directory :
gcc_wmadl_302.b03.lib,
End process.
hello - 1 error(s), 1 warning(s)
[size=100][size=18]what does this error means?
and warning?
here is the gcc_hello_32_status.log :
… Creation of dependency graph : …/out/gcc_hello_32.dep
Sat Oct 22 11:39:06 GTBDT 2005
… Build sources filtering rules for gcc_hello_32 via …/out/gcc_hello_32.flt
Sat Oct 22 11:39:08 GTBDT 2005
Get …/…/src/hello_world.c hello_world.c
Get C:/OpenAT/V302/TgtGen/Adl/Headers/adl_global.h adl_global.h
Get C:/OpenAT/V302/TgtGen/WmHeader/wm_types.h wm_types.h
Get C:/OpenAT/V302/TgtGen/WmHeader/wm_stdio.h wm_stdio.h
Get C:/OpenAT/V302/TgtGen/WmHeader/wm_remote.h wm_remote.h
Get C:/OpenAT/V302/TgtGen/WmHeader/wm_list.h wm_list.h
Get C:/OpenAT/V302/TgtGen/WmHeader/wm_snd.h wm_snd.h
Get C:/OpenAT/V302/TgtGen/Adl/Headers/adl_str.h adl_str.h
Get C:/OpenAT/V302/TgtGen/Adl/Headers/adl_at.h adl_at.h
Get C:/OpenAT/V302/TgtGen/Adl/Headers/adl_traces.h adl_traces.h
Get C:/OpenAT/V302/TgtGen/Adl/Headers/adl_memory.h adl_memory.h
Get C:/OpenAT/V302/TgtGen/Adl/Headers/adl_error.h adl_error.h
Get C:/OpenAT/V302/TgtGen/Adl/Headers/adl_flash.h adl_flash.h
Get C:/OpenAT/V302/TgtGen/Adl/Headers/adl_gpio.h adl_gpio.h
Get C:/OpenAT/V302/TgtGen/Adl/Headers/adl_bus.h adl_bus.h
Get C:/OpenAT/V302/TgtGen/Adl/Headers/adl_fcm.h adl_fcm.h
Get C:/OpenAT/V302/TgtGen/Adl/Headers/adl_AppliInit.h adl_AppliInit.h
Get C:/OpenAT/V302/TgtGen/Adl/Headers/adl_UnSoHandler.h adl_UnSoHandler.h
Get C:/OpenAT/V302/TgtGen/Adl/Headers/adl_RspHandler.h adl_RspHandler.h
Get C:/OpenAT/V302/TgtGen/Adl/Headers/adl_CmdHandler.h adl_CmdHandler.h
Get C:/OpenAT/V302/TgtGen/Adl/Headers/adl_CmdStackHandler.h adl_CmdStackHandler.h
Get C:/OpenAT/V302/TgtGen/Adl/Headers/adl_TimerHandler.h adl_TimerHandler.h
Get C:/OpenAT/V302/TgtGen/Adl/Headers/adl_sim.h adl_sim.h
Get C:/OpenAT/V302/TgtGen/Adl/Headers/adl_sms.h adl_sms.h
Get C:/OpenAT/V302/TgtGen/Adl/Headers/adl_call.h adl_call.h
Get C:/OpenAT/V302/TgtGen/Adl/Headers/adl_gprs.h adl_gprs.h
Get C:/OpenAT/V302/TgtGen/Adl/Headers/adl_safe.h adl_safe.h
Get C:/OpenAT/V302/TgtGen/Adl/Headers/adl_ad.h adl_ad.h
Get C:/OpenAT/V302/TgtGen/Adl/Headers/adl_gps.h adl_gps.h
… Compiling hello_world.c
Copy all needed library and object files
Make links /cygdrive/C/OpenAT/V302/TgtGen/Adl/Library/gcc_wmadl_302.b03.lib …/out/gcc_wmadl_302.b03.lib
… Link step in progress …
Sat Oct 22 11:39:17 GTBDT 2005
… Link gcc_hello_32.bin …
here is the gcc_hello_32_err_lnk.tmp file
collect2 version 3.0.4 (ARM/ELF non-Linux)
/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/…/…/…/…/arm-elf/bin/ld -X -o gcc_hello_32.elf -L/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/thumb/interwork -L/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4 -L/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib -L/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/…/…/…/…/arm-elf/lib/thumb/interwork -L/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/…/…/…/…/arm-elf/lib -L/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/…/…/… --script /cygdrive/C/OpenAT/V302/TgtGen/WmGen/mak/openatlinkscript_32 -v --print-map --nmagic --verbose --trace -Map m opec_asm.o hello_world.o hello_world.o -( gcc_wmadl_302.b03.lib -) -lgcc -lg -lc -lgcc
GNU ld version 2.12
GNU ld version 2.12
Supported emulations:
armelf
using external linker script:
/* The linker command script */
/* Set the entry point */
ENTRY (TaskEntryPoint)
/* Set the memory mapping */
MEMORY
{
ROM_MAP (rx) : ORIGIN = 0x00210000, LENGTH = 512k
RAM_MAP (!rx) : ORIGIN = 0x0105F800, LENGTH = 128k
}
SECTIONS
{
.text :
{
/* define the value of the begin of code section */
PROVIDE(Image$$RO$$Base = .);
*( .text )
( .rodata )
/ define the value of the end of code section */
PROVIDE(Image$$RO$$Limit = .);
_etext = .;
} > ROM_MAP
.data : AT (_etext)
{
/* define the value of the begin of data initialised section */
PROVIDE(Image$$RW$$Base = .);
( .data )
/ define the value of the end of data initialised section */
PROVIDE(Image$$RW$$Limit = .);
} > RAM_MAP
.bss :
{
/* define the vahello_world.o: In function HelloWorld_TimerHandler': /cygdrive/c/OpenAT/compile/y/gcc/out/hello_world.c:74: multiple definition of
wm_apmCustomStackSize’
hello_world.o:/cygdrive/c/OpenAT/compile/y/gcc/out/hello_world.c:74: first defined here
hello_world.o: In function HelloWorld_TimerHandler': /cygdrive/c/OpenAT/compile/y/gcc/out/hello_world.c:74: multiple definition of
HelloWorld_TimerHandler’
hello_world.o:/cygdrive/c/OpenAT/compile/y/gcc/out/hello_world.c:74: first defined here
hello_world.o: In function adl_main': /cygdrive/c/OpenAT/compile/y/gcc/out/hello_world.c:94: multiple definition of
adl_main’
hello_world.o:/cygdrive/c/OpenAT/compile/y/gcc/out/hello_world.c:94: first defined here
lue of the begin of data zero initialised section */
PROVIDE(Image$$ZI$$Base = .);
*( .bss )
( COMMON )
/ define the value of the end of data zero initialised section */
PROVIDE(Image$$ZI$$Limit = .);
PROVIDE(end = .);
} > RAM_MAP
. = ALIGN(4);
}
==================================================
/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/…/…/…/…/arm-elf/bin/ld: mode armelf
attempt to open opec_asm.o succeeded
opec_asm.o
attempt to open hello_world.o succeeded
hello_world.o
attempt to open hello_world.o succeeded
hello_world.o
attempt to open gcc_wmadl_302.b03.lib succeeded
(gcc_wmadl_302.b03.lib)opec_cus.o
(gcc_wmadl_302.b03.lib)opec_os.o
(gcc_wmadl_302.b03.lib)opec_fcm.o
(gcc_wmadl_302.b03.lib)opec_fcmtable.o
(gcc_wmadl_302.b03.lib)adl_AppliInit.o
(gcc_wmadl_302.b03.lib)adl_EventMachine.o
(gcc_wmadl_302.b03.lib)adl_UnSoHandler.o
(gcc_wmadl_302.b03.lib)adl_RspHandler.o
(gcc_wmadl_302.b03.lib)adl_CmdHandler.o
(gcc_wmadl_302.b03.lib)adl_CmdStackHandler.o
(gcc_wmadl_302.b03.lib)adl_TimerHandler.o
(gcc_wmadl_302.b03.lib)adl_sim.o
(gcc_wmadl_302.b03.lib)adl_sms.o
(gcc_wmadl_302.b03.lib)adl_call.o
(gcc_wmadl_302.b03.lib)adl_gprs.o
(gcc_wmadl_302.b03.lib)adl_str.o
(gcc_wmadl_302.b03.lib)adl_ad.o
(gcc_wmadl_302.b03.lib)adl_CmdProcessor.o
(gcc_wmadl_302.b03.lib)opec_at.o
(gcc_wmadl_302.b03.lib)opec_std.o
(gcc_wmadl_302.b03.lib)opec_lst.o
(gcc_wmadl_302.b03.lib)opec_gpr.o
(gcc_wmadl_302.b03.lib)opec_ad.o
(gcc_wmadl_302.b03.lib)adl_traces.o
(gcc_wmadl_302.b03.lib)adl_memory.o
(gcc_wmadl_302.b03.lib)adl_error.o
(gcc_wmadl_302.b03.lib)adl_flash.o
(gcc_wmadl_302.b03.lib)adl_gpio.o
(gcc_wmadl_302.b03.lib)adl_bus.o
(gcc_wmadl_302.b03.lib)adl_fcm.o
(gcc_wmadl_302.b03.lib)opec_io.o
(gcc_wmadl_302.b03.lib)opec_bus.o
attempt to open /cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/thumb/interwork/libgcc.a succeeded
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/thumb/interwork/libgcc.a)call_via_rX.o
attempt to open /cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/thumb/interwork/libg.a failed
attempt to open /cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/libg.a failed
attempt to open /cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/libg.a failed
attempt to open /cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/…/…/…/…/arm-elf/lib/thumb/interwork/libg.a succeeded
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/…/…/…/…/arm-elf/lib/thumb/interwork/libg.a)atoi.o
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/…/…/…/…/arm-elf/lib/thumb/interwork/libg.a)ctype .o
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/…/…/…/…/arm-elf/lib/thumb/interwork/libg.a)locale.o
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/…/…/…/…/arm-elf/lib/thumb/interwork/libg.a)memcpy.o
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/…/…/…/…/arm-elf/lib/thumb/interwork/libg.a)memset.o
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/…/…/…/…/arm-elf/lib/thumb/interwork/libg.a)sprintf.o
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/…/…/…/…/arm-elf/lib/thumb/interwork/libg.a)strcat.o
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/…/…/…/…/arm-elf/lib/thumb/interwork/libg.a)strcmp.o
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/…/…/…/…/arm-elf/lib/thumb/interwork/libg.a)strcpy.o
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/…/…/…/…/arm-elf/lib/thumb/interwork/libg.a)strlen.o
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/…/…/…/…/arm-elf/lib/thumb/interwork/libg.a)strncmp.o
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/…/…/…/…/arm-elf/lib/thumb/interwork/libg.a)strncpy.o
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/…/…/…/…/arm-elf/lib/thumb/interwork/libg.a)strtol.o
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/…/…/…/…/arm-elf/lib/thumb/interwork/libg.a)vfprintf.o
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/…/…/…/…/arm-elf/lib/thumb/interwork/libg.a)wsetup.o
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/…/…/…/…/arm-elf/lib/thumb/interwork/libg.a)dtoa.o
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/…/…/…/…/arm-elf/lib/thumb/interwork/libg.a)fflush.o
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/…/…/…/…/arm-elf/lib/thumb/interwork/libg.a)findfp.o
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/…/…/…/…/arm-elf/lib/thumb/interwork/libg.a)freer.o
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/…/…/…/…/arm-elf/lib/thumb/interwork/libg.a)fvwrite.o
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/…/…/…/…/arm-elf/lib/thumb/interwork/libg.a)fwalk.o
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/…/…/…/…/arm-elf/lib/thumb/interwork/libg.a)impure.o
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/…/…/…/…/arm-elf/lib/thumb/interwork/libg.a)makebuf.o
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/…/…/…/…/arm-elf/lib/thumb/interwork/libg.a)mallocr.o
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/…/…/…/…/arm-elf/lib/thumb/interwork/libg.a)mbtowc_r.o
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/…/…/…/…/arm-elf/lib/thumb/interwork/libg.a)memchr.o
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/…/…/…/…/arm-elf/lib/thumb/interwork/libg.a)memmove.o
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/…/…/…/…/arm-elf/lib/thumb/interwork/libg.a)mlock.o
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/…/…/…/…/arm-elf/lib/thumb/interwork/libg.a)mprec.o
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/…/…/…/…/arm-elf/lib/thumb/interwork/libg.a)s_isinf.o
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/…/…/…/…/arm-elf/lib/thumb/interwork/libg.a)s_isnan.o
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/…/…/…/…/arm-elf/lib/thumb/interwork/libg.a)sbrkr.o
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/…/…/…/…/arm-elf/lib/thumb/interwork/libg.a)stdio.o
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/…/…/…/…/arm-elf/lib/thumb/interwork/libg.a)syscalls.o
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/…/…/…/…/arm-elf/lib/thumb/interwork/libg.a)writer.o
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/…/…/…/…/arm-elf/lib/thumb/interwork/libg.a)callocr.o
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/…/…/…/…/arm-elf/lib/thumb/interwork/libg.a)closer.o
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/…/…/…/…/arm-elf/lib/thumb/interwork/libg.a)errno.o
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/…/…/…/…/arm-elf/lib/thumb/interwork/libg.a)fstatr.o
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/…/…/…/…/arm-elf/lib/thumb/interwork/libg.a)libcfunc.o
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/…/…/…/…/arm-elf/lib/thumb/interwork/libg.a)lseekr.o
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/…/…/…/…/arm-elf/lib/thumb/interwork/libg.a)readr.o
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/…/…/…/…/arm-elf/lib/thumb/interwork/libg.a)reent.o
attempt to open /cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/thumb/interwork/libc.a failed
attempt to open /cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/libc.a failed
attempt to open /cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/libc.a failed
attempt to open /cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/…/…/…/…/arm-elf/lib/thumb/interwork/libc.a succeeded
attempt to open /cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/thumb/interwork/libgcc.a succeeded
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/thumb/interwork/libgcc.a)_udivsi3.o
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/thumb/interwork/libgcc.a)_divsi3.o
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/thumb/interwork/libgcc.a)_umodsi3.o
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/thumb/interwork/libgcc.a)_modsi3.o
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/thumb/interwork/libgcc.a)_dvmd_tls.o
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/thumb/interwork/libgcc.a)_addsub_df.o
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/thumb/interwork/libgcc.a)_mul_df.o
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/thumb/interwork/libgcc.a)_div_df.o
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/thumb/interwork/libgcc.a)_eq_df.o
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/thumb/interwork/libgcc.a)_ne_df.o
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/thumb/interwork/libgcc.a)_gt_df.o
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/thumb/interwork/libgcc.a)_lt_df.o
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/thumb/interwork/libgcc.a)_le_df.o
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/thumb/interwork/libgcc.a)_si_to_df.o
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/thumb/interwork/libgcc.a)_df_to_si.o
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/thumb/interwork/libgcc.a)_negate_df.o
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/thumb/interwork/libgcc.a)_thenan_df.o
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/thumb/interwork/libgcc.a)_muldi3.o
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/thumb/interwork/libgcc.a)_lshrdi3.o
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/thumb/interwork/libgcc.a)_pack_df.o
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/thumb/interwork/libgcc.a)_unpack_df.o
(/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/thumb/inte/cygdrive/C/OpenAT/Tools/GCC/bin/…/lib/gcc-lib/arm-elf/3.0.4/…/…/…/…/arm-elf/bin/ld: link errors found, deleting executable `gcc_hello_32.elf’
rwork/libgcc.a)_fpcmp_parts_df.o
collect2: ld returned 1 exit status
Piedos
Your first question:
The sgt is telling you linking was not successful.
Your seconds question:
The sgt is telling you it can not extract the error itself, you must go and look for it in the log files.
You know your code compiles, now you just need to get it linked.
If you go through the xxxlnk.tmp file you will find the following:
You will see the linker complains it is finding multiple declarations of the same symbols. This happens when you define identical variable names. Since you are trying to compile an example this is not the case. I do not think (hope) Wavecom will make such silly mistakes. This can also happen when you are trying to link the same file more than once. Since the SGT creates your makefiles this is most probably a bug in the scripts. I assume you ran the create scripts twice and it appended the file twice in a makefile.
My suggestion is to manually delete all project files and directories except your source file and rerun the scripts/wizard.