[Python-bugs-list] [Bug #117329] Compile Python 2.0 on BSDI BSD/OS 4.0.1 fails

noreply@sourceforge.net noreply@sourceforge.net
Mon, 13 Nov 2000 12:40:24 -0800


Bug #117329, was updated on 2000-Oct-20 10:08
Here is a current snapshot of the bug.

Project: Python
Category: Build
Status: Closed
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!
-------------------------------------------------------

Date: 2000-Nov-13 12:40
By: gvanrossum

Comment:
I believe this is fixed now. A patch is also present on

http://www.python.org/cgi-bin/moinmoin/MiscPatches

(TELL64 problems on BSDI and Mac OSX)
-------------------------------------------------------

For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=117329&group_id=5470