Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Ardour compilation error...Fixed
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
krizz
n00b
n00b


Joined: 15 Sep 2004
Posts: 26

PostPosted: Mon Oct 04, 2004 10:26 am    Post subject: Ardour compilation error...Fixed Reply with quote

Hey there,

I'm installing my new gentoo system and what's a guitarist without some good recording software? I've used ardour for a few years now and wanted to install it again.

The current version (and only version) of ardour in the portage tree is: ardour-0.9_beta19-r1

I tried to emerge it multiple times but somehow the compilation stops at the same nasty error every time (see the compiler output below).

My system is: P4 2GHz, Kernel-2.6.8-gentoo-r3, Xorg-6.7, GNOME....

My make.conf is:
Code:

# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
USE="-kde -qt gtk gnome dvd cdr"


I emerged ardour with:
Code:
ACCEPT_KEYWORDS="~x86" emerge ardour


Here's the compiler output:
Code:

g++ -DHAVE_CONFIG_H -I. -I. -I. -I.    -D_REENTRANT -O3 -march=i686 -fomit-frame -pointer -ffast-math -fstrength-reduce -fmove-all-movables -pipe -Wall -D_LARGEF ILE_SOURCE -D_LARGEFILE64_SOURCE -I/var/tmp/portage/ardour-0.9_beta19-r1/work/ar dour-0.9beta19/libs/sigc++ -I/var/tmp/portage/ardour-0.9_beta19-r1/work/ardour-0 .9beta19/libs/sigc++/sigc++/config -I/var/tmp/portage/ardour-0.9_beta19-r1/work/ ardour-0.9beta19/libs/pbd -I/var/tmp/portage/ardour-0.9_beta19-r1/work/ardour-0. 9beta19/libs/midi++ -I/var/tmp/portage/ardour-0.9_beta19-r1/work/ardour-0.9beta1 9/libs/ardour -I/var/tmp/portage/ardour-0.9_beta19-r1/work/ardour-0.9beta19/libs /soundtouch -I/var/tmp/portage/ardour-0.9_beta19-r1/work/ardour-0.9beta19/libs/ -I/var/tmp/portage/ardour-0.9_beta19-r1/work/ardour-0.9beta19/libs/gtk-canvas -I /var/tmp/portage/ardour-0.9_beta19-r1/work/ardour-0.9beta19/libs/gtk-canvas/gtk- canvas -I/var/tmp/portage/ardour-0.9_beta19-r1/work/ardour-0.9beta19/libs/gtkmme xt -I/var/tmp/portage/ardour-0.9_beta19-r1/work/ardour-0.9beta19/libs/gtkmm/gdk- - -I/var/tmp/portage/ardour-0.9_beta19-r1/work/ardour-0.9beta19/libs/gtkmm/src - I/var/tmp/portage/ardour-0.9_beta19-r1/work/ardour-0.9beta19/libs/gtkmm -c -o al sa_sequencer_midiport.o `test -f 'alsa_sequencer_midiport.cc' || echo './'`alsa_ sequencer_midiport.cc
In file included from alsa_sequencer_midiport.cc:25:
midi++/alsa_sequencer.h:29:28: alsa/asoundlib.h: No such file or directory
In file included from alsa_sequencer_midiport.cc:25:
midi++/alsa_sequencer.h:52: error: syntax error before `*' token
midi++/alsa_sequencer.h:53: error: syntax error before `*' token
midi++/alsa_sequencer.h:55: error: 'snd_seq_event_t' is used as a type, but is
   not defined as a type.
alsa_sequencer_midiport.cc: In constructor `
   MIDI::ALSA_SequencerMidiPort::ALSA_SequencerMidiPort(MIDI::PortRequest&)':
alsa_sequencer_midiport.cc:46: error: class `MIDI::ALSA_SequencerMidiPort' does
   not have any field named `seq'
alsa_sequencer_midiport.cc:47: error: class `MIDI::ALSA_SequencerMidiPort' does
   not have any field named `decoder'
alsa_sequencer_midiport.cc:48: error: class `MIDI::ALSA_SequencerMidiPort' does
   not have any field named `encoder'
alsa_sequencer_midiport.cc:53: error: `decoder' undeclared (first use this
   function)
