Re: [ecasound] Compiling Ecasound for amd64

From: Kai Vehmanen <kvehmanen@email-addr-hidden>
Date: Thu Jan 15 2009 - 20:28:04 EET

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)

------------------------------------------------------------------------------
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 00:15:01 2009

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