Status of *AT functions in
Eshan Dhawan
eshandhawan51 at gmail.com
Thu Jul 23 22:50:11 UTC 2020
I wrote a basic test file in Libbsd to see if the *at functions are present
in libbsd
But all the functions returned undefined reference
Link to the test file :
https://github.com/eshandhawan51/rtems-libbsd/blob/file_tests/testsuite/at_functions/test_main.c
Link to the function table :
https://docs.google.com/spreadsheets/d/1nEniQOs9TxDy5fb7P0_XFg7VknQDldG1BDFWSoqdKg0/edit?usp=sharing
Log :
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':
/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'
/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'
/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'
/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'
/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'
/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'
/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'
/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'
/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'
/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'
/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'
/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'
/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'
/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'
/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'
collect2: error: ld returned 1 exit status
Waf: Leaving directory
`/home/eshan/development/rtems/kernel/rtems-libbsd/build/arm-rtems5-xilinx_zynq_a9_qemu-default'
Build failed
-> task in 'at_functions.exe' failed with exit status 1 (run with -v to
display more information)
--
Thanks
- Eshan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20200724/2fccb35d/attachment.html>
More information about the devel
mailing list