NetBSD Problem Report #33366

From dogcow@babymeat.com  Wed Apr 26 01:50:50 2006
Return-Path: <dogcow@babymeat.com>
Received: from veal.babymeat.com (veal.babymeat.com [155.53.1.242])
	by narn.netbsd.org (Postfix) with ESMTP id 1D99563B8EA
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 26 Apr 2006 01:50:50 +0000 (UTC)
Message-Id: <20060426015046.GA20065@babymeat.com>
Date: Tue, 25 Apr 2006 18:50:46 -0700
From: moof <dogcow@babymeat.com>
Reply-To: dogcow@babymeat.com
To: gnats-bugs@netbsd.org, drochner@netbsd.org
Subject: libpcap fails to pass lint
X-Send-Pr-Version: 3.95

>Number:         33366
>Category:       lib
>Synopsis:       libpcap fails to pass lint
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    lib-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 26 01:55:01 +0000 2006
>Closed-Date:    Wed Apr 26 01:59:41 +0000 2006
>Last-Modified:  Wed Apr 26 01:59:41 +0000 2006
>Originator:     moof
>Release:        NetBSD 3.99.18
>Organization:

>Environment:


System: NetBSD shiny.babymeat.com 3.99.18 NetBSD 3.99.18 (SHINY) #10: Thu Apr 13 21:51:53 PDT 2006 dogcow@shiny.babymeat.com:/usr/obj/obj/usr/src/sys/arch/i386/compile/SHINY i386
Architecture: i386
Machine: i386
>Description:
With the move of libpcap's source from lib/libpcap to dist/libpcap, 
libpcap no longer passes lint, and the userland build fails.

>How-To-Repeat:
rm -rf OBJDIR/lib/libpcap
cd /usr/src; ./build.sh release
[lots deleted]
#   compile  libpcap/gencode.ln
CC=/usr/obj//tools/bin/i386--netbsdelf-gcc /usr/obj//tools/bin/i386--netbsdelf-lint -chapbxzFS -d /usr/obj//dd/usr/include  -I/usr/src/lib/libpcap -I. -I/usr/src/dist/libpcap -DYYBISON -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -DINET6    -i /usr/src/dist/libpcap/gencode.c
/usr/src/dist/libpcap/gencode.c(298): warning: conversion to 'unsigned int' due to prototype, arg #1 [259]
/usr/src/dist/libpcap/gencode.c(300): warning: conversion to 'unsigned int' due to prototype, arg #3 [259]
/usr/src/dist/libpcap/gencode.c(352): redeclaration of pcap_compile [27]
/usr/src/dist/libpcap/gencode.c(407): redeclaration of pcap_compile_nopcap [27]
[lots more deleted]

>Fix:


>Release-Note:

>Audit-Trail:


State-Changed-From-To: open->closed
State-Changed-By: dogcow@netbsd.org
State-Changed-When: Wed, 26 Apr 2006 01:59:41 +0000
State-Changed-Why:
duplicate PR (of 33365)


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.