multiple definition of `_Semaphore_Wait', multiple definition of `_Semaphore_Post' , undefined reference to `__dso_handle'
Heinz Junkes
junkes at fhi-berlin.mpg.de
Wed Mar 20 17:25:34 UTC 2024
Thanks, that's it, with -qrtems it works. I am now trying to use pkg-config as you recommended.
Danke Heinz
> On 20. Mar 2024, at 16:41, Sebastian Huber <sebastian.huber at embedded-brains.de> wrote:
>
> Hello Heinz,
>
> On 20.03.24 16:31, Heinz Junkes wrote:
>> /home/rtems/MVME2500_PCI/rtems/6/bin/powerpc-rtems6-g++ -o
>> libComTestHarness -static
>> -L/home/rtems/MVME2500_PCI/EPICS/epics-base/lib/RTEMS-qoriq_e500
>> -L/home/rtems/MVME2500_PCI/rtems/6/powerpc-rtems6/qoriq_e500/lib
>> -mcpu=8540 -msoft-float -meabi -msdata=sysv -mstrict-align -u POSIX_Init
>> epicsTypesTest.o epicsInlineTest1.o epicsInlineTest2.o
>> epicsInlineTest3.o epicsInlineTest4.o epicsCalcTest.o
>> epicsAlgorithmTest.o epicsMathTest.o epicsMMIOTest.o epicsEllTest.o
>> epicsEnvTest.o epicsEnvUnsetTest.o epicsErrlogTest.o epicsStdioTest.o
>> epicsStdlibTest.o epicsSockResolveTest.o epicsStringTest.o
>> epicsTimeTest.o epicsThreadTest.o epicsThreadClassTest.o
>> epicsThreadOnceTest.o epicsThreadPriorityTest.o epicsThreadPrivateTest.o
>> epicsThreadHooksTest.o epicsThreadPoolTest.o initHookTest.o
>> epicsExitTest.o epicsTimerTest.o ringPointerTest.o ringBytesTest.o
>> epicsEventTest.o epicsMutexTest.o epicsSpinTest.o epicsAtomicTest.o
>> macDefExpandTest.o cvtFastTest.o macLibTest.o aslibtest.o taskwdTest.o
>> blockingSockTest.o epicsMessageQueueTest.o epicsStackTraceTest.o
>> ipAddrToAsciiTest.o osiSockTest.o epicsRunLibComTests.o
>> epicsThreadPerform.o epicsMaxThreads.o buckTest.o epicsAtomicPerform.o
>> cvtFastPerform.o epicsTimeZoneTest.o rtemsTestHarness.o rtemsTestData.o
>> -lCom -Wl,--gc-sections -lm -lrtemsCom -lCom -lrtemscpu -lc -lm
>> -lgcc
>
> I would use pkg-config to get the right linker and compiler flags. Here a -qrtems is probably missing.
>
> --
> embedded brains GmbH & Co. KG
> Herr Sebastian HUBER
> Dornierstr. 4
> 82178 Puchheim
> Germany
> email: sebastian.huber at embedded-brains.de
> phone: +49-89-18 94 741 - 16
> fax: +49-89-18 94 741 - 08
>
> Registergericht: Amtsgericht München
> Registernummer: HRB 157899
> Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
> Unsere Datenschutzerklärung finden Sie hier:
> https://embedded-brains.de/datenschutzerklaerung/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4712 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/users/attachments/20240320/77675c09/attachment-0001.bin>
More information about the users
mailing list