Compilation errors and warnings on Nokia series 60 3rd Edition
| Tue, 2006-04-11 12:09 | |
|
|
Hi All, I am using Carbide.c++ to compiling my application but i am getting errors. "The input line is too long. make: [clean] Error 255 (ignored)" As we all know about the problem: "The workaround is to build from the command-line and use the Symbian Executable Importer in Carbide to create a project for you. From there you can create a Launch Config and debug your application/sources. The build issue is a known core eclipse issue and we're looking to address it in the next release." Ref : http://discussion.forum.nokia.com/forum/showthread.php?t=76017&highlight=line+long+255 ******************************************* ok lets forget it. Now i am compiling it from the command prompt, i can see lot of warnings and error while compiliing. D:\SandBox_91\eaxp\group>bldmake clean WARNING: Cannot determine the version of the RVCT Compiler. D:\SandBox_91\eaxp\group>bldmake bldfiles WARNING: Cannot determine the version of the RVCT Compiler.WARNING: When building for ARMV5 platform Compiler RVCT2.2 or later is required. D:\SandBox_91\eaxp\group>abld build winscw udeb  make -r -f "\Symbian\9.1\S60_3rd\EPOC32\BUILD\SandBox_91\eaxp\group\EXPORT.make" EXPORT VERBOSE=-s Nothing to do  make -r -f "\Symbian\9.1\S60_3rd\EPOC32\BUILD\SandBox_91\eaxp\group\WINSCW.make" MAKEFILE VERBOSE=-s perl -S makmake.pl -D \SandBox_91\eaxp\group\EAXP WINSCW WARNING: Cannot determine the version of the RVCT Compiler. MMPFILE "\SandBox_91\eaxp\group\EAXP.MMP" WARNING: Frozen .DEF file \SandBox_91\eaxp\BWINS\eaxpU.DEF not found - project not frozen ERROR: Unable to identify a valid CodeWarrior for Symbian OS installation WARNING: \SandBox_91\eaxp\group\EAXP.MMP(13) : USERINCLUDE path "\SandBox_91\eaxp\include\" not found MIGRATION_NOTE: No Capabilities set in "\SandBox_91\eaxp\group\EAXP.M MP" for TargetType: dll make: *** [MAKEFILEEAXP] Error 255  make -r -f "\Symbian\9.1\S60_3rd\EPOC32\BUILD\SandBox_91\eaxp\group\WINSCW.make" LIBRARY VERBOSE=-s make -s -r -f "\Symbian\9.1\S60_3rd\EPOC32\BUILD\SandBox_91\eaxp\group\EAXP\WINSCW\EAXP.WINSCW" LIBRARY make[1]: \Symbian\9.1\S60_3rd\EPOC32\BUILD\SandBox_91\eaxp\group\EAXP\WINSCW\EAXP.WINSCW: No such file or directory make[1]: *** No rule to make target `\Symbian\9.1\S60_3rd\EPOC32\BUILD\SandBox_91\eaxp\group\EAXP\WINSCW\EAXP.WINSCW'. Stop. My questions are; 1) Is codewarrior IDE is require to compile the application from command prompt? 2) Is Capabilities are required to compile the application? 3) What is the reason for getting warning "Cannot determine the version of the RVCT Compiler" ? I am using Free compiler came with SDK for emulator. Thanks for kind attention. Chetan ---- |






Forum posts: 63
Forum posts: 49
instead of using the RVCT compiler u can try GCCE providede with SDK. The release incorporates the GCCE toolchain, but does not install it by default. You need to run GCCE installer and set environment variables accordingly.
Look under "GCCE Build Target" in the Symbian OS v9.1 guide section of the SDK for more information
Thanks & Regards
--Gurpreet Singh
Thanks n Regards
-- Gurpreet Singh
Forum posts: 188
Second think i don't have CW, i am using Carbide.c++
after giving the command "abld build winscw udeb" I am getting following errors.
make -r -f
"\Symbian\9.1\S60_3rd\EPOC32\BUILD\SandBox_91\eaxp\group\EXPORT.make" EXPORT
VERBOSE=-s
Nothing to do
 make -r -f
"\Symbian\9.1\S60_3rd\EPOC32\BUILD\SandBox_91\eaxp\group\WINSCW.make"
MAKEFILE VERBOSE=-s
perl -S makmake.pl -D \SandBox_91\eaxp\group\EAXP WINSCW
WARNING: Cannot determine the version of the RVCT Compiler.WARNING: Frozen .DEF file \SandBox_91\eaxp\BWINS\eaxpU.DEF not found -
project not frozen
 make -r -f
"\Symbian\9.1\S60_3rd\EPOC32\BUILD\SandBox_91\eaxp\group\WINSCW.make"
LIBRARY VERBOSE=-s
make -s -r -f
"\Symbian\9.1\S60_3rd\EPOC32\BUILD\SandBox_91\eaxp\group\EAXP\WINSCW\EAXP.WI
NSCW" LIBRARY
Not attempting to create
"\Symbian\9.1\S60_3rd\EPOC32\RELEASE\WINSCW\UDEB\eaxp.lib" from frozen .DEF
file, since EXPORTUNFROZEN specified.
 make -r -f
