Groups > Symbian > Symbian Tools > Re: Problem solved




Problem building "hello world basic" using
"abld.bat" (S60_2nd_FP3)

Problem building "hello world basic" using "abld.bat" (S60_2nd_FP3)
Thu, 7 Sep 2006 12:23:44 +0100
Hello,



I have recently installed the Series 60 SDK (2nd Edition Feature Pack 3) and 
I am trying to compile and run the "helloworldbasic" example from the

command prompt.



According to the instructions I have, the process is.



(0)  "cd 
C:\Symbian\8.1a\S60_2nd_FP3\Series60Ex\helloworldbasic\group"

(1)  "bldmake.exe  -v  BLDFILES"

(2)  "abld.bat  build  wins  udeb"

(3)  "epoc.exe"



The first two steps appear to work and appear to generate "abld.bat". 
(I 
have attached the output from "bldmake.exe" below.)



The third step fails with an error message.  (I have attached the output 
from "abld.bat".)



The fourth step runs the emulator and displays the default application 
icons, but there is no icon for the "helloworldbasic" application 
(because 
the third step failed?)



I have installed ActiveState Perl 5.6.1.635 and it appears to be working 
correctly.



Please can you advise what might be wrong with "abld.bat", or if there
are 
any additional steps needed to compile and run the "helloworldbasic"
example 
from the command prompt.



THANK YOU FOR YOUR HELP,

Best regards,

James

________________________



Below:  Output from "abld.bat" .




  make -r  -f 
"\Symbian\8.1a\S60_2nd_FP3\EPOC32\BUILD\SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX
\HELLOWORLDBASIC\GROUP\EXPORT.make" 
EXPORT VERBOSE=-s

Nothing to do

  make -r  -f 
"\Symbian\8.1a\S60_2nd_FP3\EPOC32\BUILD\SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX
\HELLOWORLDBASIC\GROUP\WINS.make" 
MAKEFILE VERBOSE=-s

perl -S makmake.pl  -D 
\SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX\HELLOWORLDBASIC\GROUP\HELLOWORLDBASIC 
WINS

  make -r  -f 
"\Symbian\8.1a\S60_2nd_FP3\EPOC32\BUILD\SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX
\HELLOWORLDBASIC\GROUP\WINS.make" 
LIBRARY VERBOSE=-s

nmake -nologo -x - -s  -f 
"\Symbian\8.1a\S60_2nd_FP3\EPOC32\BUILD\SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX
\HELLOWORLDBASIC\GROUP\HELLOWORLDBASIC\WINS\HELLOWORLDBASIC.WINS" 
LIBRARY

Creating \Symbian\8.1a\S60_2nd_FP3\EPOC32\RELEASE\WINS\UDEB

  make -r  -f 
"\Symbian\8.1a\S60_2nd_FP3\EPOC32\BUILD\SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX
\HELLOWORLDBASIC\GROUP\WINS.make" 
RESOURCE CFG=UDEB VERBOSE=-s

nmake -nologo -x - -s  -f 
"\Symbian\8.1a\S60_2nd_FP3\EPOC32\BUILD\SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX
\HELLOWORLDBASIC\GROUP\HELLOWORLDBASIC\WINS\HELLOWORLDBASIC.WINS" 
RESOURCEUDEB

Creating \Symbian\8.1a\S60_2nd_FP3\EPOC32\DATA\Z\SYSTEM\APPS\HELLOWORLDBASIC



Created \Symbian\8.1a\S60_2nd_FP3\EPOC32\INCLUDE\HELLOWORLDBASIC.RSG



Created \Symbian\8.1a\S60_2nd_FP3\EPOC32\INCLUDE\HELLOWORLDBASIC_CAPTION.RSG



Creating 
\Symbian\8.1a\S60_2nd_FP3\EPOC32\BUILD\SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX\HELLO
WORLDBASIC\GROUP\HELLOWORLDBASIC\WINS\UDEB

Creating 
\Symbian\8.1a\S60_2nd_FP3\EPOC32\RELEASE\WINS\UDEB\Z\SYSTEM\APPS\HELLOWORLDBASIC


Created 
\Symbian\8.1a\S60_2nd_FP3\EPOC32\RELEASE\WINS\UDEB\Z\SYSTEM\APPS\HELLOWORLDBASIC
\HELLOWORLDBASIC.RSC

Created 
\Symbian\8.1a\S60_2nd_FP3\EPOC32\RELEASE\WINS\UDEB\Z\SYSTEM\APPS\HELLOWORLDBASIC
\HELLOWORLDBASIC_CAPTION.RSC

