Follow-up Comment #1, bug #60338 (project groff):
Subject: compilation error: undefined reference to "rpl_free"
The output of "configure" shows:
checking whether free is known to preserve errno... no
Therefore "rpl_free" is used.
This can be fixed be adding
lib/free.c
to the variable "libdriver_a_SOURCES" in the file
"src/libs/libdriver/libdriver.am".
That causes the next compilation error:
In file included from /usr/include/X11/Xos.h:89,
from ../src/devices/xditview/font.c:7:
./lib/unistd.h:663:3: error: #error "Please include config.h first."
663 | #error "Please include config.h first."
| ^~~~~
./lib/unistd.h:665:24: error: expected ';' before 'extern'
665 | _GL_INLINE_HEADER_BEGIN
| ^
| ;
./lib/unistd.h:2806:22: error: expected ';' before 'struct'
2806 | _GL_INLINE_HEADER_END
| ^
| ;
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?60338>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/