hi robin,
I encounter problem while installing pybroccoli
python setup.py install
…
building ‘_broccoli_intern’ extension
creating build/temp.freebsd-7.0-RELEASE-p2-i386-2.5
cc -fno-strict-aliasing -DNDEBUG -O2 -fno-strict-aliasing -pipe -D__wchar_t=wchar_t -DTHREAD_STACK_SIZE=0x20000 -fPIC -I/usr/local/include/python2.5 -c broccoli_intern_wrap.c -o build/temp.freebsd-7.0-RELEASE-p2-i386-2.5/broccoli_intern_wrap.o
broccoli_intern_wrap.c:2514: warning: useless storage class specifier in empty declaration
broccoli_intern_wrap.c: In function ‘_wrap_bro_event_add_val’:
broccoli_intern_wrap.c:4976: warning: assignment discards qualifiers from pointer target type
broccoli_intern_wrap.c: In function ‘_wrap_bro_event_set_val’:
broccoli_intern_wrap.c:5046: warning: assignment discards qualifiers from pointer target type
broccoli_intern_wrap.c: In function ‘_wrap_bro_record_add_val’:
broccoli_intern_wrap.c:6131: warning: assignment discards qualifiers from pointer target type
broccoli_intern_wrap.c: In function ‘_wrap_bro_record_set_nth_val’:
broccoli_intern_wrap.c:6286: warning: assignment discards qualifiers from pointer target type
broccoli_intern_wrap.c: In function ‘_wrap_bro_record_set_named_val’:
broccoli_intern_wrap.c:6357: warning: assignment discards qualifiers from pointer target type
cc -shared -pthread build/temp.freebsd-7.0-RELEASE-p2-i386-2.5/broccoli_intern_wrap.o -L…/…/src/.libs -lbroccoli -o build/lib.freebsd-7.0-RELEASE-p2-i386-2.5/_broccoli_intern.so
running install_lib
copying build/lib.freebsd-7.0-RELEASE-p2-i386-2.5/broccoli.py → /usr/local/lib/python2.5/site-packages
copying build/lib.freebsd-7.0-RELEASE-p2-i386-2.5/_broccoli_intern.so → /usr/local/lib/python2.5/site-packages
byte-compiling /usr/local/lib/python2.5/site-packages/broccoli.py to broccoli.pyc
running install_egg_info
Writing /usr/local/lib/python2.5/site-packages/pybroccoli-0.1-py2.5.egg-info
python -c “import broccoli”
Traceback (most recent call last):
File “”, line 1, in
File “broccoli.py”, line 6, in
from _broccoli_intern import *
ImportError: /usr/local/lib/python2.5/site-packages/_broccoli_intern.so: Undefined symbol “BIO_ctrl”
Thanks.