Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Multimedia
  • Search

Rosegarden compilation fails

Help with creation, editing, or playback of sounds, images, or video. Amarok, audacious, mplayer, grip, cdparanoia and anything else that makes a sound or plays a video.
Post Reply
Advanced search
11 posts • Page 1 of 1
Author
Message
bitpicker
Apprentice
Apprentice
User avatar
Posts: 163
Joined: Wed Dec 28, 2005 5:48 pm
Location: Germany
Contact:
Contact bitpicker
Website

Rosegarden compilation fails

  • Quote

Post by bitpicker » Fri Jun 02, 2006 10:12 am

I have tried to emerge Rosegarden on my system; I had the same initial problem as discussed here: http://forums.gentoo.org/viewtopic-t-44 ... bel+h.html

I unmasked the Rosegarden version 4.1.2.3 as suggested there and tried to emerge that. This gives me the following error:

Code: Select all

/usr/qt/3/bin/moc -o RGbuild/gui/dialogs.moc RGbuild/gui/dialogs.h
g++ -Os -mcpu=i686 -pipe -march=athlon -I/usr/include/alsa -I/usr/include/freetype2 -I/usr/include/freetype2/config -DHAVE_ALSA -DHAVE_LIBJACK -DHAVE_DSSI -DHAVE_LADSPA -DHAVE_LIBLO -DHAVE_LIBLRDF -DHAVE_XFT -DQT_THREAD_SUPPORT -DVERSION=\"4-1.2.3\" -I/usr/kde/3.5/include -I/usr/qt/3/include/ -I/usr/include/alsa -I/usr/include/freetype2 -I/usr/include/freetype2/config -DHAVE_ALSA -DHAVE_LIBJACK -DHAVE_DSSI -DHAVE_LADSPA -DHAVE_LIBLO -DHAVE_LIBLRDF -DHAVE_XFT -Os -mcpu=i686 -pipe -march=athlon -DNDEBUG -DNO_DEBUG -I/usr/include/alsa -I/usr/include/freetype2 -I/usr/include/freetype2/config -IRGbuild/gui -IRGbuild -I. -I/usr/X11R6/include/X11/Xft -IRGbuild/base -IRGbuild/sound -c -o RGbuild/gui/dialogs.o RGbuild/gui/dialogs.cpp
meinproc --check --cache RGbuild/gui/docs/en/index.cache.bz2 RGbuild/gui/docs/en/index.docbook
In file included from /usr/include/signal.h:351,
                 from /usr/include/sys/wait.h:30,
                 from /usr/kde/3.5/include/kprocess.h:24,
                 from RGbuild/gui/sequencemanager.h:25,
                 from RGbuild/gui/dialogs.cpp:76:
/usr/include/sys/ucontext.h:89: internal compiler error: Speicherzugriffsfehler # this means "memory access error"

meinproc --check --cache RGbuild/gui/docs/es/index.cache.bz2 RGbuild/gui/docs/es/index.docbook
meinproc --check --cache RGbuild/gui/docs/ja/index.cache.bz2 RGbuild/gui/docs/ja/index.docbook
meinproc --check --cache RGbuild/gui/docs/sv/index.cache.bz2 RGbuild/gui/docs/sv/index.docbook
/usr/qt/3/bin/moc -o RGbuild/gui/editcommands.moc RGbuild/gui/editcommands.h
g++ -Os -mcpu=i686 -pipe -march=athlon -I/usr/include/alsa -I/usr/include/freetype2 -I/usr/include/freetype2/config -DHAVE_ALSA -DHAVE_LIBJACK -DHAVE_DSSI -DHAVE_LADSPA -DHAVE_LIBLO -DHAVE_LIBLRDF -DHAVE_XFT -DQT_THREAD_SUPPORT -DVERSION=\"4-1.2.3\" -I/usr/kde/3.5/include -I/usr/qt/3/include/ -I/usr/include/alsa -I/usr/include/freetype2 -I/usr/include/freetype2/config -DHAVE_ALSA -DHAVE_LIBJACK -DHAVE_DSSI -DHAVE_LADSPA -DHAVE_LIBLO -DHAVE_LIBLRDF -DHAVE_XFT -Os -mcpu=i686 -pipe -march=athlon -DNDEBUG -DNO_DEBUG -I/usr/include/alsa -I/usr/include/freetype2 -I/usr/include/freetype2/config -IRGbuild/gui -IRGbuild -I. -I/usr/X11R6/include/X11/Xft -IRGbuild/base -IRGbuild/sound -c -o RGbuild/gui/editcommands.o RGbuild/gui/editcommands.cpp
g++ -Os -mcpu=i686 -pipe -march=athlon -I/usr/include/alsa -I/usr/include/freetype2 -I/usr/include/freetype2/config -DHAVE_ALSA -DHAVE_LIBJACK -DHAVE_DSSI -DHAVE_LADSPA -DHAVE_LIBLO -DHAVE_LIBLRDF -DHAVE_XFT -DQT_THREAD_SUPPORT -DVERSION=\"4-1.2.3\" -I/usr/kde/3.5/include -I/usr/qt/3/include/ -I/usr/include/alsa -I/usr/include/freetype2 -I/usr/include/freetype2/config -DHAVE_ALSA -DHAVE_LIBJACK -DHAVE_DSSI -DHAVE_LADSPA -DHAVE_LIBLO -DHAVE_LIBLRDF -DHAVE_XFT -Os -mcpu=i686 -pipe -march=athlon -DNDEBUG -DNO_DEBUG -I/usr/include/alsa -I/usr/include/freetype2 -I/usr/include/freetype2/config -IRGbuild/gui -IRGbuild -I. -I/usr/X11R6/include/X11/Xft -IRGbuild/base -IRGbuild/sound -c -o RGbuild/gui/edittool.o RGbuild/gui/edittool.cpp
The bug is not reproducible, so it is likely a hardware or OS problem.
scons: *** [RGbuild/gui/dialogs.o] Error 1
scons: building terminated because of errors.