Created 
\Symbian\8.1a\S60_2nd_FP3\EPOC32\RELEASE\WINS\UDEB\Z\SYSTEM\APPS\HELLOWORLDBASIC
\HELLOWORLDBASIC.AIF

  make -r  -f 
"\Symbian\8.1a\S60_2nd_FP3\EPOC32\BUILD\SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX
\HELLOWORLDBASIC\GROUP\WINS.make" 
TARGET CFG=UDEB VERBOSE=-s

nmake -nologo -x - -s  -f 
"\Symbian\8.1a\S60_2nd_FP3\EPOC32\BUILD\SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX
\HELLOWORLDBASIC\GROUP\HELLOWORLDBASIC\WINS\HELLOWORLDBASIC.WINS" 
UDEB

Helloworldbasic.cpp

Helloworldbasic.uid.cpp

Helloworldbasicapplication.cpp

Helloworldbasicappui.cpp

Helloworldbasicappview.cpp

Helloworldbasicdocument.cpp

NMAKE : fatal error U1073: don't know how to make 
'"\Symbian\8.1a\S60_2nd_FP3\EPOC32\RELEASE\WINS\UDEB\EDLL.LIB"'

Stop.

  make -r  -f 
"\Symbian\8.1a\S60_2nd_FP3\EPOC32\BUILD\SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX
\HELLOWORLDBASIC\GROUP\WINS.make" 
FINAL CFG=UDEB VERBOSE=-s



make: *** [TARGETHELLOWORLDBASIC] Error 2


________________________



Below:  Output from "bldmake.exe" .




Reading
"\SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX\HELLOWORLDBASIC\GROUP\BLD.INF" 
for platforms and exports

Platforms: "WINS ARMI ARM4 THUMB WINSCW ARM4T GCCXML VC6 CW_IDE"

Reading
"\SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX\HELLOWORLDBASIC\GROUP\BLD.INF" 
for WINS

Reading
"\SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX\HELLOWORLDBASIC\GROUP\BLD.INF" 
for ARMI

Reading
"\SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX\HELLOWORLDBASIC\GROUP\BLD.INF" 
for ARM4

Reading
"\SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX\HELLOWORLDBASIC\GROUP\BLD.INF" 
for THUMB

Reading
"\SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX\HELLOWORLDBASIC\GROUP\BLD.INF" 
for WINSCW

Reading
"\SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX\HELLOWORLDBASIC\GROUP\BLD.INF" 
for ARM4T

Reading
"\SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX\HELLOWORLDBASIC\GROUP\BLD.INF" 
for GCCXML

Creating 
"\Symbian\8.1a\S60_2nd_FP3\EPOC32\BUILD\SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX
\HELLOWORLDBASIC\GROUP\PLATFORM.PM"

Creating 
"\SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX\HELLOWORLDBASIC\GROUP\ABLD.BAT"

Creating 
"\Symbian\8.1a\S60_2nd_FP3\EPOC32\BUILD\SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX
\HELLOWORLDBASIC\GROUP\EXPORT.MAKE"

Creating 
"\Symbian\8.1a\S60_2nd_FP3\EPOC32\BUILD\SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX
\HELLOWORLDBASIC\GROUP\EXPORTTEST.MAKE"

Creating 
"\Symbian\8.1a\S60_2nd_FP3\EPOC32\BUILD\SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX
\HELLOWORLDBASIC\GROUP\HELLOWORLDBASIC.MMP.MAKE"

Creating 
"\Symbian\8.1a\S60_2nd_FP3\EPOC32\BUILD\SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX
\HELLOWORLDBASIC\GROUP\HELLOWORLDBASIC.MMP.MAKE"

Creating 
"\Symbian\8.1a\S60_2nd_FP3\EPOC32\BUILD\SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX
\HELLOWORLDBASIC\GROUP\HELLOWORLDBASIC.MMP.MAKE"

Creating 
"\Symbian\8.1a\S60_2nd_FP3\EPOC32\BUILD\SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX
\HELLOWORLDBASIC\GROUP\HELLOWORLDBASIC.MMP.MAKE"

Creating 
"\Symbian\8.1a\S60_2nd_FP3\EPOC32\BUILD\SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX
\HELLOWORLDBASIC\GROUP\HELLOWORLDBASIC.MMP.MAKE"

Creating 
"\Symbian\8.1a\S60_2nd_FP3\EPOC32\BUILD\SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX
\HELLOWORLDBASIC\GROUP\HELLOWORLDBASIC.MMP.MAKE"

Creating 
"\Symbian\8.1a\S60_2nd_FP3\EPOC32\BUILD\SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX
\HELLOWORLDBASIC\GROUP\HELLOWORLDBASIC.MMP.MAKE"

