Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge lmms-0.3.0 fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
trakon88
Tux's lil' helper
Tux's lil' helper


Joined: 04 Aug 2002
Posts: 84
Location: Hamburg, Germany

PostPosted: Thu Nov 22, 2007 9:45 pm    Post subject: emerge lmms-0.3.0 fails Reply with quote

Hello,
does anybody know what this errormessage means? I recompiled qt-3, all kind of soundlibs (libogg, libsndfile, libvorbis, libsamplerate, etc.) i also did a revdep-rebuild but nothing helps. I missed something I think, anybody has a suggestion but emerge -D world? There must be somebody who understands this ...

greetings
aleX

mv -f .deps/volume_knob.Tpo .deps/volume_knob.Po
/bin/sh ./libtool --tag=CXX --mode=link i686-pc-linux-gnu-g++ -DQT3 -I/usr/qt/3/include -D_REENTRANT -DQT_THREAD_SUPPORT -O2 -fPIC -ftree-vectorize -ftree-loop-li
near -march=pentium-m -O3 -pipe -fomit-frame-pointer -I/usr/local/include -rdynamic -L/usr/bin -L/usr/local/lib -o lmms audio_alsa.o audio_device.o audio_file_device
.o audio_file_ogg.o audio_file_wave.o audio_jack.o audio_oss.o audio_port.o audio_sample_recorder.o audio_sdl.o about_dialog.o arp_and_chords_tab_widget.o automation
_editor.o automation_pattern.o bb_editor.o config_mgr.o effect_chain.o effect_control_dialog.o effect_select_dialog.o effect_tab_widget.o effect.o engine.o envelope_
and_lfo_widget.o envelope_tab_widget.o export_project_dialog.o file_browser.o import_filter.o instrument.o main_window.o main.o meter_dialog.o midi_tab_widget.o mixe
r.o name_label.o note.o note_play_handle.o piano_roll.o piano_widget.o plugin.o plugin_browser.o preset_preview_play_handle.o sample_play_handle.o setup_dialog.o son
g_editor.o tool.o track.o track_container.o surround_area.o timeline.o base64.o clipboard.o journalling_object.o project_journal.o project_version.o embed.o mmp.o os
cillator.o sample_buffer.o string_pair_drag.o midi_alsa_raw.o midi_alsa_seq.o midi_client.o midi_mapper.o midi_oss.o midi_port.o automation_track.o bb_track.o instru
ment_track.o pattern.o sample_track.o automatable_button.o automatable_slider.o combobox.o cpuload_widget.o effect_label.o fade_button.o group_box.o kmultitabbar.o k
nob.o lcd_spinbox.o led_checkbox.o nstate_button.o pixmap_button.o project_notes.o rack_plugin.o rack_view.o rubberband.o qxembed.o rename_dialog.o side_bar_widget.o
tab_bar.o tab_widget.o text_float.o tempo_sync_knob.o tool_button.o tooltip.o visualization_widget.o volume_knob.o lmms_single_source.o -L/usr/qt/3/lib -lqt-mt -L
-L/usr/X11R6/lib -lXext -lX11 -lm -lSM -lICE -ljpeg -lasound -ljack -lvorbis -lvorbisenc -lvorbisfile -lsamplerate -Lplugins/ladspa_base -lladspabase
mkdir .libs
i686-pc-linux-gnu-g++ -DQT3 -I/usr/qt/3/include -D_REENTRANT -DQT_THREAD_SUPPORT -O2 -fPIC -ftree-vectorize -ftree-loop-linear -march=pentium-m -O3 -pipe -fomit-fram
e-pointer -I/usr/local/include -rdynamic -o .libs/lmms audio_alsa.o audio_device.o audio_file_device.o audio_file_ogg.o audio_file_wave.o audio_jack.o audio_oss.o au
dio_port.o audio_sample_recorder.o audio_sdl.o about_dialog.o arp_and_chords_tab_widget.o automation_editor.o automation_pattern.o bb_editor.o config_mgr.o effect_ch
ain.o effect_control_dialog.o effect_select_dialog.o effect_tab_widget.o effect.o engine.o envelope_and_lfo_widget.o envelope_tab_widget.o export_project_dialog.o fi
le_browser.o import_filter.o instrument.o main_window.o main.o meter_dialog.o midi_tab_widget.o mixer.o name_label.o note.o note_play_handle.o piano_roll.o piano_wid
get.o plugin.o plugin_browser.o preset_preview_play_handle.o sample_play_handle.o setup_dialog.o song_editor.o tool.o track.o track_container.o surround_area.o timel
ine.o base64.o clipboard.o journalling_object.o project_journal.o project_version.o embed.o mmp.o oscillator.o sample_buffer.o string_pair_drag.o midi_alsa_raw.o mid
i_alsa_seq.o midi_client.o midi_mapper.o midi_oss.o midi_port.o automation_track.o bb_track.o instrument_track.o pattern.o sample_track.o automatable_button.o automa
table_slider.o combobox.o cpuload_widget.o effect_label.o fade_button.o group_box.o kmultitabbar.o knob.o lcd_spinbox.o led_checkbox.o nstate_button.o pixmap_button.
o project_notes.o rack_plugin.o rack_view.o rubberband.o qxembed.o rename_dialog.o side_bar_widget.o tab_bar.o tab_widget.o text_float.o tempo_sync_knob.o tool_butto
n.o tooltip.o visualization_widget.o volume_knob.o lmms_single_source.o -L/usr/bin -L/usr/local/lib -L/usr/qt/3/lib /usr/qt/3/lib/libqt-mt.so -L/usr/lib/mysql -L/us
r/X11R6/lib /usr/lib/libmng.so /usr/lib/libpng12.so -lz /usr/lib/libXi.so /usr/lib/libXrender.so /usr/lib/libXrandr.so /usr/lib/libXcursor.so /usr/lib/libXft.so /usr
/lib/libfreetype.so /usr/lib/libfontconfig.so -L/var/tmp/portage/media-sound/lmms-0.3.0/work/lmms-0.3.0 /usr/lib/libXext.so /usr/lib/libX11.so /usr/lib/libXau.so /us
r/lib/libXdmcp.so /usr/lib/libSM.so /usr/lib/libICE.so /usr/lib/libjpeg.so /usr/lib/libasound.so /usr/lib/libjack.so -lrt -lpthread -ldl /usr/lib/libvorbisenc.so /us
r/lib/libvorbisfile.so /usr/lib/libvorbis.so /usr/lib/libogg.so /usr/lib/libsamplerate.so -lm -L/var/tmp/portage/media-sound/lmms-0.3.0/work/lmms-0.3.0/plugins/ladsp
a_base /var/tmp/portage/media-sound/lmms-0.3.0/work/lmms-0.3.0/plugins/ladspa_base/.libs/libladspabase.so -Wl,--rpath -Wl,/usr/lib/lmms
instrument_track.o: In function `instrumentTrack::instrumentTrack(trackContainer*)':
instrument_track.cpp:(.text+0x65e9): undefined reference to `automatableObject<float, float>::linkObjects(automatableObject<float, float>*, automatableObject<float,
float>*)'
instrument_track.o: In function `instrumentTrack::instrumentTrack(trackContainer*)':
instrument_track.cpp:(.text+0x85d9): undefined reference to `automatableObject<float, float>::linkObjects(automatableObject<float, float>*, automatableObject<float,
float>*)'
collect2: ld returned 1 exit status
make[2]: *** [lmms] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/media-sound/lmms-0.3.0/work/lmms-0.3.0'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/media-sound/lmms-0.3.0/work/lmms-0.3.0'
make: *** [all] Fehler 2
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Fri Nov 23, 2007 1:38 am    Post subject: Reply with quote

