I’m trying building a sample which comes with Open AT SDK.You know it, Hello World sample.
I started with Tutorial and want to generate and run Open AT applications in remote and target mode.Firstly , I used Open AT Project Wizard to produce an application and then Visual C++ to build Hello-World and Hello-World_rte to handle binary data in .dwl format.But at this point Visual C++ gives building errors like:
Compiling…
hello_world.c
Linking…
LINK : warning LNK4075: ignoring /EDITANDCONTINUE due to /INCREMENTAL:NO specification
LINK : error LNK2001: unresolved external symbol _opecCustomerTaskInit
hello_world.obj : error LNK2001: unresolved external symbol _adl_atSendResponse
hello_world.obj : error LNK2001: unresolved external symbol _adlint_osDebugTrace
hello_world.obj : error LNK2001: unresolved external symbol _adl_tmrSubscribe
rte/vc6/Debug/Hello_World_rte.dll : fatal error LNK1120: 4 unresolved externals
Error executing link.exe.
Hello_World_rte.dll - 5 error(s), 1 warning(s)
What must be done?What is the reason for these error messages?Because of I’m new with Open AT and wavecom cannot guess what can be the reason?
If you help,I will be very happy.I cannot go on now because of this mistake.
I’m using version V400.a03 of Open AT.Yes that errors for remote mode.
When I compile in target mode , binary .dwl file occurs but also in this mode visual C++ gives error and warning messages.All the build message in target mode below:
… Dependency graph is being built …
…/out/gcc_Hello_World_H.dep
… Build sources filtering rules for gcc_Hello_World_H
…/out/gcc_Hello_World_H.flt
Get …/…/src/hello_world.c hello_world.c
Use YTPP
Get C:/OpenAT/V400.a03/TgtGen/Adl/Headers/adl_global.h adl_global.h
Use YTPP
Get C:/OpenAT/V400.a03/TgtGen/WmHeader/wm_types.h wm_types.h
Use YTPP
Get C:/OpenAT/V400.a03/TgtGen/WmHeader/wm_stdio.h wm_stdio.h
Use YTPP
Get C:/OpenAT/V400.a03/TgtGen/WmHeader/wm_remote.h wm_remote.h
Use YTPP
Get C:/OpenAT/V400.a03/TgtGen/WmHeader/wm_list.h wm_list.h
Use YTPP
Get C:/OpenAT/V400.a03/TgtGen/WmHeader/wm_snd.h wm_snd.h
Use YTPP
Get C:/OpenAT/V400.a03/TgtGen/Adl/Headers/adl_str.h adl_str.h
Use YTPP
Get C:/OpenAT/V400.a03/TgtGen/Adl/Headers/adl_port.h adl_port.h
Use YTPP
Get C:/OpenAT/V400.a03/TgtGen/Adl/Headers/adl_at.h adl_at.h
Use YTPP
Get C:/OpenAT/V400.a03/TgtGen/Adl/Headers/adl_traces.h adl_traces.h
Use YTPP
Get C:/OpenAT/V400.a03/TgtGen/Adl/Headers/adl_memory.h adl_memory.h
Use YTPP
Get C:/OpenAT/V400.a03/TgtGen/Adl/Headers/adl_error.h adl_error.h
Use YTPP
Get C:/OpenAT/V400.a03/TgtGen/Adl/Headers/adl_flash.h adl_flash.h
Use YTPP
Get C:/OpenAT/V400.a03/TgtGen/Adl/Headers/adl_gpio.h adl_gpio.h
Use YTPP
Get C:/OpenAT/V400.a03/TgtGen/Adl/Headers/adl_bus.h adl_bus.h
Use YTPP
Get C:/OpenAT/V400.a03/TgtGen/Adl/Headers/adl_fcm.h adl_fcm.h
Use YTPP
Get C:/OpenAT/V400.a03/TgtGen/Adl/Headers/adl_AppliInit.h adl_AppliInit.h
Use YTPP
Get C:/OpenAT/V400.a03/TgtGen/Adl/Headers/adl_UnSoHandler.h adl_UnSoHandler.h
Use YTPP
Get C:/OpenAT/V400.a03/TgtGen/Adl/Headers/adl_RspHandler.h adl_RspHandler.h
Use YTPP
Get C:/OpenAT/V400.a03/TgtGen/Adl/Headers/adl_CmdHandler.h adl_CmdHandler.h
Use YTPP
Get C:/OpenAT/V400.a03/TgtGen/Adl/Headers/adl_CmdStackHandler.h adl_CmdStackHandler.h
Use YTPP
Get C:/OpenAT/V400.a03/TgtGen/Adl/Headers/adl_TimerHandler.h adl_TimerHandler.h
Use YTPP
Get C:/OpenAT/V400.a03/TgtGen/Adl/Headers/adl_sim.h adl_sim.h
Use YTPP
Get C:/OpenAT/V400.a03/TgtGen/Adl/Headers/adl_sms.h adl_sms.h
Use YTPP
Get C:/OpenAT/V400.a03/TgtGen/Adl/Headers/adl_call.h adl_call.h
Use YTPP
Get C:/OpenAT/V400.a03/TgtGen/Adl/Headers/adl_gprs.h adl_gprs.h
Use YTPP
Get C:/OpenAT/V400.a03/TgtGen/Adl/Headers/adl_safe.h adl_safe.h
Use YTPP
Get C:/OpenAT/V400.a03/TgtGen/Adl/Headers/adl_ad.h adl_ad.h
Use YTPP
Get C:/OpenAT/V400.a03/TgtGen/Adl/Headers/adl_gps.h adl_gps.h
Use YTPP
Get C:/OpenAT/V400.a03/TgtGen/Adl/Headers/adl_rtc.h adl_rtc.h
Use YTPP
… Compiling hello_world.c
Copy all needed library and object files
Make links /cygdrive/C/OpenAT/V400.a03/TgtGen/Adl/Library/gcc_wmadl_4.0.0.0.0.lib …/out/gcc_wmadl_4.0.0.0.0.lib
… Link step in progress …
… Link gcc_Hello_World_H.bin …
Extract gcc_Hello_World_H.bin from gcc_Hello_World_H.axf (or from gcc_Hello_World_H.elf if Gcc ARM compiler is used)
Update symbol file -> ../out/s
Compress gcc_Hello_World_H.bin to gcc_Hello_World_H.wpb for DWLWIN application
Compress gcc_Hello_World_H.axf to gcc_Hello_World_H_axf.zip in ZIP format
ls: …/out/pro-lib.bin: No such file or directory
ls: …/out/pro-lib.bin: No such file or directory
Make an archive file for TMT application
zip warning: name not matched: …/out/tmt/e2p_csn.cso
zip error: Nothing to do! (…/out/tmt/zip_tmt.zip)
zip warning: name not matched: …/out/tmt/backtraces.axf
zip error: Nothing to do! (…/out/tmt/zip_tmt.zip)
zip warning: name not matched: …/out/tmt/backtraces64k.axf
zip error: Nothing to do! (…/out/tmt/zip_tmt.zip)
zip warning: name not matched: …/out/tmt/symbolfiles/s64k
zip warning: name not matched: …/out/tmt/symbolfiles/e2p.h
adding: s (deflated 68%)
enter new zip file comment (end with .):
current zip file comment is:
[Binary Information]
Stack Version = Open-AT
Customer Version = gcc
Binary Name = pro-lib.bin
Size =
Date = Fri Sep 15 2006
Time = 00:00:00
enter new zip file comment (end with .):
current zip file comment is:
[Binary Information]
Stack Version = Open-AT
Customer Version = gcc
Binary Name = pro-lib.bin
Size =
Date = Fri Sep 15 2006
Time = 00:00:00
enter new zip file comment (end with .):
adding: DiagnoseTips.ini (deflated 87%)
current zip file comment is:
[Binary Information]
Stack Version = Open-AT
Customer Version = gcc
Binary Name = pro-lib.bin
Size =
Date = Fri Sep 15 2006
Time = 00:00:00
enter new zip file comment (end with .):
adding: MokaWatches.ini (deflated 67%)
current zip file comment is:
[Binary Information]
Stack Version = Open-AT
Customer Version = gcc
Binary Name = pro-lib.bin
Size =
Date = Fri Sep 15 2006
Time = 00:00:00
enter new zip file comment (end with .):
adding: RemoteDefs.ini (deflated 74%)
current zip file comment is:
[Binary Information]
Stack Version = Open-AT
Customer Version = gcc
Binary Name = pro-lib.bin
Size =
Date = Fri Sep 15 2006
Time = 00:00:00
enter new zip file comment (end with .):
Rename …/out/tmt/zip_tmt.zip …/out/tmt/gcc.zip
You are right may be zip errors are normal but I downloaded .dwl file into wireless CPU Q2686 and run it with at+wopen=1 as told in tutoria and manual but nothing happened.That is,I could not see “Hello World from Open AT” message on the screen.
How can I get the latest version, V4.10?From where?
A request:Could you please send me as an attached file, Hello_World.dwl binary file which you produced on your computer.I want to see a running code in wireless CPU.Mines is not working.
Hi Ergunehm!
If you have SDK, maybe you have a ready binary for this sample.
See drive:\OpenAT\V400.a03\Samples\adl\generic\Hello_World\gcc\out
I have it.
I have the same LINK ERRORS with the same version of Open AT - V4.00.a03 (with Q2686H DK) with attempt to build Hello World sample
in remote mode.
Attempt to build application in target mode more successfull and make files for target.
gcc_Hello_World_H.dwl
gcc_Hello_World_H.wpb.dwl
( for GCC - compiler, I Have not ARM)
IDE Visual C++ 6.0 give some error during build process,
(Visual C++ 2003 no one), but both makes target files.
Errors in remote mode caused (I think) by missing library (rte_…) or reference to it .
What is this library ? I didn’t find it or reference to it in documentation.
project in VC 6.0 has reference to additional library path
…\TgtGen\Rte_Lib directory
and I have not such directory in my installation
I have only:
D:\OpenAT\V400.a03\TgtGen\Library
arm_wmopenat_4.0.0.0.0.lib
gcc_wmopenat_4.0.0.0.0.lib
(rte_ … - maybe missed)
I didn’t see any other versions of Open AT. Maybe, they have such library.
All my binary: builded and from distributive works properly
and sends “Hello Word” to terminal.
Anybody have any ideas/information? (about RTE_* library).
Documentation in my Open AT disk (“V4r00.a03” Label on disk box)
not coordinated - differ in versions.
For example: Getting Started with Open AT 3.02.
I am using open at 3.01. For target mode there r no problems. I sucessfully downloaded the .dwl file n hello world is working fine. But for remote mode while building i get error hello_world_rte.dll not found. I dont know what is the problem. Plz help