!!! ERROR: media-sound/rosegarden-4.1.2.3 failed.
!!! Function src_compile, Line 44, Exitcode 2
!!! scons failed
!!! If you need support, post the topmost build error, NOT this status message.
There is no Access Denied as was the case in the other thread mentioned above, but a memory access error (where I commented it) and something else to do with scons. I could still do a re-emerge of scons as suggested in the other thread, but as this includes a whole lot of other re-emerges I wanted to ask whether there was a different solution or suggestion for the problem at hand first.

Robin
Top
Dominique_71
Veteran
Veteran
User avatar
Posts: 1957
Joined: Wed Aug 17, 2005 1:01 pm
Location: Switzerland (Romandie)

  • Quote

Post by Dominique_71 » Fri Jun 02, 2006 10:29 am

I see at you are using a -Os flag. -Os is more for embeded system where the size of the file must be little. It is not so at you wil get more speed. -O2 is safe in all case, and -O3 is also safe and will give you more speed as -O2. In fact, -Os will be slower as the other flags.

I don't know if it is why you get this error. But you can myabe try rosegarden from this overlay.
"Confirm You are a robot." - the singularity
Top
bitpicker
Apprentice
Apprentice
User avatar
Posts: 163
Joined: Wed Dec 28, 2005 5:48 pm
Location: Germany
Contact:
Contact bitpicker
Website

  • Quote

Post by bitpicker » Fri Jun 02, 2006 11:40 am

I must have set that CFLAG to -Os during my initial setup of Gentoo, I have no idea why I did that. I have set it to -O3 now, but the error still persists.

I'll try the overlay later.

Robin
Top
bitpicker
Apprentice
Apprentice
User avatar
Posts: 163
Joined: Wed Dec 28, 2005 5:48 pm
Location: Germany
Contact:
Contact bitpicker
Website

  • Quote

Post by bitpicker » Mon Jun 05, 2006 5:29 pm

I have spent the weekend upgrading to gcc 3.4 and revdep-rebuilding all the stuff that goes with it, and with gcc 3.4 Rosegarden compiles all right and starts. It even plays back its own files and looks really excited about it, but I can't hear anything. Still, I'm halfway there, it seems... :)

Robin
Top
Dominique_71
Veteran
Veteran
User avatar
Posts: 1957
Joined: Wed Aug 17, 2005 1:01 pm
Location: Switzerland (Romandie)

  • Quote

Post by Dominique_71 » Mon Jun 05, 2006 6:20 pm

If you want to do serious audio work, I recommand you to install the pro-audio overlay and the rt-sources.
The choice between pam-rlimits and the rt-lsm is yours. For really intensive audio work, the realtime-lsm is a must, otherwise, pam-rlimits will be just fine. I am using rt kernel myself with the realtime-lsm module without problem on 3 different distributions and that for more as a year.

As for rosegarden, I use it with jack, and to get a sound with it, you must have a working MIDI synth (hard or soft) and connect it with qjackctl or from rosegarden.

Many packages in the overlay are lash compatible. It is great if you want to save and recall audio sessions.
"Confirm You are a robot." - the singularity
Top
bitpicker
Apprentice
Apprentice
User avatar
Posts: 163
Joined: Wed Dec 28, 2005 5:48 pm
Location: Germany
Contact:
Contact bitpicker
Website

  • Quote

Post by bitpicker » Tue Jun 06, 2006 9:43 pm

I'm not sure about 'serious' at all, actually - I'm just a dabbler, I just wanted to check out the possibilities. Qjackctl won't compile for me, Audacity did compile but won't work, it's all a bit too much work for just having a look into the matter. I think I don't really have the time to get any deeper into this. I've got a version of dynebolic lying around, maybe I'll try that.

