Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 May 2003 09:09:12 +0200 (CEST)
From:      Harti Brandt <brandt@fokus.fraunhofer.de>
To:        josh.gilby@marconi.com
Cc:        freebsd-atm@freebsd.org
Subject:   Re: Unable to make ngatmbase
Message-ID:  <20030509090604.F877@beagle.fokus.fraunhofer.de>
In-Reply-To: <Pine.LNX.4.44.0305081655460.6592-100000@dhcp-130-96.pit.comms.marconi.com>
References:  <Pine.LNX.4.44.0305081655460.6592-100000@dhcp-130-96.pit.comms.marconi.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030509090604.F877>