bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #60339] lib/unistd.in.h: compilation error: "config.h" is missing


From: Bjarni Ingi Gislason
Subject: [bug #60339] lib/unistd.in.h: compilation error: "config.h" is missing
Date: Sun, 4 Apr 2021 23:36:53 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

URL:
  <https://savannah.gnu.org/bugs/?60339>

                 Summary: lib/unistd.in.h: compilation error: "config.h" is
missing
                 Project: GNU troff
            Submitted by: bjarniig
            Submitted on: Mon 05 Apr 2021 03:36:51 AM UTC
                Category: Core
                Severity: 3 - Normal
              Item Group: Build/Installation
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

Subject: lib/unistd.in.h: compilation error: "config.h" is missing

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
      |                      ^
      |                      ;


  Fixed as suggested, which leads to the next compilation error:

  CC       src/devices/xditview/gxditview-xditview.o
  CC       src/libs/libxutil/libxutil_a-DviChar.o
  CC       src/libs/libxutil/libxutil_a-XFontName.o
  CC       src/libs/libxutil/libxutil_a-xmalloc.o
  AR       libxutil.a
  CCLD     gxditview
/usr/bin/ld: libxutil.a(libxutil_a-DviChar.o): in function `dispose_hash':
/home/bg/git/groff/build/../src/libs/libxutil/DviChar.c:90: undefined
reference to `rpl_free'
collect2: error: ld returned 1 exit status






    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?60339>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]