electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
 Forum index » DIY Hardware and Software » ChucK programming language
Compilation
Post new topic   Reply to topic Moderators: Kassen
Page 1 of 1 [4 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
nerak99



Joined: Dec 18, 2011
Posts: 6
Location: UK

PostPosted: Sun Dec 18, 2011 3:20 pm    Post subject: Compilation
Subject description: How to add to the linker
Reply with quote  Mark this post and the followings unread

I get this error after make linux-jack

I think I need to add something tp the linker as H. Schwab helpfully tells me in bugzilla.

How do I do that?

/usr/bin/ld: note: 'pthread_cancel@@GLIBC_2.2.5' is defined in DSO /lib64/libpthread.so.0 so try adding it to the linker command line
Back to top
View user's profile Send private message AIM Address
nerak99



Joined: Dec 18, 2011
Posts: 6
Location: UK

PostPosted: Sun Dec 18, 2011 3:23 pm    Post subject: Compilation system
Subject description: Background of the system I am installing on
Reply with quote  Mark this post and the followings unread

Follow up from the compilation question
My system is
Fedora 15

Linux my_fc15.local 2.6.41.1-1.fc15.x86_64 #1 SMP Fri Nov 11 21:36:28 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

ie a dual core 64 bit processor with an upto date failry standard planet ccrma set of software
Back to top
View user's profile Send private message AIM Address
GrandJu



Joined: Jul 04, 2010
Posts: 32
Location: Rennes France

PostPosted: Wed Dec 21, 2011 4:51 am    Post subject: Reply with quote  Mark this post and the followings unread

Hi Nerak99 and welcome to the Chuck world welcome

Unfortunately I cannot really help you.
Personnaly I didn't succeed to make Chuck works on a Ubuntu 64 bit version.
I met the same problem as you, I think it is a problem with libraries conflict (32 and 64 bits). I didn't rember exactly what I did. Perhaps you have to install the 32 bit library on your system.
Finally I succeed to compile it on Ubuntu64 but there were no sound...

I am new in linux. So maybe you can find the problem and succeed to compile on a 64 bit linux. And If you do so, please share on the forum, I think it can help a lot of people.

After that I succeed to compile and play chuck on Ubuntu 32 bit and on a Mint/Debian (32 bit too).

At now I am using AVLinux, it is a nice distribution with a lot preinstalled Audio/Video/Graphical software( Ardour/Audacity/Jack utilities...).
But once again I have problems to compile chuck so I use the build I made on Mint Laughing

Otherwise I use it on a classical 32bit XP. The executable is provided and it works find.

But even if it seems difficult to start on Linux, it is a fantastic software!!
I learn electronic music and Chuck in the same time. And now I don't want to use something else to play electronic music, because I feel that everything I want to do, I can do it with chuck Very Happy It's a powerful language!

Have fun
Ju
Back to top
View user's profile Send private message
nerak99



Joined: Dec 18, 2011
Posts: 6
Location: UK

PostPosted: Fri Dec 30, 2011 7:34 am    Post subject: Compilation issue solved
Subject description: Previous problem solved and posted FYI
Reply with quote  Mark this post and the followings unread

The message from the compiler required adding lpthread to the linker command in makefile.jack (the one I was using). The error message as above.

The first few lines of my makefile.jack now read


CC?=gcc
CXX?=g++
LEX=flex
YACC=bison
INCLUDES=
CFLAGS?= -O3 -fno-strict-aliasing -lpthread
FLAGS= -D__LINUX_JACK__ -c $(CFLAGS)
LIBS=-lasound -ljack -lstdc++ -ldl -lm -lpthread
SF_OBJ=util_sndfile.o

I have added -lpthread to two lines, The CFLAGS and LIBS lines. It may be that the CFLAGS one is redundant.
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic Moderators: Kassen
Page 1 of 1 [4 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
 Forum index » DIY Hardware and Software » ChucK programming language
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use