[Python-bugs-list] [Bug #117329] Compile Python 2.0 on BSDI BSD/OS 4.0.1 fails
noreply@sourceforge.net
noreply@sourceforge.net
Wed, 25 Oct 2000 14:11:09 -0700
Bug #117329, was updated on 2000-Oct-20 10:08
Here is a current snapshot of the bug.
Project: Python
Category: Build
Status: Open
Resolution: None
Bug Group: Platform-specific
Priority: 3
Summary: Compile Python 2.0 on BSDI BSD/OS 4.0.1 fails
Details: When compiling Python 2.0. on BSDI BSD/OS 4.0.1
Configure
./configure --prefix=/usr/home/sud2000/python --with- threads=no
no problem
make
After a lot of warnings like :
.........
/usr/include/math.h:177: warning: function declaration
isn't a prototype
/usr/include/math.h:257: warning: function declaration
isn't a prototype
........
The compile failed with this message :
/usr/home/......./Python-2.0/Objects/fileobject.c:274:
undefined reference to `TELL64'
*** Error code 1
Stop.
*** Error code 1
Follow-Ups:
Date: 2000-Oct-24 13:00
By: dkwolfe
Comment:
The warnings also appear under Darwin as the BSD header files have issues with prototypes.
-------------------------------------------------------
Date: 2000-Oct-25 14:11
By: gvanrossum
Comment:
If you search for TELL64 in fileobject.c, you'll notice some code bracketed with #elif defined(__NetBSD__) || defined(__OpenBSD__). Try adding || defined(_HAVE_BSDI) to that line to see if that fixes it. If so, please let me know so we can apply the patch!
-------------------------------------------------------
For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=117329&group_id=5470