×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    2

    Problem with bldmake bldfiles for Series 60 SDK 6.1

    Hello,

    I'm having big problems building the examples for the Series 60 SDK 6.1.

    Whenever I run "bldmake bldfiles" the Pearl script generates STATUS_ACCESS_VIOLATIONs (whatever they are). Here's an example...

    C:\Symbian\6.1\Series60\Series60Ex\HelloWorld\group>bldmake -v bldfiles
    Reading "\SYMBIAN\6.1\SERIES60\SERIES60EX\HELLOWORLD\GROUP\BLD.INF" for platforms and exports
    ( 1000) Exception: STATUS_ACCESS_VIOLATION
    ( 1000) Dumping stack trace to .core
    Platforms: "WINS ARMI ARM4 THUMB WINSCW VC6"
    Reading "\SYMBIAN\6.1\SERIES60\SERIES60EX\HELLOWORLD\GROUP\BLD.INF" for WINS
    ( 1000) Exception: STATUS_ACCESS_VIOLATION
    ( 1000) Dumping stack trace to .core
    Reading "\SYMBIAN\6.1\SERIES60\SERIES60EX\HELLOWORLD\GROUP\BLD.INF" for ARMI
    ( 1000) Exception: STATUS_ACCESS_VIOLATION
    ( 1000) Dumping stack trace to .core
    Reading "\SYMBIAN\6.1\SERIES60\SERIES60EX\HELLOWORLD\GROUP\BLD.INF" for ARM4
    ( 1000) Exception: STATUS_ACCESS_VIOLATION
    ( 1000) Dumping stack trace to .core
    Reading "\SYMBIAN\6.1\SERIES60\SERIES60EX\HELLOWORLD\GROUP\BLD.INF" for THUMB
    ( 1000) Exception: STATUS_ACCESS_VIOLATION
    ( 1000) Dumping stack trace to .core
    Reading "\SYMBIAN\6.1\SERIES60\SERIES60EX\HELLOWORLD\GROUP\BLD.INF" for WINSCW
    ( 1000) Exception: STATUS_ACCESS_VIOLATION
    ( 1000) Dumping stack trace to .core
    Creating "\Symbian\6.1\Series60\EPOC32\BUILD\SYMBIAN\6.1\SERIES60\SERIES60EX\HELLOWORLD\GROUP\PLATFORM.PM"
    Creating "\SYMBIAN\6.1\SERIES60\SERIES60EX\HELLOWORLD\GROUP\ABLD.BAT"
    Creating "\Symbian\6.1\Series60\EPOC32\BUILD\SYMBIAN\6.1\SERIES60\SERIES60EX\HELLOWORLD\GROUP\EXPORT.MAKE"
    Creating "\Symbian\6.1\Series60\EPOC32\BUILD\SYMBIAN\6.1\SERIES60\SERIES60EX\HELLOWORLD\GROUP\EXPORTTEST.MAKE"
    Creating "\Symbian\6.1\Series60\EPOC32\BUILD\SYMBIAN\6.1\SERIES60\SERIES60EX\HELLOWORLD\GROUP\WINS.MAKE"
    Creating "\Symbian\6.1\Series60\EPOC32\BUILD\SYMBIAN\6.1\SERIES60\SERIES60EX\HELLOWORLD\GROUP\ARMI.MAKE"
    Creating "\Symbian\6.1\Series60\EPOC32\BUILD\SYMBIAN\6.1\SERIES60\SERIES60EX\HELLOWORLD\GROUP\ARM4.MAKE"
    Creating "\Symbian\6.1\Series60\EPOC32\BUILD\SYMBIAN\6.1\SERIES60\SERIES60EX\HELLOWORLD\GROUP\THUMB.MAKE"
    Creating "\Symbian\6.1\Series60\EPOC32\BUILD\SYMBIAN\6.1\SERIES60\SERIES60EX\HELLOWORLD\GROUP\WINSCW.MAKE"
    Creating "\Symbian\6.1\Series60\EPOC32\BUILD\SYMBIAN\6.1\SERIES60\SERIES60EX\HELLOWORLD\GROUP\VC6.MAKE"
    Creating "\Symbian\6.1\Series60\EPOC32\BUILD\SYMBIAN\6.1\SERIES60\SERIES60EX\HELLOWORLD\GROUP\WINSTEST.MAKE"
    Creating "\Symbian\6.1\Series60\EPOC32\BUILD\SYMBIAN\6.1\SERIES60\SERIES60EX\HELLOWORLD\GROUP\ARMITEST.MAKE"
    Creating "\Symbian\6.1\Series60\EPOC32\BUILD\SYMBIAN\6.1\SERIES60\SERIES60EX\HELLOWORLD\GROUP\ARM4TEST.MAKE"
    Creating "\Symbian\6.1\Series60\EPOC32\BUILD\SYMBIAN\6.1\SERIES60\SERIES60EX\HELLOWORLD\GROUP\THUMBTEST.MAKE"
    Creating "\Symbian\6.1\Series60\EPOC32\BUILD\SYMBIAN\6.1\SERIES60\SERIES60EX\HELLOWORLD\GROUP\WINSCWTEST.MAKE"
    Creating "\Symbian\6.1\Series60\EPOC32\BUILD\SYMBIAN\6.1\SERIES60\SERIES60EX\HELLOWORLD\GROUP\VC6TEST.MAKE"
    Creating test batch files in "\Symbian\6.1\Series60\EPOC32\BUILD\SYMBIAN\6.1\SERIES60\SERIES60EX\HELLOWORLD\GROUP\" for WINS
    Creating test batch files in "\Symbian\6.1\Series60\EPOC32\BUILD\SYMBIAN\6.1\SERIES60\SERIES60EX\HELLOWORLD\GROUP\" for ARMI
    Creating test batch files in "\Symbian\6.1\Series60\EPOC32\BUILD\SYMBIAN\6.1\SERIES60\SERIES60EX\HELLOWORLD\GROUP\" for ARM4
    Creating test batch files in "\Symbian\6.1\Series60\EPOC32\BUILD\SYMBIAN\6.1\SERIES60\SERIES60EX\HELLOWORLD\GROUP\" for THUMB
    Creating test batch files in "\Symbian\6.1\Series60\EPOC32\BUILD\SYMBIAN\6.1\SERIES60\SERIES60EX\HELLOWORLD\GROUP\" for WINSCW

    I've tracked the errors down to two lines...

    In ParseBldInf:
    eval { &Prepfile_ProcessL(\@Prj2D, "${BldInfPath}BLD.INF"); };

    ...and...

    In ParseBldInfPlat:
    eval { &Prepfile_ProcessL(\@Prj2D, "${BldInfPath}BLD.INF", @{$Plat{MmpMacros}}); };

    ...however, I don't know a great deal about Pearl, so now I'm stuck.

    Unfortunately the problem seems to mess up the whole process. The resulting MAKE files don't do a whole lot - all their commands consist of...
    "@echo Nothing to do"
    ...and nothing else!

    My machine is running Windows 2000 Professional. My user account has administrator priviledges.

    Thanks in advance for any assistance you can give,
    Dave

  2. #2
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    344

    RE: Problem with bldmake bldfiles for Series 60 SDK 6.1

    Hi,

    Please go to this link for solution to your Query
    http://nkn.forum.nokia.com/devrel/threadshow.cfm?mb=5061606466647644&msg=9797081253918396&page=1

    Ravi

  3. #3
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    68

    RE: Problem with bldmake bldfiles for Series 60 SDK 6.1

    It looks like a problem with Perl, due you have the correct version ?
    Typing "perl -v" gives version 5.005_3 on my system.

  4. #4
    Registered User
    Join Date
    Mar 2003
    Posts
    2

    RE: Problem with bldmake bldfiles for Series 60 SDK 6.1

    Hello again,

    Finally figured out what was going wrong. It's a bit obscure, but it's not impossible that others may encounter the same situation, so here are the details...

    bldmake.pl loads a module called prepfile.pm which is located in c:\symbian\6.1\shared\epoc32\tools (i.e. the same directory). This is the module that contains the Prepfile_ProcessL function. It turns out that this function executes cpp.exe in C:\Symbian\6.1\Shared\EPOC32\gcc\bin
    and it was cpp.exe that was causing the STATUS_ACCESS_VIOLATIONs.

    The thing is, I already had a version of GCC/Cygwin installed prior to installing the Symbian stuff and it looks like that was what was causing the problem. I uninstalled the original version and the whole "bldmake bldfiles" process runs fine now.

    Thanks to nanderso and Ravi for their help along the way.

    Dave

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×