[asterisk-scf-dev] building asterisk-scf part2

Darren Sessions dsessions at digium.com
Sun Oct 23 10:47:07 CDT 2011


Wheezy isn't even out of the testing cycle is it?

----- Original Message -----
From: "Paul Belanger" <pabelanger at digium.com>
To: asterisk-scf-dev at lists.digium.com
Sent: Saturday, October 22, 2011 2:31:05 PM
Subject: Re: [asterisk-scf-dev] building asterisk-scf part2

On 11-10-21 03:43 PM, Kevin P. Fleming wrote:
> On 10/21/2011 02:15 PM, Marc Blanchet wrote:
>> Hello,
>> still building asterisk-scf on vanilla fedora14, from:
>> https://wiki.asterisk.org/wiki/display/TOP/Building+-+Linux
>> last command: "cmake --build ./build" generates the following error:
>> [ 1%] Building CXX object
>> slice/slice/CMakeFiles/astscf-api.dir/astscf-api/slice-ASTSCF/AsteriskSCF/Core/Discovery/ServiceLocatorIf.cpp.o
>>
>> /home/blanchet/asterisk-scf/gitall/build/slice/slice/astscf-api/slice-ASTSCF/AsteriskSCF/Core/Discovery/ServiceLocatorIf.cpp:
>> In member function ‘virtual void
>> AsteriskSCF::Core::Discovery::V1::ServiceLocatorParams::__writeImpl(IceInternal::BasicStream*,
>> Ice::ObjectIdMap&) const’:
>> /home/blanchet/asterisk-scf/gitall/build/slice/slice/astscf-api/slice-ASTSCF/AsteriskSCF/Core/Discovery/ServiceLocatorIf.cpp:3078:27:
>> error: variable ‘__offset’ set but not used
>> [-Werror=unused-but-set-variable]
>> cc1plus: all warnings being treated as errors
>>
>> gmake[2]: ***
>> [slice/slice/CMakeFiles/astscf-api.dir/astscf-api/slice-ASTSCF/AsteriskSCF/Core/Discovery/ServiceLocatorIf.cpp.o]
>> Error 1
>> gmake[1]: *** [slice/slice/CMakeFiles/astscf-api.dir/all] Error 2
>> gmake: *** [all] Error 2
>
> This is https://issues.asterisk.org/jira/browse/ASTSCF-261.
>
> Fedora 14 (and other distros) has a newer version of GCC than any of the
> distros we've documented build instructions for on this page:
>
> https://wiki.asterisk.org/wiki/display/TOP/Building+-+Linux
>
> If you use one of those distros (which we do our own builds and testing
> on), the build instructions will work. If you use a different distro,
> you might run into problems. This one has already been identified and
> will probably be addressed next week.
>
Just ran into this issue with Debian Wheezy. Is there a simple way to
allow the warnings?  I know the proper fix is to actually fix them, but
I have some free time ATM and wanted to see if I could get a build to work.

Do do see a astscf_allowwarnings function in cmake/AsteriskSCF.cmake
however my cmake foo is weak and not sure how to use the function.

--
Paul Belanger
Digium, Inc. | Software Developer
twitter: pabelanger | IRC: pabelanger (Freenode)
Check us out at: http://digium.com & http://asterisk.org

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-scf-dev



More information about the asterisk-scf-dev mailing list