RTEMS 5.0 error occurred in 'make' while --enable- tests are done

Aby Tom abythayil at gmail.com
Tue May 7 13:44:38 UTC 2019


Hello everyone,

I am new to RTEMS, and was trying to build a new bsp for RTEMS 5 for tms570
family of boards.

While doing the make, i come across this error.

I had done --enable-tests in the previous command.

Can anyone help me with this? Output from terminal is shown below.

(.... represent some omitted output results)

.....

/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/nfs.c: In
function 'nfs_fsunmount_me':
/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/nfs.c:1928:7:
warning: variable 'status' set but not used [-Wunused-but-set-variable]
 int   status;
.....

/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:
In function 'rpcUdpServerCreate':
/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:567:11:
error: 'llock' undeclared (first use in this function); did you mean
'clock'?
  MU_LOCK( llock );

.....

/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:204:54:
note: in definition of macro 'MU_LOCK'
 #define MU_LOCK(mutex)  rtems_recursive_mutex_lock(&(mutex))


/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:567:11:
note: each undeclared identifier is reported only once for each function it
appears in
  MU_LOCK( llock );

.....

/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:
In function 'rpcUdpXactCreate':
/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:667:11:
error: 'hlock' undeclared (first use in this function); did you mean
'clock'?
   MU_LOCK(hlock);
           ^
/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:204:54:
note: in definition of macro 'MU_LOCK'
 #define MU_LOCK(mutex)  rtems_recursive_mutex_lock(&(mutex))
                                                      ^~~~~
/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:
In function 'rpcUdpXactDestroy':
/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:711:11:
error: 'hlock' undeclared (first use in this function); did you mean
'clock'?
   MU_LOCK(hlock);
           ^
/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:204:54:
note: in definition of macro 'MU_LOCK'
 #define MU_LOCK(mutex)  rtems_recursive_mutex_lock(&(mutex))
                                                      ^~~~~
/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:
In function 'rpcUdpRcv':
/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:813:19:
warning: variable 'status' set but not used [-Wunused-but-set-variable]
 rtems_status_code status;
                   ^~~~~~
/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:
In function 'rpcUdpInit':
/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:938:15:
error: 'hlock' undeclared (first use in this function); did you mean
'clock'?
    MU_CREAT( &hlock );
               ^
/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:208:54:
note: in definition of macro 'MU_CREAT'
 #define MU_CREAT(pmutex) rtems_recursive_mutex_init((pmutex), "RPCl")
                                                      ^~~~~~
/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:939:15:
error: 'llock' undeclared (first use in this function); did you mean
'hlock'?
    MU_CREAT( &llock );
               ^
/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:208:54:
note: in definition of macro 'MU_CREAT'
 #define MU_CREAT(pmutex) rtems_recursive_mutex_init((pmutex), "RPCl")
                                                      ^~~~~~
/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:924:19:
warning: variable 'wkup' set but not used [-Wunused-but-set-variable]
 struct sockwakeup wkup;
                   ^~~~
/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:922:19:
warning: variable 'status' set but not used [-Wunused-but-set-variable]
 rtems_status_code status;
                   ^~~~~~
/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:921:7:
warning: variable 's' set but not used [-Wunused-but-set-variable]
 int   s;
       ^
/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:
In function 'rpcio_daemon':
/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:1173:12:
error: 'hlock' undeclared (first use in this function); did you mean
'clock'?
    MU_LOCK(hlock);
            ^
/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:204:54:
note: in definition of macro 'MU_LOCK'
 #define MU_LOCK(mutex)  rtems_recursive_mutex_lock(&(mutex))
                                                      ^~~~~
/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:1149:19:
warning: variable 'status' set but not used [-Wunused-but-set-variable]
 rtems_status_code status;
                   ^~~~~~
/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:
In function 'rpcUdpXactPoolCreate':
/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:1508:19:
warning: variable 'status' set but not used [-Wunused-but-set-variable]
 rtems_status_code status;
                   ^~~~~~
Makefile:11245: recipe for target 'libfs/src/nfsclient/src/rpcio.o' failed
make[4]: *** [libfs/src/nfsclient/src/rpcio.o] Error 1
make[4]: Leaving directory
Makefile:1221: recipe for target 'cpukit' failed
make[3]: *** [cpukit] Error 2
make[3]: Leaving directory
Makefile:715: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
Makefile:289: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
Makefile:410: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1


Thank you.
Regards,
Aby
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20190507/0933795b/attachment.html>


More information about the devel mailing list