home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!cs.utexas.edu!natinst.com!scott
- From: scott@natinst.com (Scott A. Taylor)
- Subject: Re: Troubles compiling lilo v3
- Message-ID: <1992Aug14.135601.18193@natinst.com>
- Followup-To: comp.os.linux
- Summary: cp -R /usr/src/linux/include /usr/include
- Keywords: headers, move, tweak, go!
- Sender: Scott Taylor (scott@natinst.com)
- Nntp-Posting-Host: eagle.natinst.com
- Organization: National Instruments, Austin, TX
- References: <1992Aug14.024317.19775@inmet.camb.inmet.com>
- Date: Fri, 14 Aug 1992 13:56:01 GMT
- Lines: 52
-
- In article <1992Aug14.024317.19775@inmet.camb.inmet.com> newbie@dylan.camb.inmet.com (Chris Newbold) writes:
- >I know there has been a blizzard of questions about how to get lilo up and
- >running, but I jumped on the bandwagon a bit too late. I can't find any
- >of the messages about setting it up on our site. I know I remember there
- >were a couple of changes needed before it would compile...
- >
- >Anyhow, I'm having major trouble compiling it. There is a massive conflicy
- >between the linux/include types.h and the include/sys/types.h ... I'm sure
- >all of this was covered... If someone would be kind enough to point me
- >in the right direction, I would really appriciate it.
- >
- >The problems: Both /usr/src/linux/include/linux/types.h and /usr/include/sys
- >/types.h get included. I tried to fix this by linking /usr/include/sys
- >to /usr/src/linux/include/linux. This seems like a hack, but I don't really
- >know. Didn't reall help.
- >
- >Could somebody tell me how I _should_ have the include directories set up,
- >and what files should be in them?
- >
- >I'm sorry these are such naive questions, but I'm a real newbie at this
- >stuff.
- >
- >Thanx again.
- >
- >-Chris
- >
- >--
- >---- Chris Newbold ---- > "If you fool around with a thing for very long you <
- > Intermetrics, Inc. > will screw it up." <
- > Opinions and statements expressed are MINE and do NOT represent my employer
- > newbie@inmet.camb.inmet.com
-
- Well, problems compiling lilo version 3 were the hair that broke the camel's
- back; I got fed up and decided to unify my set of header files. I copied all
- the headers from my kernel include directory to /usr/include, removed
- /usr/src/linux/include (making backups of /usr/include and /usr/src/linux/inc-
- lude, of course!), tweaked a couple files to remove redeclarations of some
- variables and functions, and went about my business. Everything so far has
- compiled just fine (groff, GNU file utils, text utils, lilo v3, ps, and of
- course the kernel); I had to do a "make dep" in the kernel directory and
- make a couple changes to the SCSI makefile (to fix the seagate entry). Oh,
- yeah; lilo still looked for genhd.h, which I didn't have until I installed
- the latest SCSI drivers from woz.headrest.colorado.edu.
-
- I am running 0.96c pl2 with gcc 2.2.2; this may not work for 0.97, as I under-
- stand that Linus moved around a lot of the header files (to /usr/include,
- perhaps?).
- --
- Scott Taylor |
- (512) 795-6837 | "Well, I wanted to work with gymnasts." -David Byrne
- scott@natinst.com |
- ** NI pays me to write their code, not their opinions, and that's what I do **
-