Issue 4639: Build failure on OpenBSD 4.4-current regarding lstat() (original) (raw)
Issue4639
Created on 2008-12-12 14:11 by vext01, last changed 2022-04-11 14:56 by admin. This issue is now closed.
Messages (4) | ||
---|---|---|
msg77667 - (view) | Author: Edd (vext01) | Date: 2008-12-12 14:11 |
Hi, I just had to move the "extern lstat..." outside the "ifndef HAVE_LSTAT" to get python 2.6.1 to build on OpenBSD 4.4-current/i386. I'm not suggesting this is correct, but it fixes the build for my platform at least. --- Modules/posixmodule.c.orig Fri Dec 12 11:08:54 2008 +++ Modules/posixmodule.c Fri Dec 12 11:54:16 2008 @@ -208,10 +208,11 @@ #ifdef HAVE_SYMLINK extern int symlink(const char *, const char *); #endif /* HAVE_SYMLINK */ +#endif /* !HAVE_UNISTD_H */ + #ifdef HAVE_LSTAT extern int lstat(const char *, struct stat *); #endif /* HAVE_LSTAT */ -#endif /* !HAVE_UNISTD_H */ #endif /* !_MSC_VER */ Im using gcc-4.2 Thanks | ||
msg99376 - (view) | Author: Martin v. Löwis (loewis) * ![]() |
Date: 2010-02-15 21:49 |
Can you please try the Python trunk (or release26-maint branch) and report whether the problem still occurs? | ||
msg99377 - (view) | Author: Stefan Krah (skrah) * ![]() |
Date: 2010-02-15 23:27 |
This is fixed in trunk by the configure.in patch. I've tested trunk on 4.4 and 4.7. | ||
msg102935 - (view) | Author: Stefan Krah (skrah) * ![]() |
Date: 2010-04-12 09:53 |
This has been fixed in issue 7903. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:56:42 | admin | set | github: 48889 |
2010-04-12 09:53:11 | skrah | set | status: open -> closedassignee: skrahkeywords: + patchmessages: + superseder: Configure script incorrect for reasonably recent OpenBSDresolution: duplicatestage: resolved |
2010-02-15 23:27:09 | skrah | set | nosy: + skrahmessages: + |
2010-02-15 21:49:26 | loewis | set | nosy: + loewismessages: + |
2008-12-12 14:11:18 | vext01 | create |