"\Symbian\9.1\S60_3rd\EPOC32\BUILD\SandBox_91\eaxp\group\WINSCW.make"
RESOURCE CFG=UDEB VERBOSE=-s
make -s -r -f
"\Symbian\9.1\S60_3rd\EPOC32\BUILD\SandBox_91\eaxp\group\EAXP\WINSCW\EAXP.WI
NSCW" RESOURCEUDEB
 make -r -f
"\Symbian\9.1\S60_3rd\EPOC32\BUILD\SandBox_91\eaxp\group\WINSCW.make" TARGET
CFG=UDEB VERBOSE=-s
make -s -r -f
"\Symbian\9.1\S60_3rd\EPOC32\BUILD\SandBox_91\eaxp\group\EAXP\WINSCW\EAXP.WI
NSCW" UDEB
DllEntryPoint.cpp
process_begin: CreateProcess((null), mwcc.exe -g -O0 -inline off -wchar_t
off -align 4 -warnings on -w nohidevirtual,nounusedexpr -msgstyle gcc -enum
int -str pool -exc ms -trigraphs on -nostdinc -d _DEBUG -d _UNICODE -d
__SYMBIAN32__ -d __SERIES60_30__ -d __SERIES60_3X__ -d __CW32__ -d
__WINS__ -d __WINSCW__ -d __DLL__ -d __SUPPORT_CPP_EXCEPTIONS__ -cwd
source -i- -i \SandBox_91\eaxp\inc -i \Symbian\9.1\S60_3rd\EPOC32\include -i
\Symbian\9.1\S60_3rd\epoc32\include\variant -i
"\Symbian\9.1\S60_3rd\epoc32\include\variant\ " -include Symbian_OS_
v9.1.hrh -o
\Symbian\9.1\S60_3rd\EPOC32\BUILD\SandBox_91\eaxp\group\EAXP\WINSCW\UDEB\Dll
EntryPoint.o -c \SandBox_91\eaxp\src\DllEntryPoint.cpp, ...) failed.
make (e=2): The system cannot find the file specified.
make[1]: ***[\Symbian\9.1\S60_3rd\EPOC32\BUILD\SandBox_91\eaxp\group\EAXP\WINSCW\UDEB\Dl
lEntryPoint.o] Error 2
make: *** [TARGETEAXP] Error 2
 make -r -f
"\Symbian\9.1\S60_3rd\EPOC32\BUILD\SandBox_91\eaxp\group\WINSCW.make" FINAL
CFG=UDEB VERBOSE=-s
BR
Chetan
----
Chetan Kulshrestha
Forum posts: 239
Even I am also facing the same problem while compiling from command line for "WINSCW".
Giving
make (e=2): The system cannot find the file specified.
Although for same application there is no issue while compiling from Carbide.C++(IDE) itself,however for some application I am getting "Input line too long".And from forum I came to know that there is some known issues with carbide related to this,that's why I am compiling from command line.
I searched the forum lot,and had tried whatever suggested,but still I m stucked in the problem.
What could be the reason.
Thanks
---------------
Bhatt Kavita
Forum posts: 174
http://ptrmobile.blogspot.com/
Forum posts: 239
Thanks,
I m not having any such exe named "mwcc.exe".But I m having mwccsym2.exe in the following path
"D:\Program Files\Carbide\plugins\com.nokia.carbide.cpp.support_1.0.0\Symbian_Tools\Command_Line_Tools".
I don't have that exe.Could u please tell me why that is required.I think that is needed when we are compiling through codewarrior.
But I m using carbide.And getting problem mentioned in my last post.Could u please throw some light on this.
Regards.
---------------
Bhatt Kavita
Forum posts: 239
Hi puterman,
U were right.The only thing which I left was that I forgot to include path D:\Program Files\Carbide\plugins\com.nokia.carbide.cpp.support_1.0.0\Symbian_Tools\Command_Line_Tools".
Now make e=2 problem is not coming.
But still i m getting some problem related to MWLDSYM2.exe located in the above mentioned path where MWCCSYM2.EXE is.
The stranger thing is when I am compiling the same application from Carbide itself,it is successfully compiling without any issue.But same application is posing problems.
I got stuck.
Regards,
Kavita
---------------
Bhatt Kavita
Forum posts: 8
Instead of executing the mwccsym2.exe command, it executes mwcc. This file doesn't exist. I *fixed* this by hard linking mwccsym2.exe to mwcc.exe. It appeared to correctly compile the source files at this point.
I tried the same thing with mwldsym2.exe (hard linked to mwld.exe), but got some link errors. I tried building with:
abld -verbose build winscw udeb
to see what commands were being executed and observed that the linker options are completely different from those found when building from within the Carbide IDE.
If you open the Carbide help docs and search for "command line" and then browse those docs, it appears to imply that a command-line build is supported, but it appears not for WINSCW.
Regards,
Mark Hagood