On 07/22/2011 07:57 PM, Barry Miller wrote:
> On Fri, Jul 22, 2011 at 10:10:01AM +0200, marek cervenka wrote:
>> hi,
>>
>> i'm trying build asterisk rpm
>> normal compilation is ok but rpm building always fail
>>
>> centos6/asterisk 1.8.5.0
>>
>> any ideas?
>
> I do not use centos (or build rpms, for that matter), but at least on
> OpenBSD the "-march=i386" causes the same undefineds you are seeing.
>
> I have to force i686 when configuring asterisk:
>       ./configure --prefix=/usr/local CFLAGS=-march=i686 
> for the build to succeed.
>
> I'm not sure if this applies in your case, but maybe it will help.
>

thanks! that solved my problem


for the record. relevant parts from .spec file

BuildArch: i686

%configure --without-tds --without-iksemel CFLAGS=-march=i686

-- 
Marek Cervenka



--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to