Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jun 1999 13:30:55 -0500 (CDT)
From:      Gurudatt Shenoy <gurudatt@cs.tamu.edu>
To:        cjclark@home.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Adding a new file to /sys/netinet
Message-ID:  <Pine.GSO.3.96.990602132726.27648A-100000@dilbert>
In-Reply-To: <199906021705.NAA17274@cc942873-a.ewndsr1.nj.home.com>

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

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 <netinet/in.h>   (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 <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?




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?Pine.GSO.3.96.990602132726.27648A-100000>