Compiling 2.5.1 on OpenBSD 4.1

"Martin v. Löwis" martin at v.loewis.de
Sun Jul 29 00:46:09 EDT 2007


> I'm stumped.  Any suggestions?

You will have to find the true declaration of lstat - reading
man pages or checking that everything "looks right" won't help.

So where is lstat declared? Is it declared at all, and if so,
is that declaration conditional perhaps?

Produce a preprocessor output (posixmodule.i), by adding
-fsave-temps to the compiler line compiling posixmodule.c
(copy the line from the make output into a shell, and add
this command line); then inspect that output to see whether
lstat has been declared.

Regards,
Martin



More information about the Python-list mailing list