bugGNUstep - Bugs: bug #23356, compilation of gsweb fails on...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #23356: compilation of gsweb fails on openbsd due to not included unistd.h

Submitted by:  Sebastian Reitenbach <buzzdee>
Submitted on:  Sun 25 May 2008 07:36:10 PM UTC  
 
Category: gswebSeverity: 3 - Normal
Item Group: BugStatus: Fixed
Privacy: PublicAssigned to: David Ayers <ayers>
Open/Closed: Closed

Sun 25 May 2008 09:46:12 PM UTC, comment #1:

Thanks, applied!

I think that the entire file needs to be cleanup... well actually be made obsolete with corresponding -baseadditions support with I believe we partially have (well at least in -base).

But that's for another day.

Cheers,
David

David Ayers <ayers>
Project MemberIn charge of this item.
Sun 25 May 2008 07:36:10 PM UTC, original submission:

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.

Sebastian Reitenbach <buzzdee>
Project Member

 

Attached Files
file #15732:  patch.openbsd added by buzzdee (595B - text/x-diff)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by ayers (Posted a comment)
  • -unavailable- added by buzzdee (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 25 May 2008 09:46:12 PM UTCayersCategoryNone=>gsweb
      Item GroupNone=>Bug
      StatusNone=>Fixed
      Assigned toNone=>ayers
      Open/ClosedOpen=>Closed
    Sun 25 May 2008 07:36:10 PM UTCbuzzdeeAttached File-=>Added patch.openbsd, #15732

    Back to the top


    Powered by Savane 3.1-cleanup1