Problems compiling cruft-cleanout branch on Snow Leopard and Ubuntu 9.10

Simon Knight simon.knight at gmail.com
Fri Jan 29 03:09:35 UTC 2010


Hi Nick,
it builds for me on Ubuntu now, thanks!
Simon

On Tue, Jan 26, 2010 at 10:13 AM, Nick Hilliard <nick at inex.ie> wrote:
> On 16/11/2009 05:50, Simon Knight wrote:
>> On Ubuntu 9.10, I get the error:
>> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../src -g -O2 -MT
>> prefix.lo -MD -MP -MF .deps/prefix.Tpo -c prefix.cc  -fPIC -DPIC -o
>> .libs/prefix.o
>> prefix.cc: In member function ‘void PrefixRange::parse(const char*)’:
>> prefix.cc:187: error: invalid conversion from ‘const char*’ to ‘char*’
>> prefix.cc:189: error: invalid conversion from ‘const char*’ to ‘char*’
>> prefix.cc:192: error: invalid conversion from ‘const char*’ to ‘char*’
>> prefix.cc: In member function ‘void IPv6PrefixRange::parse(const char*)’:
>> prefix.cc:596: error: invalid conversion from ‘const char*’ to ‘char*’
> [...]
>
>> This looks to be related to version 4.4 of GCC that Ubuntu 9.10 uses
>> by default - http://gcc.gnu.org/gcc-4.4/porting_to.html
>> It might be worth updating the wiki to reflect this.
>
> Yes, this is a GNUC4.4 peculiarity; they fixed a problem associated with
> the typecasting of various str*() functions.  I've committed a fix for this
> in the trunk. Can you try recompiling and see if it works now?
>
> Nick
> _______________________________________________
> irrtoolset mailing list
> irrtoolset at lists.isc.org
> https://lists.isc.org/mailman/listinfo/irrtoolset
>



More information about the irrtoolset mailing list