Hi all,
I successfully installed the autosave-4.8 with RTEMS-4.9.2 and EPICS base-3.14.12.1. I would like to use the autosave with the RTEMS-4.10 and EPICS base-3.14.12.1. So, i installed them (RTEMS + base) and tried to install the autosave-4.8. But an error occured as follows:
/usr/local/rtems/rtems-4.10/bin/powerpc-rtems4.10-gcc --pipe -B/usr/local/rtems/rtems-4.10/powerpc-rtems4.10/mvme5500/lib/ -specs bsp_specs -qrtems -fasm -c -fno-strict-aliasing -mcpu=7450 -Dmpc7455 -mno-altivec -mabi=altivec -mvrsave=no -mmultiple -mstring -mstrict-align -DUNIX -O2 -g -g -Wall -DMY_DO_BOOTP=NULL -DHAVE_MOTLOAD -DRTEMS_NETWORK_CONFIG_MBUF_SPACE=2048 -DRTEMS_NETWORK_CONFIG_CLUSTER_SPACE=5120 -DBSP_NVRAM_BASE_ADDR=0xf1110000 -MMD -I. -I../O.Common -I. -I../os/RTEMS -I../os/default -I.. -I../.../../include/os/RTEMS -I../../../include -I/usr/local/epics/base_ppc/rtems410/base-3.14.12.1/include/os/RTEMS -I/usr/local/epics/base_ppc/rtems410/base-3.14.12.1/include ../os/RTEMS/osdNfs.c .../os/RTEMS/osdNfs.c: In function 'mountFileSystem': .../os/RTEMS/osdNfs.c:44: warning: implicit declaration of function 'nfsMount' /usr/local/rtems/rtems-4.10/bin/powerpc-rtems4.10-ar rc libautosave.a dbrestore.o save_restore.o initHooks.o fGetDateStr.o osdNfs.o /usr/local/rtems/rtems-4.10/bin/powerpc-rtems4.10-ranlib libautosave.a echo "Installing library ../../../lib/RTEMS-mvme5500/libautosave.a" Installing library ../../../lib/RTEMS-mvme5500/libautosave.a perl /usr/local/epics/base_ppc/rtems410/base-3.14.12.1/bin/linux-x86/registerRecordDeviceDriver.pl ../O.Common/as.dbd as_registerRecordDeviceDriver /usr/local/epics/base_ppc/rtems410/autosave-4-8 > as.tmp /bin/mv as.tmp as_registerRecordDeviceDriver.cpp
/usr/local/rtems/rtems-4.10/bin/powerpc-rtems4.10-g++ -B/usr/local/rtems/rtems-4.10/powerpc-rtems4.10/mvme5500/lib/ -specs bsp_specs -qrtems -c -fno-strict-aliasing -mcpu=7450 -Dmpc7455 -mno-altivec -mabi=altivec -mvrsave=no -mmultiple -mstring -mstrict-align -DUNIX -O2 -g -g -Wall -DMY_DO_BOOTP=NULL -DHAVE_MOTLOAD -DRTEMS_NETWORK_CONFIG_MBUF_SPACE=2048 -DRTEMS_NETWORK_CONFIG_CLUSTER_SPACE=5120 -DBSP_NVRAM_BASE_ADDR=0xf1110000 -MMD -I. -I../O.Common -I. -I../os/RTEMS -I../os/default -I.. -I../../../include/os/RTEMS -I../../../include -I/usr/local/epics/base_ppc/rtems410/base-3.14..12.1/include/os/RTEMS -I/usr/local/epics/base_ppc/rtems410/base-3.14.12.1/include as_registerRecordDeviceDriver.cpp
/usr/local/rtems/rtems-4.10/bin/powerpc-rtems4.10-g++ -B/usr/local/rtems/rtems-4.10/powerpc-rtems4.10/mvme5500/lib/ -specs bsp_specs -qrtems -c -fno-strict-aliasing -mcpu=7450 -Dmpc7455 -mno-altivec -mabi=altivec -mvrsave=no -mmultiple -mstring -mstrict-align -DUNIX -O2 -g -g -Wall -DMY_DO_BOOTP=NULL -DHAVE_MOTLOAD -DRTEMS_NETWORK_CONFIG_MBUF_SPACE=2048 -DRTEMS_NETWORK_CONFIG_CLUSTER_SPACE=5120 -DBSP_NVRAM_BASE_ADDR=0xf1110000 -MMD -I. -I../O.Common -I. -I../os/RTEMS -I../os/default -I.. -I../../../include/os/RTEMS -I../../../include -I/usr/local/epics/base_ppc/rtems410/base-3.14..12.1/include/os/RTEMS -I/usr/local/epics/base_ppc/rtems410/base-3.14.12.1/include ../asMain.cpp /usr/local/rtems/rtems-4.10/bin/powerpc-rtems4.10-g++ -B/usr/local/rtems/rtems-4.10/powerpc-rtems4.10/mvme5500/lib/ -specs bsp_specs -qrtems -o asApp -static -L/usr/local/epics/base_ppc/rtems410/autosave-4-8/lib/RTEMS-mvme5500 -L/usr/local/epics/base_ppc/rtems410/base-3.14.12.1/lib/RTEMS-mvme5500 -fno-strict-aliasing -mcpu=7450 -Dmpc7455 -mno-altivec -mabi=altivec -mvrsave=no -mmultiple -mstring -mstrict-align -u Init /usr/local/rtems/rtems-4.10/powerpc-rtems4.10/mvme5500/lib/no-dpmem.rel /usr/local/rtems/rtems-4.10/powerpc-rtems4.10/mvme5500/lib/no-mp.rel /usr/local/rtems/rtems-4.10/powerpc-rtems4.10/mvme5500/lib/no-part.rel /usr/local/rtems/rtems-4.10/powerpc-rtems4.10/mvme5500/lib/no-signal.rel /usr/local/rtems/rtems-4.10/powerpc-rtems4.10/mvme5500/lib/no-rtmon.rel as_registerRecordDeviceDriver.o asMain.o -lautosave -lrecIoc -lsoftDevIoc -lmiscIoc -lrsrvIoc -ldbtoolsIoc -lasIoc -ldbIoc -lregistryIoc -ldbStaticIoc -lca -lCom -lreadline -lncurses -lbspExt -lm -lrtemsCom -lc -lrtemscpu -lCom -lnfs -lm /usr/local/epics/base_ppc/rtems410/autosave-4-8/lib/RTEMS-mvme5500/libautosave.a(osdNfs.o): In function `mountFileSystem': /usr/local/epics/base_ppc/rtems410/autosave-4-8/asApp/src/O.RTEMS-mvme5500/.../os/RTEMS/osdNfs.c:44: undefined reference to `nfsMount' collect2: ld returned 1 exit status make[3]: *** [asApp] Error 1 make[3]: Leaving directory `/usr/local/epics/base_ppc/rtems410/autosave-4-8/asApp/src/O.RTEMS-mvme5500' make[2]: *** [install.RTEMS-mvme5500] Error 2 make[2]: Leaving directory `/usr/local/epics/base_ppc/rtems410/autosave-4-8/asApp/src' make[1]: *** [src.install] Error 2 make[1]: Leaving directory `/usr/local/epics/base_ppc/rtems410/autosave-4-8/asApp' make: *** [asApp.install] Error 2
I checked the librtemsNfs.h. I found the nfsMount function in RTEMS4.9.2-4.9.6. But the RTEMS4.10.0 doesn't include the nfsMount function.
What is the difference between both RTEMS versions?
How can i install the autosave with RTEMS4.10?
Thanks and Best Regards, Young-gi
|