[asterisk-users] asterisk rpm build problem
Marek Cervenka
cervajs at fpf.slu.cz
Mon Jul 25 04:06:50 CDT 2011
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
More information about the asterisk-users
mailing list