[Python-bugs-list] [ python-Bugs-418314 ] __eprintf undefined on Sun-OS 5.6
noreply@sourceforge.net
noreply@sourceforge.net
Sat, 02 Jun 2001 03:23:19 -0700
Bugs item #418314, was updated on 2001-04-23 11:36
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=418314&group_id=5470
Category: Build
Group: None
>Status: Closed
>Resolution: Wont Fix
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Martin v. Löwis (loewis)
Summary: __eprintf undefined on Sun-OS 5.6
Initial Comment:
I downloaded python-2.1, configured, built and
installed it. When I try to use the C-API, I get this
error:
Undefined first referenced
symbol in file
__eprintf
/home/aalen/python/lib/python2.1/config/libpython2.1.a(classobject.o)
Program (interp.C):
#include <Python.h>
main () {
Py_Initialize();
}
Linking:
/opt/SUNWspro4.2/bin/CC -o ./interp interp.o
-L/wherever/python/lib/python2.1/config
-R/wherever/python/lib/python2.1/config -lpython2.1
-ldl
----------------------------------------------------------------------
>Comment By: Martin v. Löwis (loewis)
Date: 2001-06-02 03:23
Message:
Logged In: YES
user_id=21627
Since there was no feedback on my questions, I close this
report as "won't fix".
----------------------------------------------------------------------
Comment By: Martin v. Löwis (loewis)
Date: 2001-04-24 10:10
Message:
Logged In: YES
user_id=21627
Could it be that you have been using gcc to build Python?
If so, you also need to use gcc to link your executables, or
explicitly link libgcc.a.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=418314&group_id=5470