Re: [LAU] compiling ingen

From: andy baxter <andy@email-addr-hidden-online.co.uk>
Date: Wed Nov 12 2008 - 10:13:07 EET

Shani Hadiyanto Pribadi wrote:
> Hello.
>
> I downloaded rev 1713 from http://svn.drobilla.net/lad/trunk/
> I run ./waf configure --prefix=/usr/local and then run ./waf -j2
> but then it shows error like this
>
> [ 28/287] cc: slv2/hosts/lv2_simple_jack_host.c ->
> build/default/slv2/hosts/lv2_simple_jack_host_6.o
> In file included from ../slv2/hosts/lv2_jack_host.c:29:
> ../slv2/hosts/lv2_uri_map.h:1: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '.' token
> In file included from ../slv2/hosts/lv2_jack_host.c:29:
> ../slv2/hosts/lv2_uri_map.h:1:41: warning: no newline at end of file
> In file included from ../slv2/hosts/lv2_jack_host.c:30:
> ../slv2/hosts/lv2_event.h:1:37: warning: no newline at end of file
> In file included from ../slv2/hosts/lv2_jack_host.c:31:
> ../slv2/hosts/lv2_event_helpers.h:1:45: warning: no newline at end of file
> ../slv2/hosts/lv2_jack_host.c:49: error: field 'direction' has incomplete type
> ../slv2/hosts/lv2_jack_host.c:53: error: expected
> specifier-qualifier-list before 'LV2_Event_Buffer'
> ../slv2/hosts/lv2_jack_host.c:76: error: expected ')' before 'callback_data'
> ../slv2/hosts/lv2_jack_host.c:86: error: expected '=', ',', ';', 'asm'
> or '__attribute__' before 'uri_map'
> ../slv2/hosts/lv2_jack_host.c:87: error: 'uri_map' undeclared here
> (not in a function)
> ../slv2/hosts/lv2_jack_host.c:91: error: expected ')' before 'callback_data'
> ../slv2/hosts/lv2_jack_host.c:97: error: expected '=', ',', ';', 'asm'
> or '__attribute__' before 'event_ref'
> ../slv2/hosts/lv2_jack_host.c:99: error: 'event_ref' undeclared here
> (not in a function)
> ../slv2/hosts/lv2_jack_host.c: In function 'main':
> ../slv2/hosts/lv2_jack_host.c:218: error: 'struct Port' has no member
> named 'ev_buffer'
> ../slv2/hosts/lv2_jack_host.c:219: error: 'struct Port' has no member
> named 'ev_buffer'
> ../slv2/hosts/lv2_jack_host.c: In function 'create_port':
> ../slv2/hosts/lv2_jack_host.c:269: error: 'struct Port' has no member
> named 'ev_buffer'
> ../slv2/hosts/lv2_jack_host.c:280: error: 'INPUT' undeclared (first
> use in this function)
> ../slv2/hosts/lv2_jack_host.c:280: error: (Each undeclared identifier
> is reported only once
> ../slv2/hosts/lv2_jack_host.c:280: error: for each function it appears in.)
> ../slv2/hosts/lv2_jack_host.c:283: error: 'OUTPUT' undeclared (first
> use in this function)
> ../slv2/hosts/lv2_jack_host.c:313: error: 'struct Port' has no member
> named 'ev_buffer'
> ../slv2/hosts/lv2_jack_host.c:313: warning: implicit declaration of
> function 'lv2_event_buffer_new'
> ../slv2/hosts/lv2_jack_host.c:313: error: 'LV2_EVENT_AUDIO_STAMP'
> undeclared (first use in this function)
> ../slv2/hosts/lv2_jack_host.c:314: error: 'struct Port' has no member
> named 'ev_buffer'
> ../slv2/hosts/lv2_jack_host.c: In function 'jack_process_cb':
> ../slv2/hosts/lv2_jack_host.c:342: warning: implicit declaration of
> function 'lv2_event_buffer_reset'
> ../slv2/hosts/lv2_jack_host.c:342: error: 'struct Port' has no member
> named 'ev_buffer'
> ../slv2/hosts/lv2_jack_host.c:342: error: 'LV2_EVENT_AUDIO_STAMP'
> undeclared (first use in this function)
> ../slv2/hosts/lv2_jack_host.c:342: error: 'struct Port' has no member
> named 'ev_buffer'
> ../slv2/hosts/lv2_jack_host.c:344: error: 'INPUT' undeclared (first
> use in this function)
> ../slv2/hosts/lv2_jack_host.c:347: error: 'LV2_Event_Iterator'
> undeclared (first use in this function)
> ../slv2/hosts/lv2_jack_host.c:347: error: expected ';' before 'iter'
> ../slv2/hosts/lv2_jack_host.c:348: warning: implicit declaration of
> function 'lv2_event_begin'
> ../slv2/hosts/lv2_jack_host.c:348: error: 'iter' undeclared (first use
> in this function)
> ../slv2/hosts/lv2_jack_host.c:348: error: 'struct Port' has no member
> named 'ev_buffer'
> ../slv2/hosts/lv2_jack_host.c:357: warning: implicit declaration of
> function 'lv2_event_write'
> ../slv2/hosts/lv2_jack_host.c:378: error: expected ';' before 'iter'
> ../slv2/hosts/lv2_jack_host.c:379: error: 'struct Port' has no member
> named 'ev_buffer'
> ../slv2/hosts/lv2_jack_host.c:385: error: 'LV2_Event' undeclared
> (first use in this function)
> ../slv2/hosts/lv2_jack_host.c:385: error: 'ev' undeclared (first use
> in this function)
> ../slv2/hosts/lv2_jack_host.c:385: warning: implicit declaration of
> function 'lv2_event_get'
> ../slv2/hosts/lv2_jack_host.c:395: warning: implicit declaration of
> function 'lv2_event_increment'
> Build failed
> -> task failed (err #129):
> [bld:///home/shani/Sources/svn/drobilla/svn.drobilla.net/lad/trunk/slv2/hosts/lv2_jack_host_5.o]
>
>
> Is there anything wrong?

I had a similar problem at first - I needed to install the package
libjack-dev, which doesn't seem to be picked up by ingen's configure
script. I'm not absolutely sure it's the same problem, but this would be
worth trying first anyway.

andy
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
Received on Wed Nov 12 12:15:02 2008

This archive was generated by hypermail 2.1.8 : Wed Nov 12 2008 - 12:15:02 EET