Author |
Message |
nerak99
Joined: Dec 18, 2011 Posts: 6 Location: UK
|
Posted: Sun Dec 18, 2011 3:20 pm Post subject:
Compilation Subject description: How to add to the linker |
 |
|
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
|
|
 |
nerak99
Joined: Dec 18, 2011 Posts: 6 Location: UK
|
Posted: Sun Dec 18, 2011 3:23 pm Post subject:
Compilation system Subject description: Background of the system I am installing on |
 |
|
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
|
|
 |
GrandJu
Joined: Jul 04, 2010 Posts: 32 Location: Rennes France
|
Posted: Wed Dec 21, 2011 4:51 am Post subject:
|
 |
|
Hi Nerak99 and welcome to the Chuck world
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
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 It's a powerful language!
Have fun
Ju |
|
Back to top
|
|
 |
nerak99
Joined: Dec 18, 2011 Posts: 6 Location: UK
|
Posted: Fri Dec 30, 2011 7:34 am Post subject:
Compilation issue solved Subject description: Previous problem solved and posted FYI |
 |
|
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
|
|
 |
|