Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

building python interface failed on OS X (python 2.6): dnet.c problems #21

Closed
GoogleCodeExporter opened this issue Jun 14, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. python setup.py build

After building libdnet from svn (subsequent to 1.12)

building the python interface starts with:

creating build/temp.macosx-10.6-universal-2.6
gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -Os -Wall 
-Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch ppc -arch x86_64 -pipe 
-I../include 
-I/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c 
./dnet.c -o build/temp.macosx-10.6-universal-2.6/./dnet.o
./dnet.c:62: warning: this decimal constant is unsigned only in ISO C90
./dnet.c: In function ‘__pyx_f_4dnet___oserror’:
./dnet.c:447: warning: function declaration isn’t a prototype
./dnet.c: In function ‘__pyx_f_4dnet_3eth_get’:
./dnet.c:581: warning: pointer targets in passing argument 1 of 
‘PyString_FromStringAndSize’ differ in signedness

and dnet.c just doesn't build.  I am seeing an -arch ppc  which seems 
suspicious.

Original issue reported on code.google.com by gregory....@gmail.com on 2 Aug 2011 at 8:51

@ofalk
Copy link
Owner

ofalk commented Sep 8, 2020

Sorry for this, but I'll close this, since we'll no longer support py3.

@ofalk ofalk closed this as completed Sep 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants