Hello,
Our builds of autosave [1] using RTEMS 4.10.2 and EPICS 3.15.x have a warning of an implicit call to nfsMount(). Despite this nfsMount() works fine on iocBoot.
In EPICS 7.0.6 and RTEMS5 there's a rule to halt on warning when building autosave. I searched tech-talk and [2] looks similar, moving from RTEMS 4.9 to 4.10.
Build host is CentOS-8, RTEMS-mvme2700 (aka 2307) with details in [2]. But the implicit warning also happens on RTEMS-mvme3100 and RTEMS-beatnik.
/home/mrippa/MVME2307/rtems/5/bin/powerpc-rtems5-gcc --pipe -B/home/mrippa/MVME2307/rtems/5/powerpc-rtems5/mvme2307/lib/ -specs bsp_specs -qrtems -fasm -mcpu=604 -mmultiple -mstring -mstrict-align -meabi -D_GNU_SOURCE -D_DEFAULT_SOURCE -DUNIX -O2 -g -ffunction-sections -fdata-sections -Wall -Werror-implicit-function-declaration -DUSE_TYPED_RSET -DDBLOADRECORDSHOOKREGISTER -DMY_DO_BOOTP=NULL -DHAVE_PPCBUG -DNVRAM_INDIRECT -D__LINUX_ERRNO_EXTENSIONS__ -DRTEMS_LEGACY_STACK -I. -I../O.Common -I. -I. -I../os/RTEMS -I../os/default -I.. -I../../../include/compiler/gcc -I../../../include/os/RTEMS -I../../../include -I/home/mrippa/work/vendor/epics-base/include/compiler/gcc -I/home/mrippa/work/vendor/epics-base/include/os/RTEMS -I/home/mrippa/work/vendor/epics-base/include -c ../os/RTEMS/osdNfs.c
../os/RTEMS/osdNfs.c: In function 'mountFileSystem':
../os/RTEMS/osdNfs.c:45:9: error: implicit declaration of function 'nfsMount'; did you mean 'nfsInit'? [-Werror=implicit-function-declaration]
if (nfsMount(uidhost, path, mntpoint) == OK) { /* 0 - succeed; -1 - failed */
^~~~~~~~
nfsInit
cc1: some warnings being treated as errors
make[3]: *** [/home/mrippa/work/vendor/epics-base/configure/RULES_BUILD:259: osdNfs.o] Error 1
Is there something off with my RTEMS or EPICS builds?
Thanks,
-Matt
[3] rtems5_epics7_build.txt (attached)