emerge --info plz.
Back to top
View user's profile Send private message
trakon88
Tux's lil' helper
Tux's lil' helper


Joined: 04 Aug 2002
Posts: 84
Location: Hamburg, Germany

PostPosted: Fri Nov 23, 2007 7:31 am    Post subject: Reply with quote

Hello,

here are the infos ...

emerge --info
Portage 2.1.3.19 (default-linux/x86/2006.1/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r2 i686)
=================================================================
System uname: 2.6.23-gentoo-r2 i686 Intel(R) Pentium(R) M processor 1.60GHz
Timestamp of tree: Wed, 21 Nov 2007 17:00:03 +0000
app-shells/bash: 3.2_p17
dev-java/java-config: 1.3.7, 2.1.2-r1
dev-lang/python: 2.3.5-r3, 2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.61-r1
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool: 1.5.24
virtual/os-headers: 2.6.22-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=pentium-m -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/pro-audio"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acpi aiglx alsa arts artswrappersuid asf audiofile berkdb bitmap-fonts bluetooth bootsplash browserplugin cairo cdparanoia cdr cdrw cli cpudetection cracklib crypt cups dbus dlloader dri dts dvb dvd dvdr dvdread eds emboss encode esd exif fam faxonly firefox flac fortran gdbm gif gimp gnokii gphoto2 gpm gstreamer gtk gtk2 hal i8x0 iconv ipod ipv6 irda irmc isdnlog jack java jpeg jpeg2k kde kdepim ladspa ldap mad midi mikmod mmx mmxext mp3 mpeg mudflap musepack musicbrainz mysql ncurses nls nptl nptlonly nsplugin ogg openexr opengl openmp oss pam pcre pda perl png ppds pppd python qt qt-static qt3 qt3support qt4 quicktime readline reflection scanner sdl session sms sndfile spell spl sse sse2 ssl tcpd tiff truetype truetype-fonts type1-fonts usb v4l visualization vorbis wifi win32codecs wxwindows x264 x86 xcomposite xine xml xorg xscreensaver xv xvid zlib" ALSA_CARDS="intel8x0 usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="i810 i830 i915"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Back to top
View user's profile Send private message
gimpel
Advocate
Advocate


