<div dir="ltr"><div><div>I wrote a basic test file in Libbsd to see if the *at functions are present in libbsd <br></div>But all the functions returned undefined reference <br></div>Link to the test file : <a href="https://github.com/eshandhawan51/rtems-libbsd/blob/file_tests/testsuite/at_functions/test_main.c">https://github.com/eshandhawan51/rtems-libbsd/blob/file_tests/testsuite/at_functions/test_main.c</a><div><div><div>Link to the function table : <a href="https://docs.google.com/spreadsheets/d/1nEniQOs9TxDy5fb7P0_XFg7VknQDldG1BDFWSoqdKg0/edit?usp=sharing">https://docs.google.com/spreadsheets/d/1nEniQOs9TxDy5fb7P0_XFg7VknQDldG1BDFWSoqdKg0/edit?usp=sharing</a></div><div><br></div><div>Log : <br></div><div>home/eshan/development/rtems/5/lib/gcc/arm-rtems5/7.5.0/../../../../arm-rtems5/bin/ld: testsuite/at_functions/test_main.c.48.o: in function `test_main':<br>/home/eshan/development/rtems/kernel/rtems-libbsd/build/arm-rtems5-xilinx_zynq_a9_qemu-default/../../testsuite/at_functions/test_main.c:72: undefined reference to `bindat'<br>/home/eshan/development/rtems/5/lib/gcc/arm-rtems5/7.5.0/../../../../arm-rtems5/bin/ld: /home/eshan/development/rtems/kernel/rtems-libbsd/build/arm-rtems5-xilinx_zynq_a9_qemu-default/../../testsuite/at_functions/test_main.c:74: undefined reference to `connectat'<br>/home/eshan/development/rtems/5/lib/gcc/arm-rtems5/7.5.0/../../../../arm-rtems5/bin/ld: /home/eshan/development/rtems/kernel/rtems-libbsd/build/arm-rtems5-xilinx_zynq_a9_qemu-default/../../testsuite/at_functions/test_main.c:77: undefined reference to `faccessat'<br>/home/eshan/development/rtems/5/lib/gcc/arm-rtems5/7.5.0/../../../../arm-rtems5/bin/ld: /home/eshan/development/rtems/kernel/rtems-libbsd/build/arm-rtems5-xilinx_zynq_a9_qemu-default/../../testsuite/at_functions/test_main.c:80: undefined reference to `renameat'<br>/home/eshan/development/rtems/5/lib/gcc/arm-rtems5/7.5.0/../../../../arm-rtems5/bin/ld: /home/eshan/development/rtems/kernel/rtems-libbsd/build/arm-rtems5-xilinx_zynq_a9_qemu-default/../../testsuite/at_functions/test_main.c:84: undefined reference to `scandirat'<br>/home/eshan/development/rtems/5/lib/gcc/arm-rtems5/7.5.0/../../../../arm-rtems5/bin/ld: /home/eshan/development/rtems/kernel/rtems-libbsd/build/arm-rtems5-xilinx_zynq_a9_qemu-default/../../testsuite/at_functions/test_main.c:87: undefined reference to `fchownat'<br>/home/eshan/development/rtems/5/lib/gcc/arm-rtems5/7.5.0/../../../../arm-rtems5/bin/ld: /home/eshan/development/rtems/kernel/rtems-libbsd/build/arm-rtems5-xilinx_zynq_a9_qemu-default/../../testsuite/at_functions/test_main.c:90: undefined reference to `linkat'<br>/home/eshan/development/rtems/5/lib/gcc/arm-rtems5/7.5.0/../../../../arm-rtems5/bin/ld: /home/eshan/development/rtems/kernel/rtems-libbsd/build/arm-rtems5-xilinx_zynq_a9_qemu-default/../../testsuite/at_functions/test_main.c:93: undefined reference to `readlinkat'<br>/home/eshan/development/rtems/5/lib/gcc/arm-rtems5/7.5.0/../../../../arm-rtems5/bin/ld: /home/eshan/development/rtems/kernel/rtems-libbsd/build/arm-rtems5-xilinx_zynq_a9_qemu-default/../../testsuite/at_functions/test_main.c:96: undefined reference to `unlinkat'<br>/home/eshan/development/rtems/5/lib/gcc/arm-rtems5/7.5.0/../../../../arm-rtems5/bin/ld: /home/eshan/development/rtems/kernel/rtems-libbsd/build/arm-rtems5-xilinx_zynq_a9_qemu-default/../../testsuite/at_functions/test_main.c:99: undefined reference to `futimesat'<br>/home/eshan/development/rtems/5/lib/gcc/arm-rtems5/7.5.0/../../../../arm-rtems5/bin/ld: /home/eshan/development/rtems/kernel/rtems-libbsd/build/arm-rtems5-xilinx_zynq_a9_qemu-default/../../testsuite/at_functions/test_main.c:102: undefined reference to `openat'<br>/home/eshan/development/rtems/5/lib/gcc/arm-rtems5/7.5.0/../../../../arm-rtems5/bin/ld: /home/eshan/development/rtems/kernel/rtems-libbsd/build/arm-rtems5-xilinx_zynq_a9_qemu-default/../../testsuite/at_functions/test_main.c:105: undefined reference to `fchmodat'<br>/home/eshan/development/rtems/5/lib/gcc/arm-rtems5/7.5.0/../../../../arm-rtems5/bin/ld: /home/eshan/development/rtems/kernel/rtems-libbsd/build/arm-rtems5-xilinx_zynq_a9_qemu-default/../../testsuite/at_functions/test_main.c:108: undefined reference to `mkfifoat'<br>/home/eshan/development/rtems/5/lib/gcc/arm-rtems5/7.5.0/../../../../arm-rtems5/bin/ld: /home/eshan/development/rtems/kernel/rtems-libbsd/build/arm-rtems5-xilinx_zynq_a9_qemu-default/../../testsuite/at_functions/test_main.c:111: undefined reference to `mknodat'<br>/home/eshan/development/rtems/5/lib/gcc/arm-rtems5/7.5.0/../../../../arm-rtems5/bin/ld: /home/eshan/development/rtems/kernel/rtems-libbsd/build/arm-rtems5-xilinx_zynq_a9_qemu-default/../../testsuite/at_functions/test_main.c:114: undefined reference to `utimensat'<br>collect2: error: ld returned 1 exit status<br><br>Waf: Leaving directory `/home/eshan/development/rtems/kernel/rtems-libbsd/build/arm-rtems5-xilinx_zynq_a9_qemu-default'<br>Build failed<br> -> task in 'at_functions.exe' failed with exit status 1 (run with -v to display more information)<br></div><div><br clear="all"><div><br>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Thanks <br></div>- Eshan <br></div></div></div></div></div></div></div>