Symbian developer community

 
  #1  
Old 2010-02-18, 14:44
spalda2's Avatar
spalda2 spalda2 is offline
Symbian Foundation Community Member.
 
Join Date: 2010 Feb
Posts: 36
Default Build chain issue

Hi,
I've install S60 SDK after which it all worked just fine (command line build & Carbide IDE assisted one), that wasn't enough to build Symbian OS, so I unpacked PDK binary packages (http://developer.symbian.org/main/to....php?id=6&vId=) and overlaid them over epoc32 dir. I set all the pathes and checked the build environment as described here" http://developer.symbian.org/wiki/in...p_correctly%3F, it all passed just fine.

Then I ran:


X:\Projects\hsbrowserauth\group>abld build winscw udeb

and got this:

make -r -f "\EPOC32\BUILD\Projects\hsbrowserauth\group\EXPORT.make" EXPORT VE
RBOSE=-s
Nothing to do
make -r -f "\EPOC32\BUILD\Projects\hsbrowserauth\group\WINSCW.make" MAKEFILE
VERBOSE=-s
perl -w -S makmake.pl -D \Projects\hsbrowserauth\group\HSBROWSERAUTH WINSCW
defined(@array) is deprecated at x:\epoc32\tools/makmake.pl line 460.
(Maybe you should just omit the defined()?)
Global symbol "$variant_info_new" requires explicit package name at x:\epoc32\to
ols/makmake.pl line 561.
Global symbol "$variant_info_new" requires explicit package name at x:\epoc32\to
ols/makmake.pl line 562.
Global symbol "$variant_info_new" requires explicit package name at x:\epoc32\to
ols/makmake.pl line 562.
Global symbol "$variant_info_new" requires explicit package name at x:\epoc32\to
ols/makmake.pl line 581.
BEGIN not safe after errors--compilation aborted at x:\epoc32\tools/makmake.pl l
ine 747.
make: *** [MAKEFILEHSBROWSERAUTH] Error 1
make -r -f "\EPOC32\BUILD\Projects\hsbrowserauth\group\WINSCW.make" LIBRARY V
ERBOSE=-s
make -s -r -f "\EPOC32\BUILD\Projects\hsbrowserauth\group\HSBROWSERAUTH\WINSCW\
HSBROWSERAUTH.WINSCW" LIBRARY
make[1]: \EPOC32\BUILD\Projects\hsbrowserauth\group\HSBROWSERAUTH\WINSCW\HSBROWS
ERAUTH.WINSCW: No such file or directory
make[1]: *** No rule to make target `\EPOC32\BUILD\Projects\hsbrowserauth\group\
HSBROWSERAUTH\WINSCW\HSBROWSERAUTH.WINSCW'. Stop.
make: *** [LIBRARYHSBROWSERAUTH] Error 2
make -r -f "\EPOC32\BUILD\Projects\hsbrowserauth\group\WINSCW.make" RESOURCE
CFG=UDEB VERBOSE=-s
make -s -r -f "\EPOC32\BUILD\Projects\hsbrowserauth\group\HSBROWSERAUTH\WINSCW\
HSBROWSERAUTH.WINSCW" RESOURCEUDEB
make[1]: \EPOC32\BUILD\Projects\hsbrowserauth\group\HSBROWSERAUTH\WINSCW\HSBROWS
ERAUTH.WINSCW: No such file or directory
make[1]: *** No rule to make target `\EPOC32\BUILD\Projects\hsbrowserauth\group\
HSBROWSERAUTH\WINSCW\HSBROWSERAUTH.WINSCW'. Stop.
make: *** [RESOURCEHSBROWSERAUTH] Error 2
make -r -f "\EPOC32\BUILD\Projects\hsbrowserauth\group\WINSCW.make" TARGET CF
G=UDEB VERBOSE=-s
make -s -r -f "\EPOC32\BUILD\Projects\hsbrowserauth\group\HSBROWSERAUTH\WINSCW\
HSBROWSERAUTH.WINSCW" UDEB
make[1]: \EPOC32\BUILD\Projects\hsbrowserauth\group\HSBROWSERAUTH\WINSCW\HSBROWS
ERAUTH.WINSCW: No such file or directory
make[1]: *** No rule to make target `\EPOC32\BUILD\Projects\hsbrowserauth\group\
HSBROWSERAUTH\WINSCW\HSBROWSERAUTH.WINSCW'. Stop.
make: *** [TARGETHSBROWSERAUTH] Error 2
make -r -f "\EPOC32\BUILD\Projects\hsbrowserauth\group\WINSCW.make" FINAL CFG
=UDEB VERBOSE=-s

Any idea of what i'm missing please?

Thanks
P
Reply With Quote
  #2  
Old 2010-02-18, 15:19
rodb's Avatar
rodb rodb is offline
Staff
 
Join Date: 2009 Jun
Posts: 689
Default

Try the programming forums. I have moved the thread
Reply With Quote
  #3  
Old 2010-02-18, 15:35
william_roberts's Avatar
william_roberts william_roberts is offline
Staff
 
Join Date: 2009 Mar
Posts: 888
Default Suggested fix

At one level, you are missing the fix for Bug 1895, which is in the FCL but not yet in a release.

It's probably better however to take a step back and decide that now is the time to start using Raptor. Your commands were
[CODE]
X:\Projects\hsbrowserauth\group>bldmake bldfiles
X:\Projects\hsbrowserauth\group>abld build winscw udeb
[/CODE

You should try instead doing
Code:
X:\Projects\hsbrowserauth\group>sbs -b bld.inf -c winscw_udeb
If you've got a machine with multiple cores, then try adding "-j 4" to the command to get 4 compiles going at once. Just one of the advantages of using Raptor...
Reply With Quote
  #4  
Old 2010-02-18, 15:52
spalda2's Avatar
spalda2 spalda2 is offline
Symbian Foundation Community Member.
 
Join Date: 2010 Feb
Posts: 36
Default Thanks but....

... what about Carbide IDE....at the moment Carbide IDE comes up with: No rule how to make target..... which suggests it hits the same problem as bldmake chain..is there an option to make carbide use raptor toolchain?

One more thing: After the overlaid the debug version of emulator (epoc.exe) wouldn't start. It crashes with output from epocwin.out attached. Release version runs just fine. The fault is "reliable":-)

PlatSecEnforcement ON
PlatSecDiagnostics ON
PlatSecProcessIsolation ON
PlatSecEnforceSysBin ON
CrazyScheduling OFF
PlatSecDisabledCaps NONE
0.000 Thread 0096c48c created @ 0x96c48c - Win32 Thread ID 0x17a4
0.000 Thread EKern.exe::Supervisor created @ 0xa02bbc - Win32 Thread ID 0x398
0.000 Thread EKern.exe:fcThread0 created @ 0xa0387c - Win32 Thread ID 0x164
0.000 Thread EKern.exe:fcThread1 created @ 0xa03cc4 - Win32 Thread ID 0x678
0.000 Thread EKern.exe:ShBufThread created @ 0xa041ec - Win32 Thread ID 0x75c
0.000 Thread EKern.exe::TimerThread created @ 0xa047e4 - Win32 Thread ID 0x940
0.220 Thread EKern.exe::FlashThread created @ 0xa0b0fc - Win32 Thread ID 0xf3c
0.300 Thread EKern.exe::MultiMediaCard0 created @ 0xa0c1e8 - Win32 Thread ID 0x1564
0.420 Thread EKern.exe::NandThread created @ 0xa16c64 - Win32 Thread ID 0x38c
0.540 Thread EFile.exe::Main created @ 0xa185bc - Win32 Thread ID 0x4a8
0.745 Thread EFile.exe::Local-00a1a8f8 created @ 0xa1abd8 - Win32 Thread ID 0x1130
0.750 Thread EFile.exe::LoaderThread created @ 0xa1c734 - Win32 Thread ID 0x1710
0.750 Thread EFile.exe::StartupThread created @ 0xa1ce4c - Win32 Thread ID 0x10cc
0.860 Thread EFile.exe::StartupThread Panic Fserv fault 40
0.860 FAULT: KERN 0x00000004 (4)

Rgds,
P
Reply With Quote
  #5  
Old 2010-02-19, 11:15
larsk's Avatar
larsk larsk is offline
Staff
 
Join Date: 2009 Apr
Posts: 106
Default

There is an option to build with Raptor (there should be an SBSv2 tab somewhere). As I have not used Carbide for a while, I can't give you details. Going to Project > Settings or Preferences > build would be the place to check
Reply With Quote
  #6  
Old 2010-02-22, 17:06
spalda2's Avatar
spalda2 spalda2 is offline
Symbian Foundation Community Member.
 
Join Date: 2010 Feb
Posts: 36
Default Emulator sorted...

..ok i've removed S60 SDK and unpacked plain S^3 SDK after which epoc32.exe from debug dir starts ok with no crash. So looks like these two cannot be mixed or something....The build issue is still there though. Have not tried raptor yet.

P
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads.
You may not post replies.
You may not post attachments.
You may not edit your posts.

BB code is On.
Smilies are On.
[IMG] code is On.
HTML code is Off.


Forum Jump

Powered by vBulletin Copyright © 2010 vBulletin Solutions, Inc.