<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Sep 7, 2020 at 2:08 PM Heinz Junkes <<a href="mailto:junkes@fhi-berlin.mpg.de">junkes@fhi-berlin.mpg.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">unfortunately leads to this:<br>
<br>
...<br>
rtemsTestHarness.o rtemsTestData.o -lCom -Wl,--gc-sections -lm -lrtemsCom -lc -lrtemscpu -lrtemsCom -lCom -lnfs -lm -lgcc<br></blockquote><div><br></div><div>It needs to be in an object file defined between
rtemsTestData.o and -lCom. Otherwise, there are configuration symbols lacking and the dummy configuration will get pulled in.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
/home/h1/GSOC/rtems5_epics7/QtC-epics-base/lib/RTEMS-pc386-qemu/librtemsCom.a(rtems_config.o):(.data+0x0): multiple definition of `rtems_libio_init_helper'<br>
/home/travis/.rtems/i386-rtems4.10/pc686/lib//librtemscpu.a(dummy.o):(.data+0x0): first defined here<br>
/home/h1/GSOC/rtems5_epics7/QtC-epics-base/lib/RTEMS-pc386-qemu/librtemsCom.a(rtems_config.o):(.data+0x4): multiple definition of `rtems_libio_supp_helper'<br>
/home/travis/.rtems/i386-rtems4.10/pc686/lib//librtemscpu.a(dummy.o):(.data+0x4): first defined here<br>
/home/h1/GSOC/rtems5_epics7/QtC-epics-base/lib/RTEMS-pc386-qemu/librtemsCom.a(rtems_config.o):(.data+0x8): multiple definition of `rtems_fs_init_helper'<br>
/home/travis/.rtems/i386-rtems4.10/pc686/lib//librtemscpu.a(dummy.o):(.data+0x8): first defined here<br>
/home/h1/GSOC/rtems5_epics7/QtC-epics-base/lib/RTEMS-pc386-qemu/librtemsCom.a(rtems_config.o):(.data+0xc): multiple definition of `rtems_libio_number_iops'<br>
/home/travis/.rtems/i386-rtems4.10/pc686/lib//librtemscpu.a(dummy.o):(.data+0xc): first defined here<br>
/home/h1/GSOC/rtems5_epics7/QtC-epics-base/lib/RTEMS-pc386-qemu/librtemsCom.a(rtems_config.o):(.bss+0x0): multiple definition of `rtems_telnetd_maximum_ptys'<br>
/home/travis/.rtems/i386-rtems4.10/pc686/lib//librtemscpu.a(dummy.o):(.bss+0x0): first defined here<br>
/home/h1/GSOC/rtems5_epics7/QtC-epics-base/lib/RTEMS-pc386-qemu/librtemsCom.a(rtems_config.o):(.data+0x10): multiple definition of `imfs_rq_memfile_bytes_per_block'<br>
/home/travis/.rtems/i386-rtems4.10/pc686/lib//librtemscpu.a(dummy.o):(.data+0x10): first defined here<br>
/home/h1/GSOC/rtems5_epics7/QtC-epics-base/lib/RTEMS-pc386-qemu/librtemsCom.a(rtems_config.o):(.rodata+0x0): multiple definition of `rtems_filesystem_table'<br>
/home/travis/.rtems/i386-rtems4.10/pc686/lib//librtemscpu.a(dummy.o):(.rodata+0x0): first defined here<br>
/home/travis/.rtems/lib/gcc/i386-rtems4.10/4.4.7/../../../../i386-rtems4.10/bin/ld: Warning: size of symbol `rtems_filesystem_table' changed from 16 in /home/travis/.rtems/i386-rtems4.10/pc686/lib//librtemscpu.a(dummy.o) to 24 in /home/h1/GSOC/rtems5_epics7/QtC-epics-base/lib/RTEMS-pc386-qemu/librtemsCom.a(rtems_config.o)<br>
/home/h1/GSOC/rtems5_epics7/QtC-epics-base/lib/RTEMS-pc386-qemu/librtemsCom.a(rtems_config.o):(.bss+0x4): multiple definition of `rtems_pipe_configured'<br>
/home/travis/.rtems/i386-rtems4.10/pc686/lib//librtemscpu.a(dummy.o):(.bss+0x4): first defined here<br>
/home/h1/GSOC/rtems5_epics7/QtC-epics-base/lib/RTEMS-pc386-qemu/librtemsCom.a(rtems_config.o):(.rodata+0x18): multiple definition of `configuration_mount_table'<br>
/home/travis/.rtems/i386-rtems4.10/pc686/lib//librtemscpu.a(dummy.o):(.rodata+0x10): first defined here<br>
/home/h1/GSOC/rtems5_epics7/QtC-epics-base/lib/RTEMS-pc386-qemu/librtemsCom.a(rtems_config.o):(.data+0x14): multiple definition of `rtems_filesystem_mount_table'<br>
/home/travis/.rtems/i386-rtems4.10/pc686/lib//librtemscpu.a(dummy.o):(.data+0x14): first defined here<br>
/home/h1/GSOC/rtems5_epics7/QtC-epics-base/lib/RTEMS-pc386-qemu/librtemsCom.a(rtems_config.o):(.rodata+0x28): multiple definition of `rtems_filesystem_mount_table_size'<br>
/home/travis/.rtems/i386-rtems4.10/pc686/lib//librtemscpu.a(dummy.o):(.rodata+0x20): first defined here<br>
/home/h1/GSOC/rtems5_epics7/QtC-epics-base/lib/RTEMS-pc386-qemu/librtemsCom.a(rtems_config.o):(.data+0x18): multiple definition of `RTEMS_Malloc_Heap'<br>
/home/travis/.rtems/i386-rtems4.10/pc686/lib//librtemscpu.a(dummy.o):(.data+0x18): first defined here<br>
/home/h1/GSOC/rtems5_epics7/QtC-epics-base/lib/RTEMS-pc386-qemu/librtemsCom.a(rtems_config.o):(.data+0x1c): multiple definition of `rtems_unified_work_area'<br>
/home/travis/.rtems/i386-rtems4.10/pc686/lib//librtemscpu.a(dummy.o):(.bss+0x5): first defined here<br>
/home/h1/GSOC/rtems5_epics7/QtC-epics-base/lib/RTEMS-pc386-qemu/librtemsCom.a(rtems_config.o):(.data+0x20): multiple definition of `rtems_malloc_statistics_helpers'<br>
/home/travis/.rtems/i386-rtems4.10/pc686/lib//librtemscpu.a(dummy.o):(.bss+0x8): first defined here<br>
/home/h1/GSOC/rtems5_epics7/QtC-epics-base/lib/RTEMS-pc386-qemu/librtemsCom.a(rtems_config.o):(.bss+0x8): multiple definition of `rtems_malloc_sbrk_helpers'<br>
/home/travis/.rtems/i386-rtems4.10/pc686/lib//librtemscpu.a(dummy.o):(.bss+0xc): first defined here<br>
/home/h1/GSOC/rtems5_epics7/QtC-epics-base/lib/RTEMS-pc386-qemu/librtemsCom.a(rtems_config.o):(.bss+0xc): multiple definition of `rtems_malloc_dirty_helper'<br>
/home/travis/.rtems/i386-rtems4.10/pc686/lib//librtemscpu.a(dummy.o):(.bss+0x10): first defined here<br>
/home/h1/GSOC/rtems5_epics7/QtC-epics-base/lib/RTEMS-pc386-qemu/librtemsCom.a(rtems_config.o):(.data+0x40): multiple definition of `Device_drivers'<br>
/home/travis/.rtems/i386-rtems4.10/pc686/lib//librtemscpu.a(dummy.o):(.data+0x40): first defined here<br>
/home/travis/.rtems/lib/gcc/i386-rtems4.10/4.4.7/../../../../i386-rtems4.10/bin/ld: Warning: size of symbol `Device_drivers' changed from 48 in /home/travis/.rtems/i386-rtems4.10/pc686/lib//librtemscpu.a(dummy.o) to 96 in /home/h1/GSOC/rtems5_epics7/QtC-epics-base/lib/RTEMS-pc386-qemu/librtemsCom.a(rtems_config.o)<br>
/home/h1/GSOC/rtems5_epics7/QtC-epics-base/lib/RTEMS-pc386-qemu/librtemsCom.a(rtems_config.o):(.data+0xa0): multiple definition of `Configuration_Initial_Extensions'<br>
/home/travis/.rtems/i386-rtems4.10/pc686/lib//librtemscpu.a(dummy.o):(.data+0x80): first defined here<br>
/home/travis/.rtems/lib/gcc/i386-rtems4.10/4.4.7/../../../../i386-rtems4.10/bin/ld: Warning: size of symbol `Configuration_Initial_Extensions' changed from 32 in /home/travis/.rtems/i386-rtems4.10/pc686/lib//librtemscpu.a(dummy.o) to 64 in /home/h1/GSOC/rtems5_epics7/QtC-epics-base/lib/RTEMS-pc386-qemu/librtemsCom.a(rtems_config.o)<br>
/home/h1/GSOC/rtems5_epics7/QtC-epics-base/lib/RTEMS-pc386-qemu/librtemsCom.a(rtems_config.o):(.data+0x100): multiple definition of `Configuration_RTEMS_API'<br>
/home/travis/.rtems/i386-rtems4.10/pc686/lib//librtemscpu.a(dummy.o):(.data+0xa0): first defined here<br>
/home/h1/GSOC/rtems5_epics7/QtC-epics-base/lib/RTEMS-pc386-qemu/librtemsCom.a(rtems_config.o):(.data+0x140): multiple definition of `Configuration_POSIX_API'<br>
/home/travis/.rtems/i386-rtems4.10/pc686/lib//librtemscpu.a(dummy.o):(.bss+0x20): first defined here<br>
/home/h1/GSOC/rtems5_epics7/QtC-epics-base/lib/RTEMS-pc386-qemu/librtemsCom.a(rtems_config.o):(.data+0x178): multiple definition of `rtems_minimum_stack_size'<br>
/home/travis/.rtems/i386-rtems4.10/pc686/lib//librtemscpu.a(dummy.o):(.data+0xd0): first defined here<br>
/home/h1/GSOC/rtems5_epics7/QtC-epics-base/lib/RTEMS-pc386-qemu/librtemsCom.a(rtems_config.o):(.data+0x17c): multiple definition of `rtems_maximum_priority'<br>
/home/travis/.rtems/i386-rtems4.10/pc686/lib//librtemscpu.a(dummy.o):(.data+0xd4): first defined here<br>
/home/h1/GSOC/rtems5_epics7/QtC-epics-base/lib/RTEMS-pc386-qemu/librtemsCom.a(rtems_config.o):(.data+0x180): multiple definition of `Configuration'<br>
/home/travis/.rtems/i386-rtems4.10/pc686/lib//librtemscpu.a(dummy.o):(.data+0xe0): first defined here<br>
/home/h1/GSOC/rtems5_epics7/QtC-epics-base/lib/RTEMS-pc386-qemu/librtemsCom.a(rtems_config.o):(.bss+0x10): multiple definition of `_RTEMS_tasks_Initialize_user_tasks_p'<br>
/home/travis/.rtems/i386-rtems4.10/pc686/lib//librtemscpu.a(dummy.o):(.data+0x120): first defined here<br>
/home/h1/GSOC/rtems5_epics7/QtC-epics-base/lib/RTEMS-pc386-qemu/librtemsCom.a(rtems_config.o):(.data+0x1c0): multiple definition of `_POSIX_Threads_Initialize_user_threads_p'<br>
/home/travis/.rtems/i386-rtems4.10/pc686/lib//librtemscpu.a(dummy.o):(.bss+0x58): first defined here<br>
collect2: ld returned 1 exit status<br>
../../../../configure/RULES_BUILD:212: recipe for target 'libComTestHarness' failed<br>
------------------------------------------------------------------------------<br>
Fritz-Haber-Institut | Phone: (+49 30) 8413-4270<br>
Heinz Junkes | Fax (G3+G4): (+49 30) 8413-5900<br>
Faradayweg 4-6 | VC: <a href="mailto:102220181216@bjn.vc" target="_blank">102220181216@bjn.vc</a><br>
D - 14195 Berlin | E-Mail: <a href="mailto:junkes@fhi-berlin.mpg.de" target="_blank">junkes@fhi-berlin.mpg.de</a><br>
------------------------------------------------------------------------------<br>
<br>
> On 7. Sep 2020, at 19:55, Sebastian Huber <<a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brains.de</a>> wrote:<br>
> <br>
> On 07/09/2020 19:14, Heinz Junkes wrote:<br>
> <br>
>> rtems 4.10 —with-network —with-posix<br>
>> <br>
>> Unfortunately I cannot resolve a reference:<br>
>> <br>
>> source/rtems-source-builder/rtems/build/i386-rtems4.10-kernel-4.10-1/i386-rtems4.10-kernel-4.10-1-4.10/build/i386-rtems4.10/c/pc686/cpukit/libblock/../../../../../../rtems-4.10/c/src/../../cpukit/libblock/src/bdbuf.c:1156: undefined reference to `rtems_bdbuf_configuration’<br>
>> <br>
>> the linker order looks like this:<br>
>> -lCom -Wl,--gc-sections -lm -lrtemsCom -lc -lrtemscpu -lCom -lnfs -lm -lgcc<br>
> <br>
> Try:<br>
> <br>
> -lCom -Wl,--gc-sections -lm -lrtemsCom -lc -lrtemscpu -lrtemsCom -lCom -lnfs -lm -lgcc<br>
> <br>
> <br>
<br>
_______________________________________________<br>
users mailing list<br>
<a href="mailto:users@rtems.org" target="_blank">users@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/users</a></blockquote></div></div>