Hi,
I am currently trying to get EPICS running on MVME2500 and have used the BSP 
qoriq_e500 (RTEMS6, libbsd, from master).
And get the following error:

make -C O.RTEMS-qoriq_e500 -f ../Makefile TOP=../../../.. \
    T_A=RTEMS-qoriq_e500 install
make[4]: Entering directory 
'/home/rtems/MVME2500_PCI/EPICS/epics-base/modules/libcom/test/O.RTEMS-qoriq_e500'
/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…40 
-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
/home/rtems/MVME2500_PCI/rtems/6/lib/gcc/powerpc-rtems6/13.2.0/../../../../powerpc-rtems6/bin/ld:
 
/home/rtems/MVME2500_PCI/rtems/6/powerpc-rtems6/qoriq_e500/lib/librtemscpu.a(semaphore.c.69.o):
 in function `ppc_interrupt_disable':
/home/rtems/MVME2500_PCI/kernel/build/powerpc/qoriq_e500/../../../cpukit/score/cpu/powerpc/include/rtems/powerpc/registers.h:717:
 multiple definition of `_Semaphore_Wait'; 
/home/rtems/MVME2500_PCI/rtems/6/lib/gcc/powerpc-rtems6/13.2.0/../../../../powerpc-rtems6/lib/m8540/nof/crt0.o:/home/rtems/MVME2500_PCI/rsb/rtems/build/powerpc-rtems6-gcc-13.2.0-newlib-176b19f-x86_64-linux-gnu-1/build/powerpc-rtems6/m8540/nof/newlib/targ-include/sys/lock.h:296:
 first defined here
/home/rtems/MVME2500_PCI/rtems/6/lib/gcc/powerpc-rtems6/13.2.0/../../../../powerpc-rtems6/bin/ld:
 
/home/rtems/MVME2500_PCI/rtems/6/powerpc-rtems6/qoriq_e500/lib/librtemscpu.a(semaphore.c.69.o):
 in function `ppc_interrupt_disable':
/home/rtems/MVME2500_PCI/kernel/build/powerpc/qoriq_e500/../../../cpukit/score/cpu/powerpc/include/rtems/powerpc/registers.h:717:
 multiple definition of `_Semaphore_Post'; 
/home/rtems/MVME2500_PCI/rtems/6/lib/gcc/powerpc-rtems6/13.2.0/../../../../powerpc-rtems6/lib/m8540/nof/crt0.o:/home/rtems/MVME2500_PCI/rsb/rtems/build/powerpc-rtems6-gcc-13.2.0-newlib-176b19f-x86_64-linux-gnu-1/build/powerpc-rtems6/m8540/nof/newlib/targ-include/sys/lock.h:305:
 first defined here
/home/rtems/MVME2500_PCI/rtems/6/lib/gcc/powerpc-rtems6/13.2.0/../../../../powerpc-rtems6/bin/ld:
 
/home/rtems/MVME2500_PCI/rtems/6/powerpc-rtems6/qoriq_e500/lib/librtemscpu.a(fchmod.c.69.o):
 in function `fchmod':
/home/rtems/MVME2500_PCI/kernel/build/powerpc/qoriq_e500/../../../cpukit/libcsupport/src/fchmod.c:89:
 multiple definition of `fchmod'; 
/home/rtems/MVME2500_PCI/rtems/6/lib/gcc/powerpc-rtems6/13.2.0/../../../../powerpc-rtems6/lib/m8540/nof/crt0.o:/home/rtems/MVME2500_PCI/rsb/rtems/build/powerpc-rtems6-gcc-13.2.0-newlib-176b19f-x86_64-linux-gnu-1/build/powerpc-rtems6/m8540/nof/newlib/../../../../../gcc-13.2.0/newlib/libc/sys/rtems/crt0.c:104:
 first defined here
/home/rtems/MVME2500_PCI/rtems/6/lib/gcc/powerpc-rtems6/13.2.0/../../../../powerpc-rtems6/bin/ld:
 warning: cannot find entry symbol _start; defaulting to 018000b4
/home/rtems/MVME2500_PCI/rtems/6/lib/gcc/powerpc-rtems6/13.2.0/../../../../powerpc-rtems6/bin/ld:
 epicsThreadTest.o: in function `_GLOBAL__sub_I_epicsThreadTest':
/home/rtems/MVME2500_PCI/EPICS/epics-base/modules/libcom/test/O.RTEMS-qoriq_e500/../epicsThreadTest.cpp:30:(.text.startup._GLOBAL__sub_I_epicsThreadTest+0x26):
 undefined reference to `__dso_handle'
epicsThreadTest.o: in function `__static_initialization_and_destruction_0':
/home/rtems/MVME2500_PCI/EPICS/epics-base/modules/libcom/test/O.RTEMS-qoriq_e500/../epicsThreadTest.cpp:30:(.text.startup._GLOBAL__sub_I_epicsThreadTest+0x26):
 unresolvable R_PPC_SDAREL16 relocation against symbol `__dso_handle'
collect2: error: ld returned 1 exit status
make[4]: *** [../../../../configure/RULES_BUILD:231: libComTestHarness] Error 1
make[4]: Leaving directory 
'/home/rtems/MVME2500_PCI/EPICS/epics-base/modules/libcom/test/O.RTEMS-qoriq_e500'
make[3]: *** [../../../configure/RULES_ARCHS:58: install.RTEMS-qoriq_e500] 
Error 2
make[3]: Leaving directory 
'/home/rtems/MVME2500_PCI/EPICS/epics-base/modules/libcom/test'
make[2]: *** [../../configure/RULES_DIRS:85: test.install] Error 2
make[2]: Leaving directory 
'/home/rtems/MVME2500_PCI/EPICS/epics-base/modules/libcom'
make[1]: *** [../configure/RULES_DIRS:85: libcom.install] Error 2
make[1]: Leaving directory '/home/rtems/MVME2500_PCI/EPICS/epics-base/modules'
make: *** [configure/RULES_DIRS:85: modules.install] Error 2

Danke Heinz
------------------------------------------------------------------------------
Fritz-Haber-Institut    | Phone:         (+49 30) 8413-4270
Heinz Junkes             | Fax (G3+G4):   (+49 30) 8413-5900
Faradayweg 4-6        | VC: https://zoom.fhi.berlin/junkes
D - 14195 Berlin        | E-Mail:        jun...@fhi-berlin.mpg.de
------------------------------------------------------------------------------

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users

Reply via email to