*BSD News Article 72207


Return to BSD News archive

#! rnews 1570 bsd
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!paladin.american.edu!gatech!newsfeed.internetmci.com!in2.uu.net!server-b.cs.interbusiness.it!usenet
From: "Yann Bongiovanni" <ybongiovanni@acm.org>
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: [Q] Strange problem compiling trafshow-2.0
Date: Thu, 27 Jun 1996 21:54:00 +0200
Organization: UBK
Lines: 27
Message-ID: <01bb6462.62b93c60$0bc26397@yb.ubk.com>
NNTP-Posting-Host: imp.ubk.com
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Newsreader: Microsoft Internet News 4.70.1085

I downloaded trafshow-2.0 from ftp.bsdi.com/contrib and get strange =
errors compiling the package:

/usr/src/local/trafshow-2.0 $ make
Build library in /usr/src/local/trafshow-2.0/lib
shlicc2 -O2 -I../include  -c interfaces.c
In file included from interfaces.c:23:
/usr/include/net/if_slvar.h:57: syntax error before `vjc_t'
interfaces.c: In function `bpf_slip':
interfaces.c:109: `SLIP_HDRLEN' undeclared (first use this function)
interfaces.c:109: (Each undeclared identifier is reported only once
interfaces.c:109: for each function it appears in.)

I can't see any syntax error net/if_slvar.h, also, I already =
successfully compiled the former version contained in the bpft131 =
package without problems. What's going on?

Does anyone know how to solve this?

Thank you very much in advance


Yann Bongiovanni


PS: My machine runs BSD/OS 2.1 w/ all K & U-patches applied