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

Eric Hedekar afterthebeep at gmail.com
Mon Dec 29 01:58:18 EST 2008

It should be noted that chuck1.2.1.2 builds fine with gcc4.3 (though with
many warnings), and therefore, by replacing the chuck1.2.1.1 folder in the
miniAudicle with a chuck1.2.1.2 folder (and renaming it to be chuck1.2.1.1)
before building, one can work around this bug.

-Eric Hedekar

On Sun, Dec 21, 2008 at 11:29 PM, Kassen <signal.automatique at gmail.com>wrote:

> 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;
> ---------------------8<--------------------------------
> g++ -D__LINUX_ALSA__ -c -O3 -D__CK_SNDFILE_NATIVE__ chuck_vm.cpp
> chuck_vm.cpp: In member function 'long unsigned int
> Chuck_VM::process_msg(Chuck_Msg*)':
> 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_Shreduler::status(Chuck_VM_Status*)':
> chuck_vm.cpp:2078: error: 'sort' is not a member of 'std'
> make[2]: *** [chuck_vm.o] Error 1
> make[2]: Leaving directory
> `/home/ghost/Desktop/miniAudicle-'
> make[1]: *** [chuck] Error 2
> make[1]: Leaving directory `/home/ghost/Desktop/miniAudicle-'
> make: [linux-alsa] Error 2 (ignored)
> -----------------------8<----------------------------------------
> 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.
> Yours,
> Kas.
> _______________________________________________
> chuck-users mailing list
> chuck-users at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users

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

More information about the chuck-users mailing list