bugGNU Screen - Bugs: bug #33588, osdef.h:91: error: conflicting...


bug #33588: osdef.h:91: error: conflicting types for 'naccept'

Submitted by:  pirabarlen Cheenaramen <pcthegreat>
Submitted on:  Fri 17 Jun 2011 07:58:13 PM UTC  
Category:  Build/Install Severity:  3 - Normal
Priority:  5 - Normal Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Release:  Cur Dev Sources
Fixed Release:  None Planned Release:  4.1.0
Work Required:  None

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Fri 17 Jun 2011 07:59:57 PM UTC, comment #1:

uname -a
AIX myhost 3 5 00CB083F4C00

pirabarlen Cheenaramen <pcthegreat>
Fri 17 Jun 2011 07:58:13 PM UTC, original submission:

When trying to make on aix

osdef.h:91: error: conflicting types for 'naccept'
/usr/include/sys/socket.h:534: error: previous declaration of 'naccept' was here
make: 1254-004 The error code from the last command is 1.

Here's the fix:

osdef.h, line in question:
89 #ifdef NAMEDPIPE
90 #else
91 extern int accept __P((int, struct sockaddr , int ));
92 #endif

socket.h, line in question
533 #if !defined(_ALL_SOURCE) || defined(_KERNEL) || !defined(__cplusplus)
534 int accept(int, struct sockaddr _restrict_, socklen_t _restrict_);
535 int getpeername(int, struct sockaddr _restrict_, socklen_t _restrict_);

Line 91 should be:
extern int accept __P((int, struct sockaddr , socklen_t ));

Also add #include <sys/socket.h> on top of your osdef.h otherwise it will complain over and over. make && make install fine after that.

Pirabarlen Cheenaramen
pcthegreat [AT] gmail

pirabarlen Cheenaramen <pcthegreat>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #31420:  0001-Fix-bug-33588-osdef.h-91-error-conflicting-types-for.patch added by ewfalor (2KiB - text/x-diff - This patch makes Screen 4.2.1 build on AIX 6.1 and 7.1)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by ewfalor (Updated the item)
  • -email is unavailable- added by pcthegreat (Submitted the item)

    Do you think this task is very important?
    If so, you can 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):



    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    Fri 23 May 2014 04:51:46 AM UTC ewfalor Attached File- => Added 0001-Fix-bug-33588-osdef.h-91-error-conflicting-types-for.patch, #31420

    Back to the top

    Powered by Savane 3.3