From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4db,1c2ad7fd0e476ecc,start X-Google-Attributes: gid10d4db,public X-Google-ArrivalTime: 1993-01-02 13:11:22 PST Newsgroups: comp.os.linux.announce Path: sparky!uunet!paladin.american.edu!howland.reston.ans.net!zaphod.mps.ohio-state.edu!caen!batcomputer!db.TC.Cornell.EDU!mdw From: torvalds@klaava.Helsinki.FI (Linus Torvalds) Subject: Re: 0.99.2 compile problem Message-ID: <1993Jan2.210327.8869@tc.cornell.edu> Originator: mdw@db.TC.Cornell.EDU Keywords: 0.99.2 compile problem Sender: news@tc.cornell.edu Nntp-Posting-Host: db.tc.cornell.edu Organization: University of Helsinki Date: Sat, 2 Jan 1993 21:03:27 GMT I've now seen two compilation problem reports, and they both looked like being due to bad include-file setups, probably due to a problem with the SLS files. IMPORTANT! To get any linux kernel to compile, your /usr/include/linux and /usr/include/asm directories should be symlinks to the linux include-dirs. If they aren't, correct the problem with: # rm -rf /usr/include/linux # rm -rf /usr/include/asm # ln -s /usr/src/linux/include/linux /usr/include/linux # ln -s /usr/src/linux/include/asm /usr/include/asm After the above, cd to /usr/src/linux and do a "make dep ; make clean" to make sure any changes in the header files will result in the correct dependencies. After this linux-0.99.2 should compile without any errors (possibly a few warnings that you can ignore). Linus -- Send submissions for comp.os.linux.announce to: linux-announce@tc.cornell.edu