<div dir="ltr"><div dir="ltr">This BSP builds for me off the master. There are multiple variants within this <div>BSP family and various configurations you could have used. Could you</div><div>share your configure command? </div><div><br></div><div>Mine was:</div><div><br></div><div><div> ../rtems/configure --target=arm-rtems5 --enable-rtemsbsp=tms570ls3137_hdk_sdram --prefix=/home/joel/rtems-work/tools/5/bsp-install --enable-networking --enable-posix --disable-smp --disable-multiprocessing --disable-rtems-debug --disable-profiling --enable-tests --enable-cxx --enable-maintainer-mode</div></div><div><br></div><div><br></div><div>Thanks.</div><div><br></div><div>--joel</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, May 7, 2019 at 8:44 AM Aby Tom <<a href="mailto:abythayil@gmail.com">abythayil@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">Hello everyone,<div dir="auto"><br></div><div dir="auto">I am new to RTEMS, and was trying to build a new bsp for RTEMS 5 for tms570 family of boards. </div><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr"><br></div>While doing the make, i come across this error. </div><div class="gmail_quote" dir="auto"><br></div><div class="gmail_quote" dir="auto">I had done --enable-tests in the previous command. </div><div class="gmail_quote" dir="auto"><br></div><div class="gmail_quote" dir="auto">Can anyone help me with this? Output from terminal is shown below.</div><div class="gmail_quote" dir="auto"><br></div><div class="gmail_quote" dir="auto">(.... represent some omitted output results)</div><div class="gmail_quote" dir="auto"><br></div><div class="gmail_quote" dir="auto">.....<br><br><div dir="auto"><div style="font-family:Verdana;font-size:12px"><div>/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/nfs.c: In function 'nfs_fsunmount_me':<br>
/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]<br>
int status;</div>
<div>.....</div>
<div> </div>
<div>/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c: In function 'rpcUdpServerCreate':<br>
/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'?<br>
MU_LOCK( llock );</div>
<div><br>
.....</div>
<div> </div>
<div>/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:204:54: note: in definition of macro 'MU_LOCK'<br>
#define MU_LOCK(mutex) rtems_recursive_mutex_lock(&(mutex))</div>
<div><br>
<br>
/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<br>
MU_LOCK( llock );<br>
</div>
<div>.....</div>
<div> </div>
<div>/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c: In function 'rpcUdpXactCreate':<br>
/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'?<br>
MU_LOCK(hlock);<br>
^<br>
/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:204:54: 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: In function 'rpcUdpXactDestroy':<br>
/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'?<br>
MU_LOCK(hlock);<br>
^<br>
/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:204:54: 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: In function 'rpcUdpRcv':<br>
/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]<br>
rtems_status_code status;<br>
^~~~~~<br>
/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c: In function 'rpcUdpInit':<br>
/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'?<br>
MU_CREAT( &hlock );<br>
^<br>
/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:208:54: 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: error: 'llock' undeclared (first use in this function); did you mean 'hlock'?<br>
MU_CREAT( &llock );<br>
^<br>
/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:208:54: 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: 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: 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: 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: In function 'rpcio_daemon':<br>
/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'?<br>
MU_LOCK(hlock);<br>
^<br>
/home/dev/kernel/rtems/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:204:54: 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: 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: In function 'rpcUdpXactPoolCreate':<br>
/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]<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></div><div dir="auto"><br></div><div dir="auto">Thank you.</div><div dir="auto">Regards,</div><div dir="auto">Aby</div></div></div>
</div></div>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a></blockquote></div>