This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Strange linking Error and HEX File

Hi!

My versions:

IDE-Version:
µVision V4.00a

Toolchain: RealView MDK-ARM Version: 3.20
Middleware: RL-ARM Real-Time Library Version V3.21
Toolchain Path: BIN31\
C Compiler: Armcc.Exe V3.1.0.919
Assembler: Armasm.Exe V3.1.0.919
Linker/Locator: ArmLink.Exe V3.1.0.919
Librarian: ArmAr.Exe V3.1.0.919
Hex Converter: FromElf.Exe V3.1.0.919
CPU DLL: SARM.DLL V3.20
Dialog DLL: DARMP.DLL V1.34
Target DLL: BIN\UL2ARM.DLL V1.37
Dialog DLL: TARMP.DLL V1.34

The linking error:
linking...
C:\Keil\ARM\RV31\LIB\armlib\c_t.l:SELECTION_SCRIPT(1229): error: L6278E: Missing expected ).
C:\Keil\ARM\RV31\LIB\armlib\h_t.l:SELECTION_SCRIPT(11): error: L6278E: Missing expected }.
".\Obj\Holli_Application.axf" - 2 Error(s), 0 Warning(s).

My question(s):
* Does anybody know what's the reason for this errors? Building of project was ok and the files c_t.l and h_t.l are ok, too. Last modification was installation of µVision V4.00a. The project was working bevor.

* If i install new MDK and rl-arm versions will the hex file still be the same? I actually use two applications with two hex files, one must always be the same (due to certification reasons) and is controlled via checksum.

Thanks for your help!

BR
Holli

Parents Reply Children
  • Hi!

    This is a short part of the file h_t.l at C:\Keil\ARM\RV31\LIB\armlib
    I could not find any Missing expected }

    !<arch>
    /               0           0     0     0       1606      '
    
    *** some missing lines which I couldn't copy to this editor ***
    
    SELECTION_SCRIPT/
    /0              1237444678  7998  7998  100664  7544      '
    ## Library selection script for clib helper libraries -*- libscript -*-
    ##
    ## Copyright 2007 ARM Limited. All rights reserved.
    ##
    ## RCS $Revision: 140872 $
    ## Checkin $Date: 2009-02-17 14:28:04 +0000 (Tue, 17 Feb 2009) $
    ## Revising $Author: statham $
    
    define printwarn (check) {
    
        remark("use of helper library h_t.l is deprecated")
    }
    
    resolve (__ARM_proc_entry) {
        include(__ARM_proc_entry)
    } check {
        printwarn
    }
    resolve (__rt_proc_entry) {
        include(__rt_proc_entry)
    } check {
        printwarn
    }
    resolve (__ARM_proc_exit) {
        include(__ARM_proc_exit)
    } check {
        printwarn
    }
    resolve (__rt_proc_exit) {
        include(__rt_proc_exit)
    } check {
        printwarn
    }
    resolve (__ARM_ll_neg) {
        include(__ARM_ll_neg)
    } check {
        printwarn
    }
    

    Same with the other file and error.

    Any other ideas?

    Thanks!

    Holli

  • If the error was on line 11, and you failed to copy some of the early lines, then the problematic line is probably not visible in that file.

    Remember that errors are sometimes one or more lines before the error message - for example as a result of a missing end-quote.

  • Obviously not!

    If it's missing, then you won't be able to find it - because it's not there!

  • I can't copy the exact part, which was missing because I get an error:

    HTTP Error 500.100
    Page Cannot Be Displayed
    

    I deleted 2 control characters:

    !<arch>
    /               0           0     0     0       1606      '
       ]  $Œ  $Œ  $Œ  $Œ  (”  (”  ,8  ,8  /Ü  /Ü  3€  3€  7$  7$  :Ì  :Ì  >t  >t  B   B   EÄ  EÄ  Il  Il  M   M   Q   Q   T´  T´  X'  X'  \ 
      \ 
      _¸  _¸  c'  c'  g
     g   j  j  nP  nP  qô  qô  u˜  u˜  y<  y<  |ä  |ä  €Œ  €Œ  „0  „0  ‡Ô  ‡Ô  ‹p  ‹p  d  d  “(  “(  –ì  –ì  š  š  l  l  ¢   ¢   ¢   ¢   ¢   ¢   ¢   ¢   ¢   ¢   ¢   ¢   ¢   ¢   ¢   ¢   ¦Ø  ¦Ø  ¦Ø  ¦Ø  ¯   ³   ³ __ARM_proc_entry __rt_proc_entry __ARM_proc_exit __rt_proc_exit __ARM_ll_neg _ll_neg __ARM_ll_add _ll_add __ARM_ll_sub _ll_sub __ARM_ll_rsb _ll_rsb __ARM_ll_addls _ll_addls __ARM_ll_subls _ll_subls __ARM_ll_rsbls _ll_rsbls __ARM_ll_addlu _ll_addlu __ARM_ll_sublu _ll_sublu __ARM_ll_rsblu _ll_rsblu __ARM_ll_mullu _ll_mullu __ARM_ll_addss _ll_addss __ARM_ll_subss _ll_subss __ARM_ll_rsbss _ll_rsbss __ARM_ll_adduu _ll_adduu __ARM_ll_subuu _ll_subuu __ARM_ll_rsbuu _ll_rsbuu __ARM_ll_not _ll_not __ARM_ll_and _ll_and __ARM_ll_or _ll_or __ARM_ll_eor _ll_eor __ARM_ll_cmpu _ll_cmpu __ARM_ll_cmpge _ll_cmpge __ARM_ll_cmple _ll_cmple __ARM_ll_from_l _ll_from_l __ARM_ll_from_u _ll_from_u __ARM_ll_to_l _ll_to_l __ARM_ll_mulls _ll_mulls __ARM_ll_muluu _ll_muluu __ARM_ll_mulss _ll_mulss __ARM_ll_mlauu _ll_mlauu __ARM_ll_mlass _ll_mlass __ARM_switch8 __rt_switch8 __ARM_call_via_r0 __call_via_r0 __ARM_call_via_r1 __call_via_r1 __ARM_call_via_r2 __call_via_r2 __ARM_call_via_r3 __call_via_r3 __ARM_call_via_r4 __call_via_r4 __ARM_call_via_r5 __call_via_r5 __ARM_call_via_r6 __call_via_r6 __ARM_call_via_r7 __call_via_r7 __ARM_disable_fiq __ARM_disable_irq __ARM_enable_fiq __ARM_enable_irq __ARM_vfp_status __ARM_get_typeid __get_typeid //              0           0     0     0       18        '
    SELECTION_SCRIPT/
    /0              1237444678  7998  7998  100664  7544      '
    

    Line 11:

    /0              1237444678  7998  7998  100664  7544      '
    

    I'm sorry, but I have no idea were to find a "}" there!

  • Hi!

    It seems that there is no solution for my problem.
    I have to install the complete MDK new and hope that it will work.

  • A new installation of the MDK (same version) solved the problem.