×

Discussion Board

Results 1 to 6 of 6

Thread: Link error 87

  1. #1
    Regular Contributor
    Join Date
    Jul 2009
    Posts
    99

    Link error 87

    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
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: Link error 87

    yes the Error gives the hint how to resolve.

  3. #3
    Regular Contributor
    Join Date
    Jul 2009
    Posts
    99

    Re: Link error 87

    What max number of arguments allowed?

  4. #4
    Regular Contributor
    Join Date
    Jul 2009
    Posts
    99

    Re: Link error 87

    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
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: Link error 87

    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
    Join Date
    Jul 2009
    Posts
    99

    Re: Link error 87

    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. [newbie here] Link error
    By xitpu in forum Symbian
    Replies: 3
    Last Post: 2007-01-24, 16:53
  2. armi urel in codewarrior
    By arthig in forum Symbian
    Replies: 0
    Last Post: 2005-04-06, 10:13
  3. Linking Errors: Pls Help....
    By amanjha14 in forum Symbian
    Replies: 2
    Last Post: 2004-12-03, 09:03
  4. 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
  •  
×