Creating 
"\Symbian\8.1a\S60_2nd_FP3\EPOC32\BUILD\SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX
\HELLOWORLDBASIC\GROUP\HELLOWORLDBASIC.MMP.MAKE"

Creating 
"\Symbian\8.1a\S60_2nd_FP3\EPOC32\BUILD\SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX
\HELLOWORLDBASIC\GROUP\HELLOWORLDBASIC.MMP.MAKE"

Creating 
"\Symbian\8.1a\S60_2nd_FP3\EPOC32\BUILD\SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX
\HELLOWORLDBASIC\GROUP\WINSTEST.MAKE"

Creating 
"\Symbian\8.1a\S60_2nd_FP3\EPOC32\BUILD\SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX
\HELLOWORLDBASIC\GROUP\ARMITEST.MAKE"

Creating 
"\Symbian\8.1a\S60_2nd_FP3\EPOC32\BUILD\SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX
\HELLOWORLDBASIC\GROUP\ARM4TEST.MAKE"

Creating 
"\Symbian\8.1a\S60_2nd_FP3\EPOC32\BUILD\SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX
\HELLOWORLDBASIC\GROUP\THUMBTEST.MAKE"

Creating 
"\Symbian\8.1a\S60_2nd_FP3\EPOC32\BUILD\SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX
\HELLOWORLDBASIC\GROUP\WINSCWTEST.MAKE"

Creating 
"\Symbian\8.1a\S60_2nd_FP3\EPOC32\BUILD\SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX
\HELLOWORLDBASIC\GROUP\ARM4TTEST.MAKE"

Creating 
"\Symbian\8.1a\S60_2nd_FP3\EPOC32\BUILD\SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX
\HELLOWORLDBASIC\GROUP\GCCXMLTEST.MAKE"

Creating 
"\Symbian\8.1a\S60_2nd_FP3\EPOC32\BUILD\SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX
\HELLOWORLDBASIC\GROUP\VC6TEST.MAKE"

Creating 
"\Symbian\8.1a\S60_2nd_FP3\EPOC32\BUILD\SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX
\HELLOWORLDBASIC\GROUP\CW_IDETEST.MAKE"

Creating test batch files in 
"\Symbian\8.1a\S60_2nd_FP3\EPOC32\BUILD\SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX
\HELLOWORLDBASIC\GROUP\" 
for WINS

Creating test batch files in 
"\Symbian\8.1a\S60_2nd_FP3\EPOC32\BUILD\SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX
\HELLOWORLDBASIC\GROUP\" 
for ARMI

Creating test batch files in 
"\Symbian\8.1a\S60_2nd_FP3\EPOC32\BUILD\SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX
\HELLOWORLDBASIC\GROUP\" 
for ARM4

Creating test batch files in 
"\Symbian\8.1a\S60_2nd_FP3\EPOC32\BUILD\SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX
\HELLOWORLDBASIC\GROUP\" 
for THUMB

Creating test batch files in 
"\Symbian\8.1a\S60_2nd_FP3\EPOC32\BUILD\SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX
\HELLOWORLDBASIC\GROUP\" 
for WINSCW

Creating test batch files in 
"\Symbian\8.1a\S60_2nd_FP3\EPOC32\BUILD\SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX
\HELLOWORLDBASIC\GROUP\" 
for ARM4T

Creating test batch files in 
"\Symbian\8.1a\S60_2nd_FP3\EPOC32\BUILD\SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX
\HELLOWORLDBASIC\GROUP\" 
for GCCXML

Post Reply
Re: Problem building "hello world basic" using "abld.bat" (S60_2nd_FP3)
Thu, 7 Sep 2006 15:38:04 +0100
James,

Try (2)  "abld.bat  build  winscw  udeb"     Does this help?

Mark
Symbian Developer Network


Post Reply
Re: Problem building "hello world basic" using "abld.bat" (S60_2nd_FP3)
Fri, 8 Sep 2006 01:39:31 +0100
Hi Mark,

Thanks for your advise.  Unfortunately it has not solved the problem, though I
get a different error report with "winscw".  (I have attached
"abld.bat" output.)

Thanks anyway,
James
______________

  make -r  -f
"\Symbian\8.1a\S60_2nd_FP3\EPOC32\BUILD\SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX
\HELLOWORLDBASIC\GROUP\EXPORT.make" EXPORT VERBOSE=-s
Nothing to do

  make -r  -f
"\Symbian\8.1a\S60_2nd_FP3\EPOC32\BUILD\SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX
\HELLOWORLDBASIC\GROUP\WINSCW.make" MAKEFILE VERBOSE=-s
perl -S makmake.pl  -D
\SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX\HELLOWORLDBASIC\GROUP\HELLOWORLDBASIC  
WINSCW
ERROR: Unable to identify a valid CodeWarrior for Symbian OS installation
C:\Symbian\8.1a\S60_2nd_FP3\epoc32\tools\make.exe: *** [MAKEFILEHELLOWORLDBASIC]
Error 255

  make -r  -f
"\Symbian\8.1a\S60_2nd_FP3\EPOC32\BUILD\SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX
\HELLOWORLDBASIC\GROUP\WINSCW.make" LIBRARY VERBOSE=-s
make -s  -r -f
"\Symbian\8.1a\S60_2nd_FP3\EPOC32\BUILD\SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX
\HELLOWORLDBASIC\GROUP\HELLOWORLDBASIC\WINSCW\HELLOWORLDBASIC.WINSCW"
LIBRARY
make.exe[1]:
\Symbian\8.1a\S60_2nd_FP3\EPOC32\BUILD\SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX\HELLO
WORLDBASIC\GROUP\HELLOWORLDBASIC\WINSCW\HELLOWORLDBASIC.WINSCW: No such file or
directory
make.exe[1]: *** No rule to make target
`\Symbian\8.1a\S60_2nd_FP3\EPOC32\BUILD\SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX\HELL
OWORLDBASIC\GROUP\HELLOWORLDBASIC\WINSCW\HELLOWORLDBASIC.WINSCW'.  Stop.
C:\Symbian\8.1a\S60_2nd_FP3\epoc32\tools\make.exe: *** [LIBRARYHELLOWORLDBASIC]
Error 2

  make -r  -f
"\Symbian\8.1a\S60_2nd_FP3\EPOC32\BUILD\SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX
\HELLOWORLDBASIC\GROUP\WINSCW.make" RESOURCE CFG=UDEB VERBOSE=-s
make -s  -r -f
"\Symbian\8.1a\S60_2nd_FP3\EPOC32\BUILD\SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX
\HELLOWORLDBASIC\GROUP\HELLOWORLDBASIC\WINSCW\HELLOWORLDBASIC.WINSCW"
RESOURCEUDEB
make.exe[1]:
\Symbian\8.1a\S60_2nd_FP3\EPOC32\BUILD\SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX\HELLO
WORLDBASIC\GROUP\HELLOWORLDBASIC\WINSCW\HELLOWORLDBASIC.WINSCW: No such file or
directory
make.exe[1]: *** No rule to make target
`\Symbian\8.1a\S60_2nd_FP3\EPOC32\BUILD\SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX\HELL
OWORLDBASIC\GROUP\HELLOWORLDBASIC\WINSCW\HELLOWORLDBASIC.WINSCW'.  Stop.
C:\Symbian\8.1a\S60_2nd_FP3\epoc32\tools\make.exe: *** [RESOURCEHELLOWORLDBASIC]
Error 2

  make -r  -f
"\Symbian\8.1a\S60_2nd_FP3\EPOC32\BUILD\SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX
\HELLOWORLDBASIC\GROUP\WINSCW.make" TARGET CFG=UDEB VERBOSE=-s
make -s  -r -f
"\Symbian\8.1a\S60_2nd_FP3\EPOC32\BUILD\SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX
\HELLOWORLDBASIC\GROUP\HELLOWORLDBASIC\WINSCW\HELLOWORLDBASIC.WINSCW" UDEB
make.exe[1]:
\Symbian\8.1a\S60_2nd_FP3\EPOC32\BUILD\SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX\HELLO
WORLDBASIC\GROUP\HELLOWORLDBASIC\WINSCW\HELLOWORLDBASIC.WINSCW: No such file or
directory
make.exe[1]: *** No rule to make target
`\Symbian\8.1a\S60_2nd_FP3\EPOC32\BUILD\SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX\HELL
OWORLDBASIC\GROUP\HELLOWORLDBASIC\WINSCW\HELLOWORLDBASIC.WINSCW'.  Stop.
C:\Symbian\8.1a\S60_2nd_FP3\epoc32\tools\make.exe: *** [TARGETHELLOWORLDBASIC]
Error 2

  make -r  -f
"\Symbian\8.1a\S60_2nd_FP3\EPOC32\BUILD\SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX
\HELLOWORLDBASIC\GROUP\WINSCW.make" FINAL CFG=UDEB VERBOSE=-s
Post Reply
Re: Problem solved
Mon, 11 Sep 2006 11:03:15 +010
I have successfully solved the problem.  The problem was I had downloaded 
the wrong version of the SDK.  I was trying to use the "WINSCW"
version, 
when I should have been using the "WINS" version for my compiler
(.NET).

Regards,
James 

Post Reply
about | contact