Hi there, I am trying to build chuck, but after issuing sudo make osx I get some errors (see below). Any advice would be much appreciated. Eduard make -f makefile.osx bison -dv -b chuck chuck.y gcc -D__MACOSX_CORE__ -O3 -c chuck.tab.c flex -ochuck.yy.c chuck.lex gcc -D__MACOSX_CORE__ -O3 -c chuck.yy.c gcc -D__MACOSX_CORE__ -O3 -c chuck_main.cpp gcc -D__MACOSX_CORE__ -O3 -c chuck_errmsg.cpp gcc -D__MACOSX_CORE__ -O3 -c chuck_utils.cpp gcc -D__MACOSX_CORE__ -O3 -c chuck_symbol.cpp gcc -D__MACOSX_CORE__ -O3 -c chuck_table.cpp gcc -D__MACOSX_CORE__ -O3 -c chuck_temp.cpp gcc -D__MACOSX_CORE__ -O3 -c chuck_absyn.cpp gcc -D__MACOSX_CORE__ -O3 -c chuck_type.cpp gcc -D__MACOSX_CORE__ -O3 -c chuck_emit.cpp gcc -D__MACOSX_CORE__ -O3 -c chuck_frame.cpp gcc -D__MACOSX_CORE__ -O3 -c chuck_instr.cpp gcc -D__MACOSX_CORE__ -O3 -c chuck_vm.cpp gcc -D__MACOSX_CORE__ -O3 -c chuck_ugen.cpp gcc -D__MACOSX_CORE__ -O3 -c chuck_bbq.cpp gcc -D__MACOSX_CORE__ -O3 -c chuck_dl.cpp gcc -D__MACOSX_CORE__ -O3 -c chuck_otf.cpp gcc -D__MACOSX_CORE__ -O3 -c digiio_rtaudio.cpp gcc -D__MACOSX_CORE__ -O3 -c rtaudio.cpp gcc -D__MACOSX_CORE__ -O3 -c midiio_osx.cpp gcc -D__MACOSX_CORE__ -O3 -c ugen_osc.cpp gcc -D__MACOSX_CORE__ -O3 -c ugen_xxx.cpp gcc -D__MACOSX_CORE__ -O3 -c ugen_filter.cpp gcc -D__MACOSX_CORE__ -O3 -c ugen_stk.cpp gcc -D__MACOSX_CORE__ -O3 -c ulib_machine.cpp gcc -D__MACOSX_CORE__ -O3 -c ulib_math.cpp gcc -D__MACOSX_CORE__ -O3 -c ulib_net.cpp gcc -D__MACOSX_CORE__ -O3 -c ulib_std.cpp gcc -D__MACOSX_CORE__ -O3 -c util_buffers.cpp gcc -D__MACOSX_CORE__ -O3 -c util_math.c gcc -D__MACOSX_CORE__ -O3 -c util_network.c gcc -D__MACOSX_CORE__ -O3 -c util_raw.c gcc -D__MACOSX_CORE__ -O3 -c util_thread.cpp gcc -D__MACOSX_CORE__ -O3 -c util_xforms.c gcc -D__MACOSX_CORE__ -O3 -c util_sndfile.c gcc -o chuck chuck.tab.o chuck.yy.o chuck_main.o chuck_errmsg.o chuck_utils.o chuck_symbol.o chuck_table.o chuck_temp.o chuck_absyn.o chuck_type.o chuck_emit.o chuck_frame.o chuck_instr.o chuck_vm.o chuck_ugen.o chuck_bbq.o chuck_dl.o chuck_otf.o digiio_rtaudio.o rtaudio.o midiio_osx.o ugen_osc.o ugen_xxx.o ugen_filter.o ugen_stk.o ulib_machine.o ulib_math.o ulib_net.o ulib_std.o util_buffers.o util_math.o util_network.o util_raw.o util_thread.o util_xforms.o util_sndfile.o -framework CoreAudio -framework CoreMIDI -framework CoreFoundation -lstdc++ -lm ld: warning multiple definitions of symbol _dlclose chuck_dl.o definition of _dlclose in section (__TEXT,__text) /usr/lib/libm.dylib(dyldAPIsInLibSystem.o) definition of _dlclose ld: warning multiple definitions of symbol _dlerror chuck_dl.o definition of _dlerror in section (__TEXT,__text) /usr/lib/libm.dylib(dyldAPIsInLibSystem.o) definition of _dlerror ld: warning multiple definitions of symbol _dlopen chuck_dl.o definition of _dlopen in section (__TEXT,__text) /usr/lib/libm.dylib(dyldAPIsInLibSystem.o) definition of _dlopen ld: warning multiple definitions of symbol _dlsym chuck_dl.o definition of _dlsym in section (__TEXT,__text) /usr/lib/libm.dylib(dyldAPIsInLibSystem.o) definition of _dlsym ld: /usr/lib/crt1.o illegal reference to symbol: __objcInit defined in indirectly referenced dynamic library /usr/lib/libobjc.A.dylib make[1]: *** [chuck] Error 1 make: [osx] Error 2 (ignored)
Hi Eduard! This is due to a change in tiger for which we have not updated in v1. It is now fixed - please re-download chuck-1.1.5.6.tgz from the website (version updated to "1.1.5.6d") and rebuild: http://chuck.cs.princeton.edu/release/files/chuck-1.1.5.6.tgz If this doesn't work, please email me directly and we will sort this out. (v2 is in the final phases of preparation for release) Best, Ge! On Aug 1, 2005, at 7:19 PM, eduard wrote:
Hi there,
I am trying to build chuck, but after issuing
sudo make osx
I get some errors (see below).
Any advice would be much appreciated.
Eduard
make -f makefile.osx bison -dv -b chuck chuck.y gcc -D__MACOSX_CORE__ -O3 -c chuck.tab.c flex -ochuck.yy.c chuck.lex gcc -D__MACOSX_CORE__ -O3 -c chuck.yy.c gcc -D__MACOSX_CORE__ -O3 -c chuck_main.cpp gcc -D__MACOSX_CORE__ -O3 -c chuck_errmsg.cpp gcc -D__MACOSX_CORE__ -O3 -c chuck_utils.cpp gcc -D__MACOSX_CORE__ -O3 -c chuck_symbol.cpp gcc -D__MACOSX_CORE__ -O3 -c chuck_table.cpp gcc -D__MACOSX_CORE__ -O3 -c chuck_temp.cpp gcc -D__MACOSX_CORE__ -O3 -c chuck_absyn.cpp gcc -D__MACOSX_CORE__ -O3 -c chuck_type.cpp gcc -D__MACOSX_CORE__ -O3 -c chuck_emit.cpp gcc -D__MACOSX_CORE__ -O3 -c chuck_frame.cpp gcc -D__MACOSX_CORE__ -O3 -c chuck_instr.cpp gcc -D__MACOSX_CORE__ -O3 -c chuck_vm.cpp gcc -D__MACOSX_CORE__ -O3 -c chuck_ugen.cpp gcc -D__MACOSX_CORE__ -O3 -c chuck_bbq.cpp gcc -D__MACOSX_CORE__ -O3 -c chuck_dl.cpp gcc -D__MACOSX_CORE__ -O3 -c chuck_otf.cpp gcc -D__MACOSX_CORE__ -O3 -c digiio_rtaudio.cpp gcc -D__MACOSX_CORE__ -O3 -c rtaudio.cpp gcc -D__MACOSX_CORE__ -O3 -c midiio_osx.cpp gcc -D__MACOSX_CORE__ -O3 -c ugen_osc.cpp gcc -D__MACOSX_CORE__ -O3 -c ugen_xxx.cpp gcc -D__MACOSX_CORE__ -O3 -c ugen_filter.cpp gcc -D__MACOSX_CORE__ -O3 -c ugen_stk.cpp gcc -D__MACOSX_CORE__ -O3 -c ulib_machine.cpp gcc -D__MACOSX_CORE__ -O3 -c ulib_math.cpp gcc -D__MACOSX_CORE__ -O3 -c ulib_net.cpp gcc -D__MACOSX_CORE__ -O3 -c ulib_std.cpp gcc -D__MACOSX_CORE__ -O3 -c util_buffers.cpp gcc -D__MACOSX_CORE__ -O3 -c util_math.c gcc -D__MACOSX_CORE__ -O3 -c util_network.c gcc -D__MACOSX_CORE__ -O3 -c util_raw.c gcc -D__MACOSX_CORE__ -O3 -c util_thread.cpp gcc -D__MACOSX_CORE__ -O3 -c util_xforms.c gcc -D__MACOSX_CORE__ -O3 -c util_sndfile.c gcc -o chuck chuck.tab.o chuck.yy.o chuck_main.o chuck_errmsg.o chuck_utils.o chuck_symbol.o chuck_table.o chuck_temp.o chuck_absyn.o chuck_type.o chuck_emit.o chuck_frame.o chuck_instr.o chuck_vm.o chuck_ugen.o chuck_bbq.o chuck_dl.o chuck_otf.o digiio_rtaudio.o rtaudio.o midiio_osx.o ugen_osc.o ugen_xxx.o ugen_filter.o ugen_stk.o ulib_machine.o ulib_math.o ulib_net.o ulib_std.o util_buffers.o util_math.o util_network.o util_raw.o util_thread.o util_xforms.o util_sndfile.o -framework CoreAudio -framework CoreMIDI -framework CoreFoundation -lstdc++ -lm ld: warning multiple definitions of symbol _dlclose chuck_dl.o definition of _dlclose in section (__TEXT,__text) /usr/lib/libm.dylib(dyldAPIsInLibSystem.o) definition of _dlclose ld: warning multiple definitions of symbol _dlerror chuck_dl.o definition of _dlerror in section (__TEXT,__text) /usr/lib/libm.dylib(dyldAPIsInLibSystem.o) definition of _dlerror ld: warning multiple definitions of symbol _dlopen chuck_dl.o definition of _dlopen in section (__TEXT,__text) /usr/lib/libm.dylib(dyldAPIsInLibSystem.o) definition of _dlopen ld: warning multiple definitions of symbol _dlsym chuck_dl.o definition of _dlsym in section (__TEXT,__text) /usr/lib/libm.dylib(dyldAPIsInLibSystem.o) definition of _dlsym ld: /usr/lib/crt1.o illegal reference to symbol: __objcInit defined in indirectly referenced dynamic library /usr/lib/libobjc.A.dylib make[1]: *** [chuck] Error 1 make: [osx] Error 2 (ignored) _______________________________________________ chuck mailing list chuck@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck
Hi Ge, I've downloaded the source from the link you supplied, but still I get the same errors. When do you think v2 will be available? Will it be in line with v1 or will there be major changes that makes worth waiting and start learning chuck as from v2? Terminal output: make -f makefile.osx bison -dv -b chuck chuck.y gcc -D__MACOSX_CORE__ -O3 -c chuck.tab.c flex -ochuck.yy.c chuck.lex gcc -D__MACOSX_CORE__ -O3 -c chuck.yy.c gcc -D__MACOSX_CORE__ -O3 -c chuck_main.cpp gcc -D__MACOSX_CORE__ -O3 -c chuck_errmsg.cpp gcc -D__MACOSX_CORE__ -O3 -c chuck_utils.cpp gcc -D__MACOSX_CORE__ -O3 -c chuck_symbol.cpp gcc -D__MACOSX_CORE__ -O3 -c chuck_table.cpp gcc -D__MACOSX_CORE__ -O3 -c chuck_temp.cpp gcc -D__MACOSX_CORE__ -O3 -c chuck_absyn.cpp gcc -D__MACOSX_CORE__ -O3 -c chuck_type.cpp gcc -D__MACOSX_CORE__ -O3 -c chuck_emit.cpp gcc -D__MACOSX_CORE__ -O3 -c chuck_frame.cpp gcc -D__MACOSX_CORE__ -O3 -c chuck_instr.cpp gcc -D__MACOSX_CORE__ -O3 -c chuck_vm.cpp gcc -D__MACOSX_CORE__ -O3 -c chuck_ugen.cpp gcc -D__MACOSX_CORE__ -O3 -c chuck_bbq.cpp gcc -D__MACOSX_CORE__ -O3 -c chuck_dl.cpp gcc -D__MACOSX_CORE__ -O3 -c chuck_otf.cpp gcc -D__MACOSX_CORE__ -O3 -c digiio_rtaudio.cpp gcc -D__MACOSX_CORE__ -O3 -c rtaudio.cpp gcc -D__MACOSX_CORE__ -O3 -c midiio_osx.cpp gcc -D__MACOSX_CORE__ -O3 -c ugen_osc.cpp gcc -D__MACOSX_CORE__ -O3 -c ugen_xxx.cpp gcc -D__MACOSX_CORE__ -O3 -c ugen_filter.cpp gcc -D__MACOSX_CORE__ -O3 -c ugen_stk.cpp gcc -D__MACOSX_CORE__ -O3 -c ulib_machine.cpp gcc -D__MACOSX_CORE__ -O3 -c ulib_math.cpp gcc -D__MACOSX_CORE__ -O3 -c ulib_net.cpp gcc -D__MACOSX_CORE__ -O3 -c ulib_std.cpp gcc -D__MACOSX_CORE__ -O3 -c util_buffers.cpp gcc -D__MACOSX_CORE__ -O3 -c util_math.c gcc -D__MACOSX_CORE__ -O3 -c util_network.c gcc -D__MACOSX_CORE__ -O3 -c util_raw.c gcc -D__MACOSX_CORE__ -O3 -c util_thread.cpp gcc -D__MACOSX_CORE__ -O3 -c util_xforms.c gcc -D__MACOSX_CORE__ -O3 -c util_sndfile.c gcc -o chuck chuck.tab.o chuck.yy.o chuck_main.o chuck_errmsg.o chuck_utils.o chuck_symbol.o chuck_table.o chuck_temp.o chuck_absyn.o chuck_type.o chuck_emit.o chuck_frame.o chuck_instr.o chuck_vm.o chuck_ugen.o chuck_bbq.o chuck_dl.o chuck_otf.o digiio_rtaudio.o rtaudio.o midiio_osx.o ugen_osc.o ugen_xxx.o ugen_filter.o ugen_stk.o ulib_machine.o ulib_math.o ulib_net.o ulib_std.o util_buffers.o util_math.o util_network.o util_raw.o util_thread.o util_xforms.o util_sndfile.o -framework CoreAudio -framework CoreMIDI -framework CoreFoundation -lstdc++ -lm ld: warning multiple definitions of symbol _dlclose chuck_dl.o definition of _dlclose in section (__TEXT,__text) /usr/lib/libm.dylib(dyldAPIsInLibSystem.o) definition of _dlclose ld: warning multiple definitions of symbol _dlerror chuck_dl.o definition of _dlerror in section (__TEXT,__text) /usr/lib/libm.dylib(dyldAPIsInLibSystem.o) definition of _dlerror ld: warning multiple definitions of symbol _dlopen chuck_dl.o definition of _dlopen in section (__TEXT,__text) /usr/lib/libm.dylib(dyldAPIsInLibSystem.o) definition of _dlopen ld: warning multiple definitions of symbol _dlsym chuck_dl.o definition of _dlsym in section (__TEXT,__text) /usr/lib/libm.dylib(dyldAPIsInLibSystem.o) definition of _dlsym ld: /usr/lib/crt1.o illegal reference to symbol: __objcInit defined in indirectly referenced dynamic library /usr/lib/libobjc.A.dylib make[1]: *** [chuck] Error 1 make: [osx] Error 2 (ignored) On 2 Aug 2005, at 03:10, Ge Wang wrote:
Hi Eduard!
This is due to a change in tiger for which we have not updated in v1. It is now fixed - please re-download chuck-1.1.5.6.tgz from the website (version updated to "1.1.5.6d") and rebuild:
http://chuck.cs.princeton.edu/release/files/chuck-1.1.5.6.tgz
If this doesn't work, please email me directly and we will sort this out.
(v2 is in the final phases of preparation for release)
Best, Ge!
On Aug 1, 2005, at 7:19 PM, eduard wrote:
Hi there,
I am trying to build chuck, but after issuing
sudo make osx
I get some errors (see below).
Any advice would be much appreciated.
Eduard
make -f makefile.osx bison -dv -b chuck chuck.y gcc -D__MACOSX_CORE__ -O3 -c chuck.tab.c flex -ochuck.yy.c chuck.lex gcc -D__MACOSX_CORE__ -O3 -c chuck.yy.c gcc -D__MACOSX_CORE__ -O3 -c chuck_main.cpp gcc -D__MACOSX_CORE__ -O3 -c chuck_errmsg.cpp gcc -D__MACOSX_CORE__ -O3 -c chuck_utils.cpp gcc -D__MACOSX_CORE__ -O3 -c chuck_symbol.cpp gcc -D__MACOSX_CORE__ -O3 -c chuck_table.cpp gcc -D__MACOSX_CORE__ -O3 -c chuck_temp.cpp gcc -D__MACOSX_CORE__ -O3 -c chuck_absyn.cpp gcc -D__MACOSX_CORE__ -O3 -c chuck_type.cpp gcc -D__MACOSX_CORE__ -O3 -c chuck_emit.cpp gcc -D__MACOSX_CORE__ -O3 -c chuck_frame.cpp gcc -D__MACOSX_CORE__ -O3 -c chuck_instr.cpp gcc -D__MACOSX_CORE__ -O3 -c chuck_vm.cpp gcc -D__MACOSX_CORE__ -O3 -c chuck_ugen.cpp gcc -D__MACOSX_CORE__ -O3 -c chuck_bbq.cpp gcc -D__MACOSX_CORE__ -O3 -c chuck_dl.cpp gcc -D__MACOSX_CORE__ -O3 -c chuck_otf.cpp gcc -D__MACOSX_CORE__ -O3 -c digiio_rtaudio.cpp gcc -D__MACOSX_CORE__ -O3 -c rtaudio.cpp gcc -D__MACOSX_CORE__ -O3 -c midiio_osx.cpp gcc -D__MACOSX_CORE__ -O3 -c ugen_osc.cpp gcc -D__MACOSX_CORE__ -O3 -c ugen_xxx.cpp gcc -D__MACOSX_CORE__ -O3 -c ugen_filter.cpp gcc -D__MACOSX_CORE__ -O3 -c ugen_stk.cpp gcc -D__MACOSX_CORE__ -O3 -c ulib_machine.cpp gcc -D__MACOSX_CORE__ -O3 -c ulib_math.cpp gcc -D__MACOSX_CORE__ -O3 -c ulib_net.cpp gcc -D__MACOSX_CORE__ -O3 -c ulib_std.cpp gcc -D__MACOSX_CORE__ -O3 -c util_buffers.cpp gcc -D__MACOSX_CORE__ -O3 -c util_math.c gcc -D__MACOSX_CORE__ -O3 -c util_network.c gcc -D__MACOSX_CORE__ -O3 -c util_raw.c gcc -D__MACOSX_CORE__ -O3 -c util_thread.cpp gcc -D__MACOSX_CORE__ -O3 -c util_xforms.c gcc -D__MACOSX_CORE__ -O3 -c util_sndfile.c gcc -o chuck chuck.tab.o chuck.yy.o chuck_main.o chuck_errmsg.o chuck_utils.o chuck_symbol.o chuck_table.o chuck_temp.o chuck_absyn.o chuck_type.o chuck_emit.o chuck_frame.o chuck_instr.o chuck_vm.o chuck_ugen.o chuck_bbq.o chuck_dl.o chuck_otf.o digiio_rtaudio.o rtaudio.o midiio_osx.o ugen_osc.o ugen_xxx.o ugen_filter.o ugen_stk.o ulib_machine.o ulib_math.o ulib_net.o ulib_std.o util_buffers.o util_math.o util_network.o util_raw.o util_thread.o util_xforms.o util_sndfile.o -framework CoreAudio -framework CoreMIDI -framework CoreFoundation -lstdc++ -lm ld: warning multiple definitions of symbol _dlclose chuck_dl.o definition of _dlclose in section (__TEXT,__text) /usr/lib/libm.dylib(dyldAPIsInLibSystem.o) definition of _dlclose ld: warning multiple definitions of symbol _dlerror chuck_dl.o definition of _dlerror in section (__TEXT,__text) /usr/lib/libm.dylib(dyldAPIsInLibSystem.o) definition of _dlerror ld: warning multiple definitions of symbol _dlopen chuck_dl.o definition of _dlopen in section (__TEXT,__text) /usr/lib/libm.dylib(dyldAPIsInLibSystem.o) definition of _dlopen ld: warning multiple definitions of symbol _dlsym chuck_dl.o definition of _dlsym in section (__TEXT,__text) /usr/lib/libm.dylib(dyldAPIsInLibSystem.o) definition of _dlsym ld: /usr/lib/crt1.o illegal reference to symbol: __objcInit defined in indirectly referenced dynamic library /usr/lib/ libobjc.A.dylib make[1]: *** [chuck] Error 1 make: [osx] Error 2 (ignored) _______________________________________________ chuck mailing list chuck@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck
_______________________________________________ chuck mailing list chuck@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck
Hi Eduard!
I've downloaded the source from the link you supplied, but still I get the same errors.
Sorry about this. Let's figure this out offline and maybe post the final solution here.
When do you think v2 will be available?
We are making the final preparations this week. There are (always) a few features that needs and wants to be done, but perhaps we will release what we have later this week (1.2.0.0) and will continue to develop features in 1.2.x.x. The core feature set is complete. Hopefully.
Will it be in line with v1 or will there be major changes that makes worth waiting and start learning chuck as from v2?
v2 will be quite in line with v1 (except for casting looks different), so we would say go ahead and experiement with v1. The language in v2 is significantly expanded - arrays, classes/objects, events, and loads of other features (and new bugs), but is almost a strict superset of v1. v1 code should run with minimal (if any) modification on v2. Best, Ge!
participants (2)
-
eduard
-
Ge Wang