AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only
  • 1.  Some sort of problem with /usr/include/unistd.h

    Posted Thu January 17, 2008 10:43 AM

    Originally posted by: SystemAdmin


    Has anyone noticed this problem?

    /usr/include/inistd.h has three lines that both the AIX make and GNU make seem to get hung on. These are lines 914 through 916. There is something about 'rid_t' and a '(' being expected before '[' and some other errors involved.

    Anyway, I saved the file, remarked out the three lines (914-916) and tried running my compile again and found that everything worked just fine.

    I'm think maybe that there needs to be a patch for this file.


  • 2.  Re: Some sort of problem with /usr/include/unistd.h

    Posted Fri January 18, 2008 05:13 AM

    Originally posted by: nagger


    Hi,
    No clue here on the AIX version you are running and it seems you have a habit of modifying master header files - sound to me like you may have corrupted the file in the first place :-)

    My AIX 5.3 ML4 file has nothing like a rid_t in it.

    Have you another identical level machine to see if the header file is complete/unchanged?

    Or post the output from
    oslevel -r
    and
    oslevel -s

    here and you might get luck and someone can send you a copy.

    Hope this helps, N


  • 3.  Re: Some sort of problem with /usr/include/unistd.h

    Posted Fri January 18, 2008 08:21 AM

    Originally posted by: SystemAdmin


    Hello,

    Yes we have the same problems here when trying to compile postgresql-8.2.5 on AIX 6.1 ( using GCC 4.0.0 ).

    The (dirty) trick of commenting out 3 lines in unistd.h is not enough :
    the include file : /usr/include/sys/secattr.h has similar problems.

    Jean

    Message was edited by: jeanduer


  • 4.  Re: Some sort of problem with /usr/include/unistd.h

    Posted Wed February 06, 2008 04:19 PM

    Originally posted by: SystemAdmin


    Turns out to be a problem with running gcc for AIX 5.3 on AIX6.1. I'm told that a GCC for AIX 6.1 will be available soon