Re: Build errors and fixes
| Newsgroups | gmane.linux.distributions.rock.devel |
|---|---|
| Message-ID | <20050227202307.GA14974@monster> |
On Fri, Feb 25, 2005 at 11:23:29AM +0100, Clifford Wolf wrote: > On Wed, Feb 23, 2005 at 10:43:14PM +0100, Andreas V. Meier wrote: > > Using it for 2.4 only shouldn't be that big problem, just check for > > linux24-source availability and use the /usr/src/linux-2.4.*-rock/ dir. > > Oh god! please not! > > If it is disabled for systems with no linux24, this is a decision which has > to be made at configure time - not when the package is built already. > > I'd suggest that we always build a linux24-header and a linux26-header > package. They install theyr headers in /usr/include/linux24 and > /usr/include/linux26 respectively. The package with the "default headers" > is then symlinked to /usr/include. This is unlikely to work for most packages. Usually, one includes kernel headers using '#include <linux/foo.h>' ... so what you'd want would be something like: /usr/include/linux26/linux and /usr/include/linux24/linux. If that's what you meant, please pardon my pedantic tendencies. > > For every package which requires linux24 or linux26 headers we simply pass > a -I$root/usr/include/linux24 (or -I$root/usr/include/linux26) using the > CC_WRAPPER. > > What do you think? > > yours, > - clifford > > -- > +++>+>++++++[<+++++++>-]<..>++>++++++[<+++++>-]<.>>++++++[<+++++++++++>-]<. > >++>>++++[<++++[<+++++++>-]>-]<<.>+>>++++[<++++[<++++++>-]>-]<<.++++++++.<- > ---.>---.<<<<-.>>>>---.<---.<<.<+..>.>>---.>>++++>>++++[<++++[<+++++++>-]>- > ]<<..----.<<<--------.<<++++..>>>>>+++++++...<<<<<-.>>>>.<++++.---.>+++..<+ > +++++.+++.>--.<<<<.>>>>---.<++.<<<+.>>>>+.++++.---.<----.>>--.<<<<<.>.<---- > ..>.>+++++++++.>>>>>>++++[<++++[<+++++>-]>-]<<.+++++.<<<<<<+.>.>.>-.--.+++. > >++++++.+++.-------.<++.<<<.>.>>>.>-.<--.<<<<++..>.<---..>>>>>>>++++++++++. > > Unix is the answer, but only if you phrase the question very carefully. > > _______________________________________________ > rock-devel mailing list > [email protected] > http://www.rocklinux.net/mailman/listinfo/rock-devel -- --- Don't blame me, I voted libertarian.