libJack compile on Solaris 10 x86

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

libJack compile on Solaris 10 x86

Sébastien THOMAS-2
Hi,

I would like to compile jack (jacklib) on Solaris 10 x86.
I tried with gcc v3 and v4 without any luck.
Configure goes fine, but make give me a strange error I don't understant : 

# gcc -v
Reading specs from /opt/csw/gcc4/lib/gcc/i386-pc-solaris2.8/4.0.2/specs
Target: i386-pc-solaris2.8
Configured with: ../sources/gcc-4.0.2/configure --prefix=/opt/csw/gcc4 --with-local-prefix=/opt/csw --with-gnu-as --with-as=/opt/csw/bin/gas --without-gnu-ld --with-ld=/usr/ccs/bin/ld --enable-threads=posix --enable-shared --enable-multilib --enable-nls --with-included-gettext --with-libiconv-prefix=/opt/csw --with-x --enable-java-awt=xlib --with-system-zlib --enable-languages=c,c++,f95,java,objc,ada
Thread model: posix
gcc version 4.0.2


--- end of configure

jack-audio-connection-kit 0.103.0 :

| Build with ALSA support............................... : false
| Build with FreeBob support............................ : false
| Build with OSS support................................ : false
| Build with CoreAudio support.......................... : false
| Build with PortAudio support.......................... : false
| Compiler optimization flags........................... : -DREENTRANT -O3 -fomit-frame-pointer -ffast-math -funroll-loops -I$(top_srcdir)/config -I$(top_srcdir) -I$(top_srcdir) -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -march=pentium2 -mcpu=pentium4 -O3 -ffast-math -funroll-loops -fprefetch-loop-arrays
| Compiler full flags................................... : -I$(top_srcdir)/config -I$(top_srcdir) -I$(top_srcdir) -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -g -O2
| Install dir for libjack + backends.................... : ${exec_prefix}/lib/jack
|
| Default driver backend................................ : "dummy"
| Shared memory interface............................... : "System V"
| Install prefix........................................ : /usr/local

--- gmake error :

Making all in libjack
gmake[2]: Entering directory `/opt/home/prune/jack-audio-connection-kit-0.103.0/libjack'
/bin/bash ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -g -O2 -DJACK_LOCATION=\"/usr/local/bin\" -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -g -O2 -MT libjack_la-time.lo -MD -MP -MF .deps/libjack_la-time.Tpo -c -o libjack_la-time.lo `test -f 'time.c' || echo './'`time.c
gcc -DHAVE_CONFIG_H -I. -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -g -O2 -DJACK_LOCATION=\"/usr/local/bin\" -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -g -O2 -MT libjack_la-time.lo -MD -MP -MF .deps/libjack_la-time.Tpo -c time.c  -fPIC -DPIC -o .libs/libjack_la-time.o
In file included from ../config/sysdeps/time.h:9,
                 from ../jack/internal.h:56,
                 from time.c:35:
../config/os/generic/time.h: In function 'jack_get_microseconds':
../config/os/generic/time.h:29: warning: implicit declaration of function 'jack_get_microseconds_from_system'
time.c: At top level:
time.c:80: error: conflicting types for 'jack_get_microseconds_from_system'
../config/os/generic/time.h:29: error: previous implicit declaration of 'jack_get_microseconds_from_system' was here
gmake[2]: *** [libjack_la-time.lo] Error 1
gmake[2]: Leaving directory `/opt/home/prune/jack-audio-connection-kit-0.103.0/libjack'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/opt/home/prune/jack-audio-connection-kit-0.103.0'
gmake: *** [all] Error 2


It seems to be because of the "inline" declaration of jack_get_microseconds but I don't understand why...
This is really urgent, please help ! I only need libjack, no binary.

Thanks !

--
Sébastien THOMAS - Ingénieur Systèmes
[hidden email] - tel : +33 (0) 1 40 70 42 81




-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Jackit-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jackit-devel