Joined: 15 Oct 2004
Posts: 2720
Location: Munich, Bavaria

PostPosted: Fri Nov 23, 2007 9:46 am    Post subject: Reply with quote

Please do not post problems with ebuilds from pro-audio overlay in this forum. Post here instead:
https://forums.gentoo.org/viewtopic-t-427211.html

It fails to link at some point it seems. But I can not reproduce this here.
What useflags are you using for lmms?
For testing, please try to lower your C(XX)FLAGS to -O2 and/or remove -fomit-frame-pointer.


PS: Okay, just tested. It's -O3 that breaks it. I will let the ebuild replace that flag.
Sync the overlay and try lmms-0.3.0-r1

You should not use -O3 on gcc-4.1 upwards anyway. See the forums.
_________________
http://proaudio.tuxfamily.org/wiki - pro-audio software overlay
Back to top
View user's profile Send private message
trakon88
Tux's lil' helper
Tux's lil' helper


Joined: 04 Aug 2002
Posts: 84
Location: Hamburg, Germany

PostPosted: Fri Nov 23, 2007 6:50 pm    Post subject: Reply with quote

hi,

the new ebuild worked! How did you see that this was the mistake?

thanx and greetings
aleXander
Back to top
View user's profile Send private message
gimpel
Advocate
Advocate


Joined: 15 Oct 2004
Posts: 2720
Location: Munich, Bavaria

PostPosted: Fri Nov 23, 2007 6:53 pm    Post subject: Reply with quote

trakon88 wrote:
hi,

the new ebuild worked! How did you see that this was the mistake?

I looked at your compiler flags, noticed you're using -O3 with gcc-4, remebered that this is not recommended and tends to cause errors, set the -O2 to -O3 in my make.conf, and tried to compile lmms. It failed with exactly the same error.

So now the ebuild replaces your -O3 with -O2 :)

Please read http://www.gentoo.org/doc/de/gcc-optimization.xml#doc_chap2
Quote:
# -O3: This is the highest level of optimization possible, and also the riskiest. It will take a longer time to compile your code with this option, and in fact it should not be used system-wide with gcc 4.x. The behavior of gcc has changed significantly since version 3.x. In 3.x, -O3 has been shown to lead to marginally faster execution times over -O2, but this is no longer the case with gcc 4.x. Compiling all your packages with -O3 will result in larger binaries that require more memory, and will significantly increase the odds of compilation failure or unexpected program behavior (including errors). The downsides outweigh the benefits; remember the principle of diminishing returns. Using -O3 is not recommended for gcc 4.x.

_________________
http://proaudio.tuxfamily.org/wiki - pro-audio software overlay
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
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