FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Studio User

 
 
LinkBack Thread Tools
 
Old 05-20-2008, 02:45 PM
"Ernie Dulanowsky"
 
Default Tranches build problems in Ubuntu 8.04

Hello:

I've been asked by Florent Berthaut, the developer of Tranches.
I'm posting to both lists just in case this problem isn't exclusive to
Ubuntu 8.04.

I just tried building Tranches in UbuntuStudio 8.04, and came up with
some errors, the first of which is below:

src/base/tranches.o: In function `__exchange_and_add':
/usr/include/c++/4.2/ext/atomicity.h:51: undefined reference to
`__sync_fetch_and_add_4'
/usr/include/c++/4.2/ext/atomicity.h:51: undefined reference to
`__sync_fetch_and_add_4'
/usr/include/c++/4.2/ext/atomicity.h:51: undefined reference to
`__sync_fetch_and_add_4'
/usr/include/c++/4.2/ext/atomicity.h:51: undefined reference to
`__sync_fetch_and_add_4'
/usr/include/c++/4.2/ext/atomicity.h:51: undefined reference to
`__sync_fetch_and_add_4'
src/base/tranches.o:/usr/include/c++/4.2/bits/basic_string.h:234: more
undefined references to `__sync_fetch_and_add_4' follow
collect2: ld returned 1 exit status
scons: *** [tranches] Error 1
scons: building terminated because of errors.

I contacted the developer, Florent Berthaut, and he provided this
modification for the SConstruct script:

env = Environment(CC = 'gcc',CCFLAGS ='-I/usr/include/libxml2/
-I/usr/include/lash-1.0/',LIBS=['asound','lash','pthread','xml2','sndfile','sample rate','jack'])
env.ParseConfig('fltk-config --libs --cxxflags --ldflags --use-images')

The modification yielded this error when trying to build Tranches:

In file included from src/audio/../base/tranches.h:31,
from src/audio/jackProcess.cpp:26:
src/audio/../base/../lash/lashClient.h:28:23: error: lash/lash.h: No such
file or directory
In file included from src/audio/../base/tranches.h:31,
from src/audio/jackProcess.cpp:26:
src/audio/../base/../lash/lashClient.h:46: error: ISO C++ forbids
declaration of 'lash_args_t' with no type
src/audio/../base/../lash/lashClient.h:46: error: expected ';' before '*'
token
src/audio/../base/../lash/lashClient.h:47: error: ISO C++ forbids
declaration of 'lash_client_t' with no type
src/audio/../base/../lash/lashClient.h:47: error: expected ';' before '*'
token
scons: *** [src/audio/jackProcess.o] Error 1
scons: building terminated because of errors.

Florent's first question was whether I had lash-dev installed: as it
turns out I did. This modfication came later...

env = Environment(CC = 'gcc',CCFLAGS ='-I/usr/include/libxml2/
',LIBS=['asound','lash','pthread','xml2','sndfile','sample rate','jack'])
env.ParseConfig('fltk-config --libs --cxxflags --ldflags --use-images')
env.ParseConfig('pkg-config --libs --cflags lash-1.0')

Tranches was built sucessfully after using this modification to
SConstruct. Florent asked that I post this to the lists for anyone
that might be having a similar problem.

Now I just have to figure out how Tranches works .....

Thanks,
Ernie


--
"Both Rob and I see sound as shapes.
I only have to do this (makes a fist)
and he knows what sound I mean". - Autechre
:::::::::::::::::::::::::::::::::::::::::::
Ernie Dulanowsky
www.pulsewidth.ca

--
Ubuntu-Studio-users mailing list
Ubuntu-Studio-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users
 
Old 05-20-2008, 11:58 PM
simone
 
Default Tranches build problems in Ubuntu 8.04

hi
i am here just to say that Florent was helpfull in my case as well, with getting tranches installed.
Here a list of Ubuntu packages that you need to install together with those ones mentioned in Tranches web page


libXft , libXrender , libX11, libXext, libFreeType, liblash2

liblash-dev

Tranches is a cool little application doing a great job!

Use qmidiroute to scale down the range of the CC going to tempo/slice

Simone
*
On Tue, May 20, 2008 at 4:53 PM, Ernie Dulanowsky <ernst@pulsewidth.ca> wrote:

Hello:



I've been asked by Florent Berthaut, the developer of Tranches.

I'm posting to both lists just in case this problem isn't exclusive to

Ubuntu 8.04.



I just tried building Tranches in UbuntuStudio 8.04, and came up with

some errors, the first of which is below:



src/base/tranches.o: In function `__exchange_and_add':

