Hey, settle down - I'm just trying to help :)
Here is how my setup works:
1. I install some flavor of linux (no if_tun.h so far)
2. I download a linux kernel and unzip/untar it (now I have a if_tun.h,
and it is wherever I untarred my newly downloaded linux kernel)
3. Now I try to compile a UML linux, and one of the files points to a path
where if_tun.h doesn't exist. So I change it so it does.
So, am I doing wrong things in installing linux, such that I don't have a
if_tun.h anywhere except where I untar my kernel ?
Or, is there a piece of lore out there that I don't know that says
"whenever you untar a kernel, you copy these items into your local
I'm not being sarcastic here - I am interested in becoming a more correct
> Patrick Thomas wrote:
> > linux/if_tun.h
> > TO:
> > ../../../include/linux/if_tun.h
> That's going to be dependent on your directory structure, so is an
> inappropriate fix.
> > BUT, I am still confused by two things:
> > 1) why has this bug existed for months now
> It's not a bug - It's a problem with your system state.
> > 2) why doesn't _everyone_ encounter it ? You get this when you do a `make
> > menuconfig` and just take the defaults - so presumably a lot of people
> > would just be doing a default install, so everybody should see this...or
> > am I missing something?
> Yep, you are - 'linux/if_tun.h' should exist in /usr/include. If you do;
> ls -l /usr/include/linux/if_tun.h
> Then it should say;
> -rw-r--r-- 1 0 0 2095 Jun 12 2001 /usr/include/linux/if_tun.h
> My /usr/include/linux directory is symlinked to
> /usr/src/linux/include/linux, where /usr/src/linux is a directory
> containing the kernel source for the current kernel version, NOT the
> source for UML. If you ensure that /usr/include/linux is setup
> appropriatly, then when gcc looks in /usr/include, it'll find linux/if_tun.h
> > Anyway, everything works great if you do the above hack.
> I beg to differ, I'm afraid.
> David Coulson http://davidcoulson.net/
> d@... http://journal.davidcoulson.net/
> Bringing you mounds of caffeinated joy
> >>> http://thinkgeek.com/sf <<<
> User-mode-linux-user mailing list