Hello, A few weeks ago, I reported a problem to gnulib where the errno module would still be missing the EILSEQ macro on systems that do not define it (in this particular case: LynxOS 178): http://lists.gnu.org/archive/html/bug-gnulib/2012-10/msg00088.html
The problem was solved by defining EILSEQ to an arbitrary value (2015). See commit daf7f8c02242c535d596231e2f655109b97fa2bc. However, when I suggested the use of the errno module in GDB, one of the maintainers remarked that libiconv uses a different strategy, which is to define it to ENOENT. http://www.sourceware.org/ml/gdb-patches/2012-12/msg00554.html This makes the two libraries incompatible at this level. In terms of the build error on Lynx178, what I ended up doing was compile with -DEILSEQ=ENOENT. In the future, I am wondering whether it might be helpful for GNU projects to synchronize their approach to this issue. -- Joel