Subject: Re: anyone else having trouble compiling nmap on current?
To: Hisashi T Fujinaka <htodd@twofifty.com>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: tech-pkg
Date: 07/12/2004 23:03:34
--5FetH82qe0Z6y/zI
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
hi,
On Sun, Jul 11, 2004 at 11:21:27AM -0700, Hisashi T Fujinaka wrote:
> The error I see is:
>=20
> g++ -c -I/usr/pkg/include -I/usr/include -I/include -I/usr/include -O2=20
> -I/usr/pkg/include -I/usr/include -Wall -I/usr/include -Inbase=20
> -Insock/include -DHAVE_CONFIG_H -DNMAP_VERSION=3D\"3.55\"=20
> -DNMAP_NAME=3D\"nmap\" -DNMAP_URL=3D\"http://www.insecure.org/nmap/\"=20
> -DNMAP_PLATFORM=3D\"i386--netbsdelf\" -DNMAPDATADIR=3D\"/usr/pkg/share/nm=
ap\"=20
> -I. nmap.cc -o nmap.o
> nmap.cc: In function `int parse_scanflags(char*)':
> nmap.cc:115: error: `strcasestr' undeclared (first use this function)
> nmap.cc:115: error: (Each undeclared identifier is reported only once for=
=20
> each
> function it appears in.)
> *** Error code 1
is your userland fully installed? strcasestr(3) was added few days ago
to -current and i can't reproduce the problem on today's build.
NetBSD 2.0G #0: Mon Jul 12 12:07:59
$ ident /lib/libc.so| grep strcasestr
$NetBSD: strcasestr.c,v 1.1 2004/07/03 08:27:25 junyoung Exp $
$ grep strcasestr /usr/include/string.h
char *strcasestr(const char *, const char *);
check your build.log what it says about strcasestr() test.
regards,
--=20
-- Lubomir Sedlacik <salo@{NetBSD,Xtrmntr,silcnet}.org> --
--5FetH82qe0Z6y/zI
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)
iD8DBQFA8vymiwjDDlS8cmMRAtFZAJ9j/MZYsGIWJjgqOlYURmcpg6YJtwCfZ9B+
LcpTfQUnCKGfqb1h8ZyKfwI=
=6fAj
-----END PGP SIGNATURE-----
--5FetH82qe0Z6y/zI--