rlcjj / pyev

Automatically exported from code.google.com/p/pyev
0 stars 0 forks source link

Build problems on Darwin with Python 2.6.2 #4

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
running install
running build
running build_ext
building 'pyev' extension
/usr/bin/gcc-4.0 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv 
-O3 -
Wall -Wstrict-prototypes -DPYEV_VERSION="0.4.0" -DLIBEV_VERSION="3.53" -
I/opt/local/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 
-c 
src/pyev.c -o build/temp.macosx-10.5-i386-2.6/src/pyev.o
In file included from src/pyev.c:57:
src/libev/ev.c: In function ‘ev_feed_event’:
src/libev/ev.c:696: warning: unused variable ‘ocur_’
src/libev/ev.c: In function ‘fd_change’:
src/libev/ev.c:788: warning: unused variable ‘ocur_’
In file included from src/libev/ev.c:1221,
                 from src/pyev.c:57:
src/libev/ev_kqueue.c: In function ‘kqueue_change’:
src/libev/ev_kqueue.c:51: warning: unused variable ‘ocur_’
In file included from src/libev/ev.c:1227,
                 from src/pyev.c:57:
src/libev/ev_poll.c: In function ‘poll_modify’:
src/libev/ev_poll.c:66: warning: unused variable ‘ocur_’
In file included from src/pyev.c:57:
src/libev/ev.c: In function ‘ev_timer_start’:
src/libev/ev.c:2226: warning: unused variable ‘ocur_’
src/libev/ev.c: In function ‘ev_periodic_start’:
src/libev/ev.c:2313: warning: unused variable ‘ocur_’
src/libev/ev.c: In function ‘ev_idle_start’:
src/libev/ev.c:2789: warning: unused variable ‘ocur_’
src/libev/ev.c: In function ‘ev_prepare_start’:
src/libev/ev.c:2828: warning: unused variable ‘ocur_’
src/libev/ev.c: In function ‘ev_check_start’:
src/libev/ev.c:2864: warning: unused variable ‘ocur_’
src/libev/ev.c: In function ‘ev_fork_start’:
src/libev/ev.c:3008: warning: unused variable ‘ocur_’
src/libev/ev.c: In function ‘ev_async_start’:
src/libev/ev.c:3048: warning: unused variable ‘ocur_’
src/pyev.c: In function ‘Stat_stat’:
src/pyev.c:2811: warning: passing argument 2 of 
‘PyErr_SetFromErrnoWithFilename’ discards 
qualifiers from pointer target type
src/pyev.c: At top level:
src/pyev.c:4136: error: syntax error before ‘pyev_module’
src/pyev.c:4136: warning: type defaults to ‘int’ in declaration of 
‘pyev_module’
src/pyev.c:4137: error: ‘PyModuleDef_HEAD_INIT’ undeclared here (not in a 
function)
src/pyev.c:4138: warning: excess elements in scalar initializer
src/pyev.c:4138: warning: (near initialization for ‘pyev_module’)
src/pyev.c:4139: warning: excess elements in scalar initializer
src/pyev.c:4139: warning: (near initialization for ‘pyev_module’)
src/pyev.c:4140: warning: excess elements in scalar initializer
src/pyev.c:4140: warning: (near initialization for ‘pyev_module’)
src/pyev.c:4141: warning: excess elements in scalar initializer
src/pyev.c:4141: warning: (near initialization for ‘pyev_module’)
src/pyev.c:4142: warning: data definition has no type or storage class
src/pyev.c: In function ‘PyInit_pyev’:
src/pyev.c:4184: warning: ‘return’ with a value, in function returning void
src/pyev.c:4190: warning: ‘return’ with a value, in function returning void
src/pyev.c:4196: warning: ‘return’ with a value, in function returning void
src/pyev.c:4200: warning: implicit declaration of function ‘PyModule_Create’
src/pyev.c:4200: warning: assignment makes pointer from integer without a cast
src/pyev.c:4202: warning: ‘return’ with a value, in function returning void
src/pyev.c:4267: warning: ‘return’ with a value, in function returning void
src/pyev.c:4274: warning: ‘return’ with a value, in function returning void
error: command '/usr/bin/gcc-4.0' failed with exit status 1

Original issue reported on code.google.com by mnot@mnot.net on 25 Aug 2009 at 6:55

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
see issue3

Original comment by lekma...@gmail.com on 2 Sep 2009 at 8:14

GoogleCodeExporter commented 8 years ago
support for Python 2.6.2 is in trunk, please test

Original comment by lekma...@gmail.com on 21 Oct 2009 at 9:00