Thanks for your help.

Robin
Top
FishB8
l33t
l33t
User avatar
Posts: 820
Joined: Mon Mar 17, 2003 8:30 pm

  • Quote

Post by FishB8 » Wed Jun 07, 2006 8:43 pm

This had nothing to do with the -Os CFLAG. (And there is nothing wrong with using it either. It optimises for size which means it can read the file into memory quicker)

You need to check and make sure you are not having memory problems. Your compiler output indicated your system was having problems accessing memory. You might want to run memcheck86 (available on gentoo's live CD / bootdisk as a boot option IIRC) just to make sure it is ok. Just because you succeeded in getting it to compile later on doesn't mean you don't have problems. This may be why you're having trouble getting other apps to compile.

Besides that, getting your playback working depends on several things:

-is the mixer volume for your sound output set correctly (can you hear sound from other apps?)
-what backend are you using? jack, alsa, oss?
-are you trying to play back midi? if so you need a midi engine to generate the sound for you or you're not going to hear anything.
"...as we enjoy great advantages from the inventions of others, we should be glad of an opportunity to serve others by any invention of ours, and this we should do freely and generously." -Benjamin Franklin
Top
Dominique_71
Veteran
Veteran
User avatar
Posts: 1957
Joined: Wed Aug 17, 2005 1:01 pm
Location: Switzerland (Romandie)

  • Quote

Post by Dominique_71 » Thu Jun 08, 2006 10:33 am

-Os is optimized for size, it will load faster in memory, but it is not optimized for execution speed.
-O2 and -O3 are optimized for speed, it will make a somewhat bigger code, but it will execute faster as -Os.

In a pc, we have generally enough ram memory, so the -Os flag is not really needed. A program load 1 time, when we start it.

Otherwise, for memcheck, you are right, it is definitly a hardware problem here.

If you want to try other audio distribution, dynebolic is a tool for mediactivist. It have few, but very good tools to perform live recording and-or streaming of an event. But it have less program as agnula-demudi or musix. If you have a very recent hardware, I don't recommand agnula, because it is almost one year ago when the last version was coming out. Agnula is just a different way to distribute debian, and it is not well in synch just now (to switch from stable to etch is easy for an user but not for a distro). A new version is planned when agnula will be fully in synch with etch, hoppefully in december.
"Confirm You are a robot." - the singularity
Top
bitpicker
Apprentice
Apprentice
User avatar
Posts: 163
Joined: Wed Dec 28, 2005 5:48 pm
Location: Germany
Contact:
Contact bitpicker
Website

  • Quote

Post by bitpicker » Thu Jun 08, 2006 7:29 pm

I've just learned that a new version of Dynebolic can be downloaded, and I'm currently at it. I'll also do a memtest, thanks for the suggestion.

I can hear playback of formats other than midi all right, but I suppose it's mostly a problem of settings. I now have jack and qjackctl, and I have tried connecting Rosegarden with practically everything it showed, to no avail. Now when the Gentoo system I'm on was first installed, I only had a synth-less on-board sound chip, which I have replaced by a Soundblaster Live card in the meantime (told you I'm a dabbler ;) ). I did add snd_seq_midi and Emu10k (or whatever the kernel modules are called), but there might still be something wrong (obviously is).

Sorry if I seem to be rambling, but I'm having a hard time getting my head around all midi-related concepts...

Robin
Top
bitpicker
Apprentice
Apprentice
User avatar
Posts: 163
Joined: Wed Dec 28, 2005 5:48 pm
Location: Germany
Contact:
Contact bitpicker
Website

  • Quote

Post by bitpicker » Fri Jun 09, 2006 7:14 am

Update: memtest didn't find anything wrong with my system RAM.

For some reason, Rosegarden doesn't seem to be included in Dynebolic 2.0, but timidity is and it did play back files (audibly). Apparently Dynebolic loaded a number of OSS modules, though. Anyway, one of these days I'm going to figure it out... ;) And when I find that the subject matter of making music in Linux is interesting enough I'll be sure to test this overlay for Gentoo, too.

Robin
Top
Dominique_71
Veteran
Veteran
User avatar
Posts: 1957
Joined: Wed Aug 17, 2005 1:01 pm
Location: Switzerland (Romandie)

  • Quote

Post by Dominique_71 » Fri Jun 09, 2006 9:23 am

For the synth of a soundblaster card to work, you have to load a soundfont in the memory.

Code: Select all

# asfxload your_soundfont.sf2
Be aware at the max size of the soundfont is 128MB. If you want to load a bigger soundfont, look at ALSA-configuration.txt in the doc folder of the kernel sources and modify /etc/modules.d/alsa.
"Confirm You are a robot." - the singularity
Top
Post Reply

11 posts • Page 1 of 1

Return to “Multimedia”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic