Thanks Blaisorblade. On Sat, 2 Sep 2006 17:16:04 +0200, "Blaisorblade" <[EMAIL PROTECTED]> said: > On Monday 28 August 2006 15:46, Mathew Brown wrote: > > Hi, > > I am currently trying to compile a package that is kernel-dependent, > > so I require the headers (and perhaps source) of the kernel. If I'm > > compiling the UML guest kernel, would I simply then copy the source > > directory to the UML guest under /usr/src and that's it > > > or is there > > something else I have to do because it's a UML kernel? > There's no "special processing". > > Thanks for > > your help. > It depends on what it is. > > If it is a userspace package, you'd probably better give it a host > kernel. UML > headers are not thought for this use; also userspace packages have rarely > good reasons to use /usr/src. > > If that is a module, it should not use /usr/src/linux as a source > directory, > it should use /lib/modules/`uname -r`/build; you can copy (or symlink) > the > sources (together with object files) there, but if the module does not > use > the proper 2.6 building mode (i.e. relying on kbuild), it will have big > problems to build with UML. > > > -- > > Mathew Brown > > [EMAIL PROTECTED] > > -- > Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!". > Paolo Giarrusso, aka Blaisorblade > http://www.user-mode-linux.org/~blaisorblade > Chiacchiera con i tuoi amici in tempo reale! > http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com -- Mathew Brown [EMAIL PROTECTED]
-- http://www.fastmail.fm - And now for something completely differentÂ… ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user