Re: [ecasound] Compiling Ecasound for amd64

From: Joel Roth <joelz@email-addr-hidden>
Date: Fri Jan 16 2009 - 08:13:41 EET

On Thu, Jan 15, 2009 at 08:28:04PM +0200, Kai Vehmanen wrote:
> Hi,
>
> On Thu, 15 Jan 2009, Joel Roth wrote:
> > A little trial-and-error shows that I need to change all
> > the Makefiles. Okay, I can script that. But first
> > a question: Do I just need to change CFLAGS?
> > What about AM_CFLAGS and ECA_S_CFLAGS?
>
> could you try the following snapshot. It should fix this problem out of
> the box:
> http://ecasound.seul.org/download/snapshots/ecasound-2.5.2dev-20090115.tar.gz
>
> The changes are limited to ecasoundc/Makefile.am:
> --- a/libecasoundc/Makefile.am
> +++ b/libecasoundc/Makefile.am
> @@ -57,9 +57,13 @@ ecasoundc_src = ecasoundc_sa.c \
> # ----------------------------------------------------------------------
>
> libecasoundc_la_SOURCES = $(ecasoundc_src)
> +libecasoundc_la_CFLAGS = -prefer-pic
> +libecasoundc_la_CXXFLAGS = -prefer-pic
> libecasoundc_la_LIBADD =
> libecasoundc_la_LDFLAGS = -export-dynamic $(eca_ldflags)
> libecasoundc_debug_la_SOURCES = $(libecasoundc_la_SOURCES)
> +libecasoundc_debug_la_CFLAGS = -prefer-pic
> +libecasoundc_debug_la_CXXFLAGS = -prefer-pic
> libecasoundc_debug_la_LIBADD =
> libecasoundc_debug_la_LDFLAGS = $(libecasoundc_la_LDFLAGS)

Kai,

Thanks for the snapshot. Here's my make output.

Joel

make[3]: Entering directory
`/otherroot/home/jroth/Desktop/ecasound-2.5.2dev-20090115/libecasound'
if /bin/sh ../libtool --tag=CXX --mode=compile g++
-DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../kvutils
-I/usr/include/kde/artsc -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -D_REENTRANT
"-DECA_PKGDATADIR=\"/usr/local/share/ecasound\""
-ffast-math -fstrict-aliasing -funroll-loops -DNDEBUG
-DENABLE_DBC -g -O2 -MT jack-connections.lo -MD -MP -MF
".deps/jack-connections.Tpo" -c -o jack-connections.lo
jack-connections.cpp; \ then mv -f
".deps/jack-connections.Tpo" ".deps/jack-connections.Plo";
else rm -f ".deps/jack-connections.Tpo"; exit 1; fi g++
-DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../kvutils
-I/usr/include/kde/artsc -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -D_REENTRANT
-DECA_PKGDATADIR=\"/usr/local/share/ecasound\" -ffast-math
-fstrict-aliasing -funroll-loops -DNDEBUG -DENABLE_DBC -g
-O2 -MT jack-connections.lo -MD -MP -MF
.deps/jack-connections.Tpo -c jack-connections.cpp -fPIC
-DPIC -o .libs/jack-connections.o jack-connections.cpp: In
static member function 'static bool
JACK_CONNECTIONS::list_connections(std::string*)':
jack-connections.cpp:131: error: 'free' was not declared in
this scope jack-connections.cpp:137: error: 'free' was not
declared in this scope make[3]: *** [jack-connections.lo]
Error 1 make[3]: Leaving directory
`/otherroot/home/jroth/Desktop/ecasound-2.5.2dev-20090115/libecasound'
make[2]: *** [all-recursive] Error 1 make[2]: Leaving
directory
`/otherroot/home/jroth/Desktop/ecasound-2.5.2dev-20090115/libecasound'
make[1]: *** [all-recursive] Error 1 make[1]: Leaving
directory
`/otherroot/home/jroth/Desktop/ecasound-2.5.2dev-20090115'
make: *** [all] Error 2

-- 
Joel Roth
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Ecasound-list mailing list
Ecasound-list@email-addr-hidden
https://lists.sourceforge.net/lists/listinfo/ecasound-list
Received on Fri Jan 16 12:15:02 2009

This archive was generated by hypermail 2.1.8 : Fri Jan 16 2009 - 12:15:02 EET