Message70935
I wanted to use Py_DEBUG build to help debug a problem
with ref counts in a C++ extension.
I cannot find eprintf in the sources of python
where does this symbol come from? How do I fix the
build to define it?
$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.4.11
BuildVersion: 8S165
$ ./configure --enable-framework --enable-debug --with-pydebug
$ make
...
/usr/bin/install -c -d -m 755 Python.framework/Versions/3.0
if test ""; then \
gcc -o Python.framework/Versions/3.0/Python -dynamiclib \
-isysroot "" \
-all_load libpython3.0.a -Wl,-single_module \
-install_name
/Library/Frameworks/Python.framework/Versions/3.0/Python \
-compatibility_version 3.0 \
-current_version 3.0; \
else \
/usr/bin/libtool -o Python.framework/Versions/3.0/Python
-dynamic libpython3.0.a \
-lSystem -lSystemStubs -arch_only ppc -install_name
/Library/Frameworks/Python.framework/Versions/3.0/Python
-compatibility_version 3.0 -current_version 3.0 ;\
fi
ld: Undefined symbols:
___eprintf
/usr/bin/libtool: internal link edit command failed
make: *** [Python.framework/Versions/3.0/Python] Error 1 |
|
Date |
User |
Action |
Args |
2008-08-09 16:46:11 | barry-scott | set | recipients:
+ barry-scott |
2008-08-09 16:46:11 | barry-scott | set | messageid: <1218300371.75.0.851068496859.issue3533@psf.upfronthosting.co.za> |
2008-08-09 16:45:11 | barry-scott | link | issue3533 messages |
2008-08-09 16:45:10 | barry-scott | create | |
|