Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jun 1999 13:05:44 -0400 (EDT)
From:      "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com>
To:        gurudatt@cs.tamu.edu (Gurudatt Shenoy)
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Adding a new file to /sys/netinet
Message-ID:  <199906021705.NAA17274@cc942873-a.ewndsr1.nj.home.com>
In-Reply-To: <Pine.GSO.3.96.990602110824.23247A-100000@dilbert> from Gurudatt Shenoy at "Jun 2, 99 11:12:24 am"

next in thread | previous in thread | raw e-mail | index | archive | help
Gurudatt Shenoy wrote,
> 
> Hello,
> I added a new file called "virtual.h" with some of my own functions to
> /sys/netinet/
> I then recompiled the kernel and wrote a test program that did a 
> #include <netinet/virtual.h>
> However, when i try to compile, I get the error: "netinet/virtual.h: no
> such file or directory"
> Anyone know why this is happening? Have I missed out updating some config
> file?

You put it in the wrong place. Try,

/usr/include/netinet

(Or consider /usr/local/include too.)
-- 
Crist J. Clark                           cjclark@home.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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