From owner-freebsd-questions Wed Jun 2 11:33:55 1999 Delivered-To: freebsd-questions@freebsd.org Received: from cs.tamu.edu (clavin.cs.tamu.edu [128.194.130.106]) by hub.freebsd.org (Postfix) with ESMTP id C04B5153C7 for ; Wed, 2 Jun 1999 11:33:52 -0700 (PDT) (envelope-from gurudatt@cs.tamu.edu) Received: from dilbert.cs.tamu.edu (IDENT:2146@dilbert [128.194.133.100]) by cs.tamu.edu (8.9.3/8.9.3) with ESMTP id NAA05989; Wed, 2 Jun 1999 13:32:25 -0500 (CDT) Received: from localhost by dilbert.cs.tamu.edu (8.9.3/8.9.3) with SMTP id NAA27713; Wed, 2 Jun 1999 13:30:55 -0500 (CDT) X-Authentication-Warning: dilbert.cs.tamu.edu: gurudatt owned process doing -bs Date: Wed, 2 Jun 1999 13:30:55 -0500 (CDT) From: Gurudatt Shenoy X-Sender: gurudatt@dilbert To: cjclark@home.com Cc: freebsd-questions@freebsd.org Subject: Re: Adding a new file to /sys/netinet In-Reply-To: <199906021705.NAA17274@cc942873-a.ewndsr1.nj.home.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Is it mandatory for it to be in the /usr/include (or local/include) directory? Because my file also has some other include statements like # include (which are the original kernel files) and I have not had any errors with these. These are also in sys/netinet. Guru > You put it in the wrong place. Try, > > /usr/include/netinet > > (Or consider /usr/local/include too.) > > -- > Crist J. Clark cjclark@home.com > > > 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 > > 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? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message