Compiling 2.5.1 on OpenBSD 4.1

"Martin v. Löwis" martin at
Sun Jul 29 06:46:09 CEST 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.


More information about the Python-list mailing list