[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #60338] compilation error: undefined reference to "rpl_free"
From: |
Bjarni Ingi Gislason |
Subject: |
[bug #60338] compilation error: undefined reference to "rpl_free" |
Date: |
Sun, 4 Apr 2021 23:18:41 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 |
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/