Discussion Board

Results 1 to 6 of 6

Thread: Link error 87

  1. #1
    Regular Contributor ganenko's Avatar
    Join Date
    Jul 2009
    Posts
    99
    I got error on linking exe:
    make[1]: *** [\S60\devices\S60_5th_Edition_SDK_v1.0_2\epoc32\release\gcce\udeb\blabla.exe] Error 87 - possibly too many arguments. If there are a lot of source files in a library, try breaking those out into multiple libraries.

    I got about 360 sources to compile, 13 libraries to link with, 7 static libraries to link with.
    Is this error about maximum allowed arguments passed to compiler? What max number of arguments allowed?

  2. #2
    Nokia Developer Moderator skumar_rao's Avatar
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968
    yes the Error gives the hint how to resolve.

  3. #3
    Regular Contributor ganenko's Avatar
    Join Date
    Jul 2009
    Posts
    99
    What max number of arguments allowed?

  4. #4
    Regular Contributor ganenko's Avatar
    Join Date
    Jul 2009
    Posts
    99
    Also, if I follow instructions (breaking sources to build static libraries eanch no more than 4M), than i got error
    Error: branch out of range[{standard input}] on linking.

  5. #5
    Nokia Developer Moderator skumar_rao's Avatar
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968
    might not be the problem with size. what i have experienced is the count of source files and for me file count around 100 works.

  6. #6
    Regular Contributor ganenko's Avatar
    Join Date
    Jul 2009
    Posts
    99
    I managed to break project on multiple libraries (staticlibrary).
    Also I compiled every mmp with

    OPTION GCCE -O2 -fno-unit-at-a-time

    I got my exe finally. But it is rediculous small in a result. Like libraries linked in final exe not fully. Where could be the probem?

Similar Threads

  1. 请教关于s60 3rd fp1版本编译问题
    By sslaoyao in forum Symbian
    Replies: 3
    Last Post: 2007-03-20, 05:14
  2. [newbie here] Link error
    By xitpu in forum Symbian C++
    Replies: 3
    Last Post: 2007-01-24, 16:53
  3. armi urel in codewarrior
    By arthig in forum Symbian C++
    Replies: 0
    Last Post: 2005-04-06, 10:13
  4. Linking Errors: Pls Help....
    By amanjha14 in forum Symbian C++
    Replies: 2
    Last Post: 2004-12-03, 09:03
  5. Link error
    By SimoneF85 in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2004-11-09, 18:07

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved