error: conflicting types

I tried compiling the 2.0-ongoing release from SVN (with VST=1 LV2=1) and the following errors occurred:

/usr/include/jack/systemdeps.h:34: error: conflicting types for ‘int8_t’
/usr/include/sys/types.h:195: error: previous declaration of ‘int8_t’ was here
/usr/include/jack/systemdeps.h:38: error: conflicting types for ‘int32_t’
/usr/include/sys/types.h:197: error: previous declaration of ‘int32_t’ was here
/usr/include/jack/systemdeps.h:43: error: conflicting types for ‘pthread_t’
/usr/include/bits/pthreadtypes.h:50: error: previous declaration of ‘pthread_t’ was here
/usr/include/stdint.h:52: error: conflicting types for ‘uint32_t’
/usr/include/jack/systemdeps.h:39: error: previous declaration of ‘uint32_t’ was here
/usr/include/jack/systemdeps.h:53: error: conflicting types for ‘_jack_time_t’
/usr/include/jack/systemdeps.h:44: error: previous declaration of ‘_jack_time_t’ was here
winegcc: i486-linux-gnu-gcc failed
scons: *** [libs/fst/vsti.o] Error 2
scons: building terminated because of errors.
I remember having compilation issues with libpthread previously, I think because Ubuntu’s package is named libpthread-stubs0-dev rather than libpthread-dev. Any suggestions?

Yes, both Ardour 2 and 3 compile successfully against JACK 2 revision 3335.

this is caused by an error in the jack2 headers. it has already been fixed in jack2 svn.

Ok, I checked out both Ardour2 and Jack2 from svn. Now the errors are:

In file included from /usr/local/include/jack/jack.h:29,
from libs/fst/jackvst.h:6,
from libs/fst/vsti.c:32:
/usr/local/include/jack/systemdeps.h:62: error: conflicting types for ‘_jack_time_t’
/usr/local/include/jack/systemdeps.h:54: error: previous declaration of ‘_jack_time_t’ was here
winegcc: i486-linux-gnu-gcc failed
scons: *** [libs/fst/vsti.o] Error 2
scons: building terminated because of errors.

I checked out today’s jack2 update from svn. Ardour2 is now compiling successfully against the new jack headers. Looks like the bug has been fixed.

Can you try again with latest jack2 svn rev 3335 version?