*/usr/include/c++/4.2/ext/atomicity.h:51: undefined reference to

*`__sync_fetch_and_add_4'

*/usr/include/c++/4.2/ext/atomicity.h:51: undefined reference to

*`__sync_fetch_and_add_4'

*/usr/include/c++/4.2/ext/atomicity.h:51: undefined reference to

*`__sync_fetch_and_add_4'

*/usr/include/c++/4.2/ext/atomicity.h:51: undefined reference to

*`__sync_fetch_and_add_4'

*/usr/include/c++/4.2/ext/atomicity.h:51: undefined reference to

*`__sync_fetch_and_add_4'

*src/base/tranches.o:/usr/include/c++/4.2/bits/basic_string.h:234: more

*undefined references to `__sync_fetch_and_add_4' follow

*collect2: ld returned 1 exit status

*scons: *** [tranches] Error 1

*scons: building terminated because of errors.



I contacted the developer, Florent Berthaut, and he provided this

modification for the SConstruct script:



env = Environment(CC = 'gcc',CCFLAGS ='-I/usr/include/libxml2/

-I/usr/include/lash-1.0/',LIBS=['asound','lash','pthread','xml2','sndfile','sample rate','jack'])

env.ParseConfig('fltk-config --libs --cxxflags --ldflags --use-images')



The modification yielded this error when trying to build Tranches:



In file included from src/audio/../base/tranches.h:31,

* * * * * * * from src/audio/jackProcess.cpp:26:

src/audio/../base/../lash/lashClient.h:28:23: error: lash/lash.h: No such

file or directory

In file included from src/audio/../base/tranches.h:31,

* * * * * * * from src/audio/jackProcess.cpp:26:

src/audio/../base/../lash/lashClient.h:46: error: ISO C++ forbids

declaration of 'lash_args_t' with no type

src/audio/../base/../lash/lashClient.h:46: error: expected ';' before '*'

token

src/audio/../base/../lash/lashClient.h:47: error: ISO C++ forbids

declaration of 'lash_client_t' with no type

src/audio/../base/../lash/lashClient.h:47: error: expected ';' before '*'

token

scons: *** [src/audio/jackProcess.o] Error 1

scons: building terminated because of errors.



Florent's first question was whether I had lash-dev installed: as it

turns out I did. This modfication came later...



env = Environment(CC = 'gcc',CCFLAGS ='-I/usr/include/libxml2/

',LIBS=['asound','lash','pthread','xml2','sndfile','sample rate','jack'])

env.ParseConfig('fltk-config --libs --cxxflags --ldflags --use-images')

env.ParseConfig('pkg-config --libs --cflags lash-1.0')



Tranches was built sucessfully after using this modification to

SConstruct. Florent asked that I post this to the lists for anyone

that might be having a similar problem.



Now I just have to figure out how Tranches works .....



Thanks,

Ernie



--

"Both Rob and I see sound as shapes.

I only have to do this (makes a fist)

and he knows what sound I mean". - Autechre

:::::::::::::::::::::::::::::::::::::::::::

Ernie Dulanowsky

www.pulsewidth.ca

_______________________________________________

Linux-audio-user mailing list

Linux-audio-user@lists.linuxaudio.org

http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user



--
.wmv , .wma , .pps along with all proprietary Windows formats won t be accepted and/or viewed....

--
Ubuntu-Studio-users mailing list
Ubuntu-Studio-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users
 

Thread Tools




All times are GMT. The time now is 03:26 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org