alsa_sequencer_midiport.cc:53: error: (Each undeclared identifier is reported
   only once for each function it appears in.)
alsa_sequencer_midiport.cc:53: error: `snd_midi_event_new' undeclared (first
   use this function)
alsa_sequencer_midiport.cc:54: error: `encoder' undeclared (first use this
   function)
alsa_sequencer_midiport.cc:55: error: `snd_midi_event_init' undeclared (first
   use this function)
alsa_sequencer_midiport.cc: In destructor `virtual
   MIDI::ALSA_SequencerMidiPort::~ALSA_SequencerMidiPort()':
alsa_sequencer_midiport.cc:66: error: `snd_midi_event_free' undeclared (first
   use this function)
alsa_sequencer_midiport.cc:69: error: `seq' undeclared (first use this
   function)
alsa_sequencer_midiport.cc:70: error: `snd_seq_close' undeclared (first use
   this function)
alsa_sequencer_midiport.cc: In member function `virtual int
   MIDI::ALSA_SequencerMidiPort::selectable() const':
alsa_sequencer_midiport.cc:75: error: elements of array `pollfd pfd[1]' have
   incomplete type
alsa_sequencer_midiport.cc:75: error: storage size of `pfd' isn't known
alsa_sequencer_midiport.cc:76: error: `POLLIN' undeclared (first use this
   function)
alsa_sequencer_midiport.cc:76: error: `POLLOUT' undeclared (first use this
   function)
alsa_sequencer_midiport.cc:76: error: `snd_seq_poll_descriptors' undeclared
   (first use this function)
alsa_sequencer_midiport.cc: In member function `virtual int
   MIDI::ALSA_SequencerMidiPort::write(byte*, unsigned int)':
alsa_sequencer_midiport.cc:86: error: `snd_midi_event_reset_encode' undeclared
   (first use this function)
alsa_sequencer_midiport.cc:87: error: `SEv' undeclared (first use this
   function)
alsa_sequencer_midiport.cc:87: error: `snd_midi_event_encode' undeclared (first
   use this function)
alsa_sequencer_midiport.cc:90: error: `snd_seq_event_output' undeclared (first
   use this function)
alsa_sequencer_midiport.cc:91: error: `snd_seq_drain_output' undeclared (first
   use this function)
alsa_sequencer_midiport.cc: In member function `virtual int
   MIDI::ALSA_SequencerMidiPort::read(byte*, unsigned int)':
alsa_sequencer_midiport.cc:113: error: `snd_seq_event_t' undeclared (first use
   this function)
alsa_sequencer_midiport.cc:113: error: `ev' undeclared (first use this
   function)
alsa_sequencer_midiport.cc:114: error: `snd_seq_event_input' undeclared (first
   use this function)
alsa_sequencer_midiport.cc:116: error: `snd_midi_event_decode' undeclared
   (first use this function)
alsa_sequencer_midiport.cc: In member function `int
   MIDI::ALSA_SequencerMidiPort::CreatePorts(MIDI::PortRequest&)':
alsa_sequencer_midiport.cc:136: error: `SND_SEQ_OPEN_DUPLEX' undeclared (first
   use this function)
alsa_sequencer_midiport.cc:137: error: `SND_SEQ_NONBLOCK' undeclared (first use
   this function)
alsa_sequencer_midiport.cc:137: error: `snd_seq_open' undeclared (first use
   this function)
alsa_sequencer_midiport.cc:138: error: `snd_seq_set_client_name' undeclared
   (first use this function)
alsa_sequencer_midiport.cc:141: error: `SND_SEQ_PORT_CAP_WRITE' undeclared
   (first use this function)
