[chuck-users] ChucK fails to compile on GCC 4.3.x (BUG)

Kassen signal.automatique at gmail.com
Mon Dec 22 02:29:06 EST 2008

As documented by forum members PopCode and Nomic (
http://electro-music.com/forum/viewtopic.php?t=30859 ) the Mini no longer
builds on Ubuntu since the latest LTS update which also updated GCC. In
particular the process dies while trying to compile the VM so that almost
certainly means ChucK itself won't build under Ubuntu or with the new
version of GCC either.

The fatal error;
g++ -D__LINUX_ALSA__ -c -O3 -D__CK_SNDFILE_NATIVE__ chuck_vm.cpp
chuck_vm.cpp: In member function 'long unsigned int
chuck_vm.cpp:1007: warning: format '%d' expects type 'int', but argument 3
has type 'long unsigned int'
chuck_vm.cpp: In member function 'long unsigned int
Chuck_VM_Stack::initialize(long unsigned int)':
chuck_vm.cpp:1373: warning: too few arguments for format
chuck_vm.cpp: In member function 'void
chuck_vm.cpp:2078: error: 'sort' is not a member of 'std'
make[2]: *** [chuck_vm.o] Error 1
make[2]: Leaving directory
make[1]: *** [chuck] Error 2
make[1]: Leaving directory `/home/ghost/Desktop/miniAudicle-'
make: [linux-alsa] Error 2 (ignored)

Nomic found that the culprit is GCC 4.3.x being more strict than 4.2.x
(details on the linked page).

This is in adition to a storm of warnings about a depreciated conversion
that seem to be caused mostly by WXW so those may be beyond our scope?

I'm adding this to the WiKi's bug page.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20081222/7d7f4c7b/attachment.html>

More information about the chuck-users mailing list