From owner-freebsd-atm@FreeBSD.ORG Fri May 9 00:09:17 2003 Return-Path: Delivered-To: freebsd-atm@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4E3C437B407 for ; Fri, 9 May 2003 00:09:17 -0700 (PDT) Received: from mailhub.fokus.fraunhofer.de (mailhub.fokus.fraunhofer.de [193.174.154.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 03BB943F3F for ; Fri, 9 May 2003 00:09:16 -0700 (PDT) (envelope-from brandt@fokus.fraunhofer.de) Received: from beagle (beagle [193.175.132.100])h4979CE23960; Fri, 9 May 2003 09:09:12 +0200 (MEST) Date: Fri, 9 May 2003 09:09:12 +0200 (CEST) From: Harti Brandt To: josh.gilby@marconi.com In-Reply-To: Message-ID: <20030509090604.F877@beagle.fokus.fraunhofer.de> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-atm@freebsd.org Subject: Re: Unable to make ngatmbase X-BeenThere: freebsd-atm@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ATM for FreeBSD! List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 May 2003 07:09:18 -0000 On Thu, 8 May 2003 josh.gilby@marconi.com wrote: >I'm trying to build ngatm on FreeBSD 5.0. bsnmp installed fine, but >ngatmbase fails. The tail of the build is: > >===> fatm >cc -O -pipe -mcpu=pentiumpro -I/root/ngatmbase-1.3/fatm >-I/root/ngatmbase-1.3/fatm/../include -g -Wall -Wpointer-arith >-Wmissing-declarations -Werror -D_KERNEL -Wall -Wredundant-decls >-Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith >-Winline -Wcast-qual -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I- >-I/root/ngatmbase-1.3/fatm -I/root/ngatmbase-1.3/fatm/../include -I. -I@ >-I@/dev -I@/../include -fno-common -mno-align-long-strings >-mpreferred-stack-boundary=2 -ffreestanding -Wall -Wredundant-decls >-Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith >-Winline -Wcast-qual -fformat-extensions -ansi -c >/root/ngatmbase-1.3/fatm/if_fatm.c >cc1: warnings being treated as errors >/root/ngatmbase-1.3/fatm/if_fatm.c: In function `copy_mbuf': >/root/ngatmbase-1.3/fatm/if_fatm.c:1674: warning: implicit declaration of >function `M_MOVE_PKTHDR' >*** Error code 1 > >Any ideas what I may have missed? The problem is that M_COPY_PKTHDR was replaced by M_MOVE_PKTHDR so depending in what -5 you run either one will fail. If you don't use MAC you may replace the _MOVE_ by _COPY_. Btw: I'm slowly integrating the base stuff into -current. Just beeing held by the code freeze. harti -- harti brandt, http://www.fokus.fraunhofer.de/research/cc/cats/employees/hartmut.brandt/private brandt@fokus.fraunhofer.de, harti@freebsd.org