<div dir="auto"><div dir="auto">Dear Joel, </div><div dir="auto">thanks for the quick response.</div><div dir="auto"><br></div><div dir="auto">my command was:</div><div dir="auto"><br></div><div dir="auto"><div style="font-family:sans-serif;font-size:12.8px" dir="auto"><div style="margin:16px 0px"><div style="font-family:'verdana';font-size:12px" dir="auto"><div>$HOME/dev/kernel/rtems/configure --prefix=$HOME/dev/rtems/5 --target=arm-rtems5 --enable-rtemsbsp=tms570lc4357 --enable-maintainer-mode --enable-tests<br> </div></div></div></div></div>Thanks and Regards,<div dir="auto">Aby<br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Tue, May 7, 2019, 3:59 PM <<a href="mailto:devel-request@rtems.org" target="_blank" rel="noreferrer">devel-request@rtems.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send devel mailing list submissions to<br>
<a href="mailto:devel@rtems.org" rel="noreferrer noreferrer" target="_blank">devel@rtems.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer noreferrer noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:devel-request@rtems.org" rel="noreferrer noreferrer" target="_blank">devel-request@rtems.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:devel-owner@rtems.org" rel="noreferrer noreferrer" target="_blank">devel-owner@rtems.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of devel digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. RTEMS 5.0 error occurred in 'make' while --enable- tests are<br>
done (Aby Tom)<br>
2. Re: RTEMS 5.0 error occurred in 'make' while --enable- tests<br>
are done (Joel Sherrill)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Tue, 7 May 2019 15:44:38 +0200<br>
From: Aby Tom <<a href="mailto:abythayil@gmail.com" rel="noreferrer noreferrer" target="_blank">abythayil@gmail.com</a>><br>
To: <a href="mailto:devel@rtems.org" rel="noreferrer noreferrer" target="_blank">devel@rtems.org</a><br>
Subject: RTEMS 5.0 error occurred in 'make' while --enable- tests are<br>
done<br>
Message-ID:<br>
<CADH5PD1CL8A2CRQruERf2rp1iPJyBHk-NHuYCWT8D8qUoR=<a href="mailto:TOQ@mail.gmail.com" rel="noreferrer noreferrer" target="_blank">TOQ@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hello everyone,<br>
<br>
I am new to RTEMS, and was trying to build a new bsp for RTEMS 5 for tms570<br>
family of boards.<br>
<br>
While doing the make, i come across this error.<br>
<br>
I had done --enable-tests in the previous command.<br>
<br>
Can anyone help me with this? Output from terminal is shown below.<br>
<br>
(.... represent some omitted output results)<br>
<br>
.....<br>
<br>
/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/nfs.c: In<br>
function 'nfs_fsunmount_me':<br>
/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/nfs.c:1928:7:<br>
warning: variable 'status' set but not used [-Wunused-but-set-variable]<br>
int status;<br>
.....<br>
<br>
/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:<br>
In function 'rpcUdpServerCreate':<br>
/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:567:11:<br>
error: 'llock' undeclared (first use in this function); did you mean<br>
'clock'?<br>
MU_LOCK( llock );<br>
<br>
.....<br>
<br>
/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:204:54:<br>
note: in definition of macro 'MU_LOCK'<br>
#define MU_LOCK(mutex) rtems_recursive_mutex_lock(&(mutex))<br>
<br>
<br>
/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:567:11:<br>
note: each undeclared identifier is reported only once for each function it<br>
appears in<br>
MU_LOCK( llock );<br>
<br>
.....<br>
<br>
/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:<br>
In function 'rpcUdpXactCreate':<br>
/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:667:11:<br>
error: 'hlock' undeclared (first use in this function); did you mean<br>
'clock'?<br>
MU_LOCK(hlock);<br>
^<br>
/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:204:54:<br>
note: in definition of macro 'MU_LOCK'<br>
#define MU_LOCK(mutex) rtems_recursive_mutex_lock(&(mutex))<br>
^~~~~<br>
/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:<br>
In function 'rpcUdpXactDestroy':<br>
/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:711:11:<br>
error: 'hlock' undeclared (first use in this function); did you mean<br>
'clock'?<br>
MU_LOCK(hlock);<br>
^<br>
/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:204:54:<br>
note: in definition of macro 'MU_LOCK'<br>
#define MU_LOCK(mutex) rtems_recursive_mutex_lock(&(mutex))<br>
^~~~~<br>
/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:<br>
In function 'rpcUdpRcv':<br>
/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:813:19:<br>
warning: variable 'status' set but not used [-Wunused-but-set-variable]<br>
rtems_status_code status;<br>
^~~~~~<br>
/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:<br>
In function 'rpcUdpInit':<br>
/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:938:15:<br>
error: 'hlock' undeclared (first use in this function); did you mean<br>
'clock'?<br>
MU_CREAT( &hlock );<br>
^<br>
/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:208:54:<br>
note: in definition of macro 'MU_CREAT'<br>
#define MU_CREAT(pmutex) rtems_recursive_mutex_init((pmutex), "RPCl")<br>
^~~~~~<br>
/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:939:15:<br>
error: 'llock' undeclared (first use in this function); did you mean<br>
'hlock'?<br>
MU_CREAT( &llock );<br>
^<br>
/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:208:54:<br>
note: in definition of macro 'MU_CREAT'<br>
#define MU_CREAT(pmutex) rtems_recursive_mutex_init((pmutex), "RPCl")<br>
^~~~~~<br>
/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:924:19:<br>
warning: variable 'wkup' set but not used [-Wunused-but-set-variable]<br>
struct sockwakeup wkup;<br>
^~~~<br>
/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:922:19:<br>
warning: variable 'status' set but not used [-Wunused-but-set-variable]<br>
rtems_status_code status;<br>
^~~~~~<br>
/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:921:7:<br>
warning: variable 's' set but not used [-Wunused-but-set-variable]<br>
int s;<br>
^<br>
/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:<br>
In function 'rpcio_daemon':<br>
/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:1173:12:<br>
error: 'hlock' undeclared (first use in this function); did you mean<br>
'clock'?<br>
MU_LOCK(hlock);<br>
^<br>
/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:204:54:<br>
note: in definition of macro 'MU_LOCK'<br>
#define MU_LOCK(mutex) rtems_recursive_mutex_lock(&(mutex))<br>
^~~~~<br>
/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:1149:19:<br>
warning: variable 'status' set but not used [-Wunused-but-set-variable]<br>
rtems_status_code status;<br>
^~~~~~<br>
/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:<br>
In function 'rpcUdpXactPoolCreate':<br>
/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:1508:19:<br>
warning: variable 'status' set but not used [-Wunused-but-set-variable]<br>
rtems_status_code status;<br>
^~~~~~<br>
Makefile:11245: recipe for target 'libfs/src/nfsclient/src/rpcio.o' failed<br>
make[4]: *** [libfs/src/nfsclient/src/rpcio.o] Error 1<br>
make[4]: Leaving directory<br>
Makefile:1221: recipe for target 'cpukit' failed<br>
make[3]: *** [cpukit] Error 2<br>
make[3]: Leaving directory<br>
Makefile:715: recipe for target 'all-recursive' failed<br>
make[2]: *** [all-recursive] Error 1<br>
make[2]: Leaving directory<br>
Makefile:289: recipe for target 'all-recursive' failed<br>
make[1]: *** [all-recursive] Error 1<br>
make[1]: Leaving directory<br>
Makefile:410: recipe for target 'all-recursive' failed<br>
make: *** [all-recursive] Error 1<br>
<br>
<br>
Thank you.<br>
Regards,<br>
Aby<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.rtems.org/pipermail/devel/attachments/20190507/0933795b/attachment-0001.html" rel="noreferrer noreferrer noreferrer" target="_blank">http://lists.rtems.org/pipermail/devel/attachments/20190507/0933795b/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Tue, 7 May 2019 08:58:44 -0500<br>
From: Joel Sherrill <<a href="mailto:joel@rtems.org" rel="noreferrer noreferrer" target="_blank">joel@rtems.org</a>><br>
To: Aby Tom <<a href="mailto:abythayil@gmail.com" rel="noreferrer noreferrer" target="_blank">abythayil@gmail.com</a>><br>
Cc: "<a href="mailto:rtems-devel@rtems.org" rel="noreferrer noreferrer" target="_blank">rtems-devel@rtems.org</a>" <<a href="mailto:devel@rtems.org" rel="noreferrer noreferrer" target="_blank">devel@rtems.org</a>><br>
Subject: Re: RTEMS 5.0 error occurred in 'make' while --enable- tests<br>
are done<br>
Message-ID:<br>
<CAF9ehCUPi0yKAO=<a href="mailto:KFGWMAFX6cHB02cHjep3ukfkV36qzNcZOrQ@mail.gmail.com" rel="noreferrer noreferrer" target="_blank">KFGWMAFX6cHB02cHjep3ukfkV36qzNcZOrQ@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
This BSP builds for me off the master. There are multiple variants within<br>
this<br>
BSP family and various configurations you could have used. Could you<br>
share your configure command?<br>
<br>
Mine was:<br>
<br>
../rtems/configure --target=arm-rtems5<br>
--enable-rtemsbsp=tms570ls3137_hdk_sdram<br>
--prefix=/home/joel/rtems-work/tools/5/bsp-install --enable-networking<br>
--enable-posix --disable-smp --disable-multiprocessing<br>
--disable-rtems-debug --disable-profiling --enable-tests --enable-cxx<br>
--enable-maintainer-mode<br>
<br>
<br>
Thanks.<br>
<br>
--joel<br>
<br>
On Tue, May 7, 2019 at 8:44 AM Aby Tom <<a href="mailto:abythayil@gmail.com" rel="noreferrer noreferrer" target="_blank">abythayil@gmail.com</a>> wrote:<br>
<br>
> Hello everyone,<br>
><br>
> I am new to RTEMS, and was trying to build a new bsp for RTEMS 5 for<br>
> tms570 family of boards.<br>
><br>
> While doing the make, i come across this error.<br>
><br>
> I had done --enable-tests in the previous command.<br>
><br>
> Can anyone help me with this? Output from terminal is shown below.<br>
><br>
> (.... represent some omitted output results)<br>
><br>
> .....<br>
><br>
> /home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/nfs.c:<br>
> In function 'nfs_fsunmount_me':<br>
> /home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/nfs.c:1928:7:<br>
> warning: variable 'status' set but not used [-Wunused-but-set-variable]<br>
> int status;<br>
> .....<br>
><br>
> /home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:<br>
> In function 'rpcUdpServerCreate':<br>
> /home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:567:11:<br>
> error: 'llock' undeclared (first use in this function); did you mean<br>
> 'clock'?<br>
> MU_LOCK( llock );<br>
><br>
> .....<br>
><br>
> /home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:204:54:<br>
> note: in definition of macro 'MU_LOCK'<br>
> #define MU_LOCK(mutex) rtems_recursive_mutex_lock(&(mutex))<br>
><br>
><br>
> /home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:567:11:<br>
> note: each undeclared identifier is reported only once for each function it<br>
> appears in<br>
> MU_LOCK( llock );<br>
><br>
> .....<br>
><br>
> /home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:<br>
> In function 'rpcUdpXactCreate':<br>
> /home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:667:11:<br>
> error: 'hlock' undeclared (first use in this function); did you mean<br>
> 'clock'?<br>
> MU_LOCK(hlock);<br>
> ^<br>
> /home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:204:54:<br>
> note: in definition of macro 'MU_LOCK'<br>
> #define MU_LOCK(mutex) rtems_recursive_mutex_lock(&(mutex))<br>
> ^~~~~<br>
> /home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:<br>
> In function 'rpcUdpXactDestroy':<br>
> /home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:711:11:<br>
> error: 'hlock' undeclared (first use in this function); did you mean<br>
> 'clock'?<br>
> MU_LOCK(hlock);<br>
> ^<br>
> /home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:204:54:<br>
> note: in definition of macro 'MU_LOCK'<br>
> #define MU_LOCK(mutex) rtems_recursive_mutex_lock(&(mutex))<br>
> ^~~~~<br>
> /home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:<br>
> In function 'rpcUdpRcv':<br>
> /home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:813:19:<br>
> warning: variable 'status' set but not used [-Wunused-but-set-variable]<br>
> rtems_status_code status;<br>
> ^~~~~~<br>
> /home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:<br>
> In function 'rpcUdpInit':<br>
> /home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:938:15:<br>
> error: 'hlock' undeclared (first use in this function); did you mean<br>
> 'clock'?<br>
> MU_CREAT( &hlock );<br>
> ^<br>
> /home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:208:54:<br>
> note: in definition of macro 'MU_CREAT'<br>
> #define MU_CREAT(pmutex) rtems_recursive_mutex_init((pmutex), "RPCl")<br>
> ^~~~~~<br>
> /home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:939:15:<br>
> error: 'llock' undeclared (first use in this function); did you mean<br>
> 'hlock'?<br>
> MU_CREAT( &llock );<br>
> ^<br>
> /home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:208:54:<br>
> note: in definition of macro 'MU_CREAT'<br>
> #define MU_CREAT(pmutex) rtems_recursive_mutex_init((pmutex), "RPCl")<br>
> ^~~~~~<br>
> /home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:924:19:<br>
> warning: variable 'wkup' set but not used [-Wunused-but-set-variable]<br>
> struct sockwakeup wkup;<br>
> ^~~~<br>
> /home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:922:19:<br>
> warning: variable 'status' set but not used [-Wunused-but-set-variable]<br>
> rtems_status_code status;<br>
> ^~~~~~<br>
> /home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:921:7:<br>
> warning: variable 's' set but not used [-Wunused-but-set-variable]<br>
> int s;<br>
> ^<br>
> /home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:<br>
> In function 'rpcio_daemon':<br>
> /home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:1173:12:<br>
> error: 'hlock' undeclared (first use in this function); did you mean<br>
> 'clock'?<br>
> MU_LOCK(hlock);<br>
> ^<br>
> /home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:204:54:<br>
> note: in definition of macro 'MU_LOCK'<br>
> #define MU_LOCK(mutex) rtems_recursive_mutex_lock(&(mutex))<br>
> ^~~~~<br>
> /home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:1149:19:<br>
> warning: variable 'status' set but not used [-Wunused-but-set-variable]<br>
> rtems_status_code status;<br>
> ^~~~~~<br>
> /home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:<br>
> In function 'rpcUdpXactPoolCreate':<br>
> /home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:1508:19:<br>
> warning: variable 'status' set but not used [-Wunused-but-set-variable]<br>
> rtems_status_code status;<br>
> ^~~~~~<br>
> Makefile:11245: recipe for target 'libfs/src/nfsclient/src/rpcio.o' failed<br>
> make[4]: *** [libfs/src/nfsclient/src/rpcio.o] Error 1<br>
> make[4]: Leaving directory<br>
> Makefile:1221: recipe for target 'cpukit' failed<br>
> make[3]: *** [cpukit] Error 2<br>
> make[3]: Leaving directory<br>
> Makefile:715: recipe for target 'all-recursive' failed<br>
> make[2]: *** [all-recursive] Error 1<br>
> make[2]: Leaving directory<br>
> Makefile:289: recipe for target 'all-recursive' failed<br>
> make[1]: *** [all-recursive] Error 1<br>
> make[1]: Leaving directory<br>
> Makefile:410: recipe for target 'all-recursive' failed<br>
> make: *** [all-recursive] Error 1<br>
><br>
><br>
> Thank you.<br>
> Regards,<br>
> Aby<br>
> _______________________________________________<br>
> devel mailing list<br>
> <a href="mailto:devel@rtems.org" rel="noreferrer noreferrer" target="_blank">devel@rtems.org</a><br>
> <a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer noreferrer noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.rtems.org/pipermail/devel/attachments/20190507/15d73ec9/attachment.html" rel="noreferrer noreferrer noreferrer" target="_blank">http://lists.rtems.org/pipermail/devel/attachments/20190507/15d73ec9/attachment.html</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" rel="noreferrer noreferrer" target="_blank">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer noreferrer noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
<br>
------------------------------<br>
<br>
End of devel Digest, Vol 90, Issue 37<br>
*************************************<br>
</blockquote></div></div></div>