Hi Pasi, My fault, I am adding a new zfl_thread class to abstract OS threads, and didn't do it right. It should work better now.
FYI, I made a few other changes to ZFL yesterday: Reorganized configuration classes - zfl_device class replaces zfl_config, specifically for configuring devices - zfl_config class replaces zfl_tree - zfl_config_json replaces zfl_tree_json - zfl_config_zpl replaces zfl_tree_zpl - zfl_config_load autodetects JSON and ZPL input, parses accordingly - zfl_config_load allows filename to be "_" meaning "read from stdin" - zfl_config_save saves config tree in ZPL format (new method) - zfl_config_save allows filename to be "_" meaning "write to stdout" - examples/zdevice updated to use new classes Started on zfl_thread class - zfl_thread_new, _destroy, _wait methods Add zfl_hash_freefn to allow heap-allocated item values Improvements to zfl_rpc and zfl_rpcd - resolved various memory leaks - code cleanups for consistency with other ZFL classes - added zfl_rpc_test and zfl_rpcd_test selftest methods - added documentation stubs Cheers - Pieter Hintjens iMatix On Thu, Feb 10, 2011 at 1:00 AM, malist <[email protected]> wrote: > > In Mac OSX 10.6.6 zfl build fails. It worked few months ago. > > git clone git://github.com/zeromq/zfl.git > cd zfl > sh autogen.sh > ./configure > make all > > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -Wall > -D_DARWIN_C_SOURCE -D_REENTRANT -D_THREAD_SAFE -std=c99 -DLINUX -Wno-unused > -g -O2 -MT zfl_thread.lo -MD -MP -MF .deps/zfl_thread.Tpo -c zfl_thread.c > -fno-common -DPIC -o .libs/zfl_thread.o > zfl_thread.c:42:5: error: #error "Platform not supported by zfl_thread class" > zfl_thread.c:60:5: error: #error "Platform not supported by zfl_thread class" > zfl_thread.c: In function ‘zfl_thread_new’: > zfl_thread.c:62: error: ‘rc’ undeclared (first use in this function) > zfl_thread.c:62: error: (Each undeclared identifier is reported only once > zfl_thread.c:62: error: for each function it appears in.) > zfl_thread.c:93:5: error: #error "Platform not supported by zfl_thread class" > zfl_thread.c: In function ‘zfl_thread_wait’: > zfl_thread.c:95: error: ‘rc’ undeclared (first use in this function) > make[2]: *** [zfl_thread.lo] Error 1 > make[1]: *** [all] Error 2 > make: *** [all-recursive] Error 1 > > > Regards, > > Pasi Mankinen > Manage Applications > Finland > > _______________________________________________ > zeromq-dev mailing list > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev > > _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
