(CC to bug-inetutils) Today the compilation of libgnu for GNU Inetutils is broken in rpl_getcwd on OpenBSD 4.6. The code is correct for GNU/Linux, GNU/kFreeBSD, and GNU/OpenSolaris, but not OpenBSD.
The linker is not able to detect lib/getcwd.c: 246: undefined reference to 'fdopendir' lib/getcwd.c: 300: undefined reference to 'fstatat' Why is your code not falling back to the native getcwd()? Best regards, Mats Erik Andersson, on behalf of GNU Inetutils