Re: [farm-report] (no subject)

Anders Qvist <[email protected]> Sat, 20 Jul 2002 01:37:58 +0200
Newsgroups gmane.comp.python.snake-farm.user
Message-ID <[email protected]>
On Fri, Jul 19, 2002 at 11:46:38PM +0100, Snake Farmer wrote:
> To: [email protected]
> Subject: Build python-AIX-2-000000042E00-hal was successful.
> Build all succeded. Any warnings are appended below.

Impromptu build with locally defined fdatasync:

diff -u -r2.244 posixmodule.c
--- posixmodule.c	15 Jul 2002 16:10:55 -0000	2.244
+++ posixmodule.c	19 Jul 2002 22:16:23 -0000
@@ -891,6 +891,10 @@
 extern int fdatasync(int); /* On HP-UX, in libc but not in unistd.h
*/
 #endif
 
+#ifdef _AIX
+extern int fdatasync(int);
+#endif
+
 PyDoc_STRVAR(posix_fdatasync__doc__,
 "fdatasync(fildes)\n\n\
 force write of file with filedescriptor to disk.\n\

Seems to work. make all succeeded.

> --
> ../python/dist/src/Python/mysnprintf.c: In function `PyOS_vsnprintf':
> ../python/dist/src/Python/mysnprintf.c:65: warning: implicit declaration of function `vsnprintf'
> ../python/dist/src/Python/thread_pthread.h: In function `PyThread__init_thread':
> In file included from ../python/dist/src/Python/thread.c:104:
> ../python/dist/src/Python/thread_pthread.h:159: warning: implicit declaration of function `pthread_init'
> ../python/dist/src/Modules/posixmodule.c: In function `posix_seteuid':
> ../python/dist/src/Modules/posixmodule.c:3824: warning: implicit declaration of function `seteuid'
> ../python/dist/src/Modules/posixmodule.c: In function `posix_setegid':
> ../python/dist/src/Modules/posixmodule.c:3844: warning: implicit declaration of function `setegid'
> :: Too many arguments.
> :: Too many arguments.
> :: Too many arguments.

These guys come from ld_so_aix, line 76:

# Check for existence of compiler.
CC=$1; shift
whichcc=`which $CC`

The script is executed with sh. You prolly want to use type -p. I'll
make a patch tomorrow.

[snip]

-- 
Anders "Quest" Qvist

"We've all heard that a million monkeys banging on a million typewriters
will eventually reproduce the entire works of Shakespeare. Now, thanks 
to the Internet, we know this is not true." -- Robert Wilensky