nfs.c not linking

Ben Dart Ben.Dart at adept.com
Wed Jun 3 15:21:03 UTC 2015


Hi,

I am trying to build RTEMS 4.9.2 with the command line `mount` enabled for nfs mounts. As suggested here: https://docs.rtems.org/releases/rtemsdocs-4.9.2/share/rtems/html/shell/shell00038.html I have added the following to shellconfig.h:

#ifdef RTEMS_NETWORKING
  #define CONFIGURE_SHELL_MOUNT_NFS
#endif

This should fill rtems_shell_Mount_filesystems with the NFS mount type and allow me to mount with NFS. Unfortunately I am unable to build. I get linkers errors as follows:

1>../../../../../adept_5200/lib\librtemscpu.a(libshell_a-main_mount_nfs.o): In function `rtems_shell_nfs_mounter':
1>d:\Subversion\rtems49\Trunk\build_5200\powerpc-rtems4.9\c\adept_5200\cpukit\libmisc/../../../../../../rtems-4.9.2/c/src/../../cpukit/libmisc/shell/main_mount_nfs.c:46: undefined reference to `rpcUdpInit'
1>d:\Subversion\rtems49\Trunk\build_5200\powerpc-rtems4.9\c\adept_5200\cpukit\libmisc/../../../../../../rtems-4.9.2/c/src/../../cpukit/libmisc/shell/main_mount_nfs.c:51: undefined reference to `nfsInit'
1>d:\Subversion\rtems49\Trunk\build_5200\powerpc-rtems4.9\c\adept_5200\cpukit\libmisc/../../../../../../rtems-4.9.2/c/src/../../cpukit/libmisc/shell/main_mount_nfs.c:58: undefined reference to `nfsMount'
1>collect2: ld returned 1 exit status

Is there something else I need to do to be able to use the 'mount' console command with TFTP or NFS?

Ben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20150603/8e117640/attachment.html>


More information about the users mailing list