I am sruggling with cygwin about 2 weeks! Somebody help me!
I am using OpenAT v2.10, SGT_VER: v1.2.4_c, Microsoft Visual C++ 6.00
I create new blank openAT (not ADL project) project and I compiled it succesfully using MS Visual C++ 6.00 ,there exist three warnings during compile :
LINK : warning LNK4098: defaultlib “mfc42.lib” conflicts with use of other libs; use /NODEFAULTLIB:library
LINK : warning LNK4098: defaultlib “mfcs42.lib” conflicts with use of other libs; use /NODEFAULTLIB:library
LINK : warning LNK4098: defaultlib “msvcrt.lib” conflicts with use of other libs; use /NODEFAULTLIB:library
I don’t know whether these warnings are important. Any way there exists .exe file in the project directory so the code works, should work cause it is empty, has only mandatory funtions.
When I try to make target application, .dwl file, there exists the build error , here are the cygwin codes and reports:
wmnew -path /cygdrive/c/openat/…/project -32 -ads
wmmake appli -d
RES: Launch a full library or binary process
/cygdrive/c/openat/v210b/TgtGen/WmGen/mak/gen.mak:47: *** The ARMCONF environment variable is not set… Stop.
—>then I tried gcc compiler
wmnew -path /cygdrive/c/openat/…/project -32 -gcc
RES: Overwrite existing… (Y/N)?
wmmake appli -d
RES: Launch …
Dependency graph is being built …
Build sources filtering rules for appli
Get c:/openat/compile/z/src/appli.c appli.c
Get C:/OpenAT/V210b/TgtGen/WmHeader/wm_types.h wm_types.h
…ALL OTHER wm_…header files indicated
Copy all needed libray and obect files
Copy /cygdrive/C/OpenAT/TgtGen/Library/gcc_wmopenat_210b.lib …/out/gcc_wmopenat_210b.lib
… Link step in progress …
… Link appli.bin …
/cygdrive/C/OpenAT/TgtGen/GCC/bin/arm-elf-nm: appli.elf No such file or directory
make: *** [make_single_bin] Error 1
I don’t know how to fix this error.
NOTE: wmnew -sample/ -32 -gcc (or -ads)
commands work and create mak and out directories and creastes .dwl file and created .dwl files work when I embed them into modem (q2406b), but if I change any code in .c file again cygwin creates .dwl file but when I embed it into modem it does not work.
Thanks in advance