×

Discussion Board

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

    Compile/linking error with M2M ADK

    When trying to compile the example software for the evaluation module, using the makefile given:
    Nokia\Nokia M2M ADK\Evaluation_Module_SW\makefile

    I get the following error at the linking stage:
    (Both link command line, and link error included here)
    I am using GNU make as provided with Cygwin

    /DevTools/h8/bin/xlink.exe -xems -f adk ../Terminal_Side_Components/Corba/Source/any.obj ../Terminal_Side_Components/Corba/Source/basic.obj ../Terminal_Side_Components/Corba/Source/buffer.obj ../Terminal_Side_Components/Corba/Source/conn.obj ../Terminal_Side_Components/Corba/Source/corba_internal.obj ../Terminal_Side_C
    omponents/Corba/Source/corba_mem.obj ../Terminal_Side_Components/Corba/Source/corba_sys_pro.obj ../Terminal_Side_Components/Corba/Source/cos_name.obj ../Terminal_Side_Components/Corba/Source/except.obj ../Terminal_Side_Components/Corba/Source/giop.obj ../Terminal_Side_Components/Corba/Source/iiop.obj ../Terminal_Side_C
    omponents/Corba/Source/iop.obj ../Terminal_Side_Components/Corba/Source/llist.obj ../Terminal_Side_Components/Corba/Source/object.obj ../Terminal_Side_Components/Corba/Source/orb.obj ../Terminal_Side_Components/Corba/Source/server.obj ../Terminal_Side_Components/Corba/Source/soa.obj ../Terminal_Side_Components/Corba/So
    urce/wiop.obj ../Terminal_Side_Components/Corba/Source/corba_port_ucos_II.obj ../Terminal_Side_Components/System_Protocol/Source/sys_pro.obj ../Terminal_Side_Components/System_Protocol/Source/sys_pro_dll.obj ../Terminal_Side_Components/System_Protocol/Source/sys_pro_rs.obj ../Terminal_Side_Components/System_Integration
    /system_common_ucos_II.obj ../Terminal_Side_Components/System_Integration/dbg_wrap_serial.obj ./os/os_cpu_c.obj ./mcu_sw/hw_sci.obj ./mcu_sw/iomodule_Client.obj ./mcu_sw/iomodule_Impl.obj ./mcu_sw/iomodule_Server.obj ./mcu_sw/iomodule_Types.obj ./mcu_sw/egsmt_Client.obj ./mcu_sw/egsmt_Impl.obj ./mcu_sw/egsmt_Server.obj
    ./mcu_sw/egsmt_Types.obj ./mcu_sw/sms_io_Impl.obj ./mcu_sw/sms_io_Server.obj ./mcu_sw/sms_io_Types.obj ./mcu_sw/io_sms_cont.obj ./mcu_sw/dev.obj ./mcu_sw/hw.obj ./mcu_sw/hw_ee_i2.obj ./mcu_sw/hw_mem.obj ./mcu_sw/io_task.obj ./mcu_sw/io_timer.obj ./mcu_sw/lib.obj ./mcu_sw/main.obj ./mcu_sw/version.obj ./mcu_sw/system.o
    bj ./mcu_sw/serial_trace.obj ../Terminal_Side_Components/System_Protocol/Source/sys_pro_port_hw_em.obj ../Terminal_Side_Components/System_Protocol/Source/sys_pro_port_os_ucos_II.obj ./mcu_sw/boot/b_boot.obj ./mcu_sw/boot/c_boot.obj ./mcu_sw/cstartup.obj ./os/ucos_ii.lib -o adk -l adk.map -FINTEL-EXTENDED -Y1

    IAR Universal Linker V4.53J/386
    Copyright 1987-2002 IAR Systems. All rights reserved.
    Error[e6]: Program module redeclared in file ../Terminal_Side_Components/Corba/Source/basic.obj
    make: *** [adk.a37] Error 3

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

    RE: Compile/linking error with M2M ADK

    Hi,

    When you are using GNU make tool you should
    edit the make file by yourself.

    Are you sure that module basic.c has been compiled as a an object file. Or even if it has been compiled twice. It looks like the linker does not find the correct object file or the linker will try to link it twice. Probably you can investigate the problem by simplifying the makefile or even try to link from command line.

    Is it possible that you send the GNU make tool to the
    mail address: m2m.developer@nokia.com
    We can try to use it also here.

    BR,

    M2M developer team

Posting Permissions

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