alsa_sequencer_midiport.cc:141: error: `SND_SEQ_PORT_CAP_SUBS_WRITE' undeclared
   (first use this function)
alsa_sequencer_midiport.cc:143: error: `SND_SEQ_PORT_CAP_READ' undeclared
   (first use this function)
alsa_sequencer_midiport.cc:143: error: `SND_SEQ_PORT_CAP_SUBS_READ' undeclared
   (first use this function)
alsa_sequencer_midiport.cc:144: error: `SND_SEQ_PORT_TYPE_MIDI_GENERIC'
   undeclared (first use this function)
alsa_sequencer_midiport.cc:144: error: `snd_seq_create_simple_port' undeclared
   (first use this function)
alsa_sequencer_midiport.cc:147: error: `snd_seq_ev_clear' undeclared (first use
   this function)
alsa_sequencer_midiport.cc:148: error: `snd_seq_ev_set_source' undeclared
   (first use this function)
alsa_sequencer_midiport.cc:149: error: `snd_seq_ev_set_subs' undeclared (first
   use this function)
alsa_sequencer_midiport.cc:150: error: `snd_seq_ev_set_direct' undeclared
   (first use this function)
alsa_sequencer_midiport.cc:152: error: `snd_seq_close' undeclared (first use
   this function)
make[4]: *** [alsa_sequencer_midiport.o] Error 1
make[4]: Leaving directory `/var/tmp/portage/ardour-0.9_beta19-r1/work/ardour-0. 9beta19/libs/midi++'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/ardour-0.9_beta19-r1/work/ardour-0. 9beta19/libs/midi++'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/ardour-0.9_beta19-r1/work/ardour-0. 9beta19/libs/midi++'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/ardour-0.9_beta19-r1/work/ardour-0. 9beta19/libs'
make: *** [all-recursive] Error 1

!!! ERROR: media-sound/ardour-0.9_beta19-r1 failed.
!!! Function src_compile, Line 49, Exitcode 2
!!! parallel make failed

tornado root #


I searched the archives for a similar specific error but did not find anything.

Can somebody point me at a possible cause/solution?

Thanks in advance,

Kris


Last edited by krizz on Tue Oct 05, 2004 11:41 am; edited 1 time in total
Back to top
View user's profile Send private message
krizz
n00b
n00b


Joined: 15 Sep 2004
Posts: 26

PostPosted: Mon Oct 04, 2004 10:48 am    Post subject: Reply with quote

Oh, I just discovered something that might have to do something with it; if I want to play something in hydrogen (drumcomputer) it complains that midi is not being supported.

I just installed my system with default USE flags, the normal (PCM) sound works.

Maybe that helps? Anyway; thanks,

Kris

BTW. There is no fader for MIDI or whatsoever in the volume control either.
Back to top
View user's profile Send private message
Woody
Guru
Guru


Joined: 30 Nov 2002
Posts: 592
Location: Milwaukee

PostPosted: Mon Oct 04, 2004 3:53 pm    Post subject: Reply with quote

Is alsa-lib up to date?
Back to top
View user's profile Send private message
krizz
n00b
n00b


Joined: 15 Sep 2004
Posts: 26

PostPosted: Mon Oct 04, 2004 4:52 pm    Post subject: Reply with quote

Hmmm...

I'm not very familiar with the portage system yet but when I invoke:
Code:
emerge -p alsa-lib

Portage answers with:
Code:
These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] media-sound/alsa-headers-1.0.6a
[ebuild  N    ] media-libs/alsa-lib-1.0.5-r3

Which means that alsa-headers and lib are new to my system and will be build for the first time...aha! Thanks for the tip. :wink:

*Building right now*
Back to top
View user's profile Send private message
krizz
n00b
n00b


Joined: 15 Sep 2004
Posts: 26

PostPosted: Tue Oct 05, 2004 11:41 am    Post subject: Reply with quote

It works, the build was succesful, thank you!
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