Nmap Development mailing list archives

Re: Cross-compiling error


From: Nuno Gonçalves <nunojpg () gmail com>
Date: Sun, 2 Jun 2013 20:19:01 +0100

On Fri, May 31, 2013 at 4:56 AM, David Fifield <david () bamsoftware com> wrote:
On Mon, Mar 18, 2013 at 01:28:28PM +0000, Nuno Gonçalves wrote:
With current revision (30683) I get the following error when cross-compiling:

targets.cc: In member function 'int
TargetGroup::get_next_host(sockaddr_storage*, size_t*)':
targets.cc:339:70: error: 'dynamic_cast' not permitted with -fno-rtti

What is your cross-compiling configuration? I think it is a matter of
the cross compiler configure with -fno-rtti.

I think that we use RTTI in only one place, TargetGroup::get_next_host.
If you have a nice patch to do the same thing without RTTI, I will
probably accept it.

David Fifield

I figured that out a few days later...and hoped my message got forgot.

While the last release had some issues for cross-compilation, current
revision (30914) is fine. Looking forward for a release!

Regards,
Nuno
_______________________________________________
Sent through the dev mailing list
http://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/

Current thread: