Re: "rpl_fprintf" not found if compiled with options "-ggdb -Og"

2021-07-31 Thread Paul Eggert
On 7/31/21 6:33 PM, Bjarni Ingi Gislason wrote: from ../src/devices/xditview/page.c:7: ./lib/unistd.h:663:3: error: #error "Please include config.h first." 663 | #error "Please include config.h first." | ^ That's a problem. page.c should include config.h first

Re: "rpl_fprintf" not found if compiled with options "-ggdb -Og"

2021-07-31 Thread Bjarni Ingi Gislason
On Sat, Jul 31, 2021 at 01:31:55AM -0700, Paul Eggert wrote: > On 7/30/21 6:43 PM, Bjarni Ingi Gislason wrote: > >Actually I am using the current repository of both "groff" and > > "gnulib". > > I can't reproduce the problem that way, either. I'm using Ubuntu 21.04. I > clone Savannah's latest

Re: "rpl_fprintf" not found if compiled with options "-ggdb -Og"

2021-07-31 Thread Paul Eggert
On 7/30/21 6:43 PM, Bjarni Ingi Gislason wrote: Actually I am using the current repository of both "groff" and "gnulib". I can't reproduce the problem that way, either. I'm using Ubuntu 21.04. I clone Savannah's latest groff (7ae6d67b7c310c54bb7176c761b1f9719e64201a), run this: ./bootstr

Re: "rpl_fprintf" not found if compiled with options "-ggdb -Og"

2021-07-30 Thread Bjarni Ingi Gislason
On Wed, Jul 28, 2021 at 02:37:00PM -0700, Paul Eggert wrote: > I'm not seeing this problem when building groff 1.22.4 (the latest version) > on Ubuntu 21.04, which has GCC Ubuntu 10.3.0-1ubuntu1. I built by doing > this: > > wget https://ftp.gnu.org/pub/gnu/groff/groff-1.22.4.tar.gz > cd groff-1.2

Re: "rpl_fprintf" not found if compiled with options "-ggdb -Og"

2021-07-28 Thread Paul Eggert
I'm not seeing this problem when building groff 1.22.4 (the latest version) on Ubuntu 21.04, which has GCC Ubuntu 10.3.0-1ubuntu1. I built by doing this: wget https://ftp.gnu.org/pub/gnu/groff/groff-1.22.4.tar.gz cd groff-1.22.4/ ./configure make What happens when you try the above steps on yo

"rpl_fprintf" not found if compiled with options "-ggdb -Og"

2021-07-28 Thread Bjarni Ingi Gislason
Software: groff and gcc (Debian 10.2.1-6) 10.2.1 20210110 Copyright (C) 2020 Free Software Foundation, Inc. Error: CCLD gxditview /usr/bin/ld: src/devices/xditview/gxditview-device.o: in function `open_device_file': /home/bg/git/groff/build/../src/devices/xditview/device.c:535: undefine