vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi all, I am building Python on AIX, and have run into issues building its nis extension. The problem is caused by a missing declaration of yperr_string() function. A quick look in yp headers (/usr/include/rpcsvc/ypclnt.h) reveals the following: extern char *ypserr_string(int); where rest of the world has: extern char *yperr_string(int); AIX documentation talks about yperr_string() and not ypserr_string, and dump or nm on libc.a also shows that yperr_string() is exported and not ypserr_string(). Is this a typo in the ypclnt.h header, or is the header correct and I am missing something. Thanks jozek |
| |||
| malyjozek@hotmail.com wrote in message news:<262ff291.0309220813.1b5bf766@posting.google. com>... > Hi all, > > I am building Python on AIX, and have run into issues building its nis > extension. The problem is caused by a missing declaration of > yperr_string() function. > > A quick look in yp headers (/usr/include/rpcsvc/ypclnt.h) reveals the > following: > extern char *ypserr_string(int); > > where rest of the world has: > extern char *yperr_string(int); > > AIX documentation talks about yperr_string() and not ypserr_string, > and dump or nm on libc.a also shows that yperr_string() is exported > and not ypserr_string(). > > Is this a typo in the ypclnt.h header, or is the header correct and I > am missing something. I think you must be missing your good ol' standard Solaris system :-) All humor aside, I believe it is a type. I've just been bitten by this when trying to build the latest NET-NIS module for perl. Now, are you going to report it to IBM, or should I? John. |
| ||||
| allenjo5@mail.northgrum.com (John L. Allen) wrote in message news:<95556f1e.0310060934.206bb8b1@posting.google. com>... > malyjozek@hotmail.com wrote in message news:<262ff291.0309220813.1b5bf766@posting.google. com>... > > Hi all, > > > > I am building Python on AIX, and have run into issues building its nis > > extension. The problem is caused by a missing declaration of > > yperr_string() function. > > > > A quick look in yp headers (/usr/include/rpcsvc/ypclnt.h) reveals the > > following: > > extern char *ypserr_string(int); > > > > where rest of the world has: > > extern char *yperr_string(int); > > > > AIX documentation talks about yperr_string() and not ypserr_string, > > and dump or nm on libc.a also shows that yperr_string() is exported > > and not ypserr_string(). > > > > Is this a typo in the ypclnt.h header, or is the header correct and I > > am missing something. > > I think you must be missing your good ol' standard Solaris system :-) > > All humor aside, I believe it is a type. I've just been bitten by > this when trying to build the latest NET-NIS module for perl. > > Now, are you going to report it to IBM, or should I? > > John. I already let IBM know about this. They confirmed that this was a typo, and promised that it will be fixed with an APAR available mid-November. |