URL:
  <http://savannah.gnu.org/bugs/?23356>

                 Summary: compilation of gsweb fails on openbsd due to not
included unistd.h
                 Project: GNUstep
            Submitted by: buzzdee
            Submitted on: Sunday 05/25/2008 at 19:36
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

compiling gsweb on openbsd fails while compiling stacktrace.m:

 Compiling file NSData+Compress.m ...
 Compiling file stacktrace.m ...
stacktrace.m:33:1: warning: "USE_BUILTIN" redefined
<command line>:15:1: warning: this is the location of the previous
definition
stacktrace.m:111: error: `STDOUT_FILENO' undeclared here (not in a function)
stacktrace.m: In function `StackTrace':
stacktrace.m:516: warning: implicit declaration of function `write'
stacktrace.m: In function `StackTraceInit':
stacktrace.m:810: error: `STDOUT_FILENO' undeclared (first use in this
function)
stacktrace.m:810: error: (Each undeclared identifier is reported only once
stacktrace.m:810: error: for each function it appears in.)
gmake[2]: *** [obj/GSWeb/stacktrace.o] Error 1
gmake[1]: *** [GSWeb.all.framework.variables] Error 2
gmake[1]: Leaving directory
`/usr/local/src/gnustep-gsweb-trunk/GSWeb.framework'
gmake: *** [internal-all] Error 2

unistd.h is not included, because PLATFORM_UNIX is not defined.

appended patch fixes the problem.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sunday 05/25/2008 at 19:36  Name: patch.openbsd  Size: 595B   By:
buzzdee

<http://savannah.gnu.org/bugs/download.php?file_id=15732>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?23356>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



_______________________________________________
Bug-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to