[lug] generally compiling problems?

Michael Wegener wegener at zulaware.com
Wed Sep 27 19:21:54 MDT 2000


Ya done fixed it!

Thanks brad! It seems like the source tree was set up on one, but not the other,
and unfortunately I kept picking the wrong one to compile things on. Who said
chance was 50/50? Anyway, sitecopy compiles just dandy...

--M

bdoctor at MobileEngines.com wrote:

> The quickest and easiest is to ensure that /usr/src/linux/asm points to the
> proper architecture for your machine.  On intel, it should point to i386.
> Also, there should be a .config file in /usr/src/linux - if it is not there,
> either the tree has been cleaned, removing the asm link (and thereby breaking
> every include file below it, platform-dependant) or no attempt has been made
> to compile the kernel.
>
> Anyway, in this case, you could do the following:
>
> cd /usr/src/linux;
> make config (press and hold the enter key until it is finished - we don't care)
> make dep
>
> That will setup the links for you.  Now, if *this* part fails, your kernel
> source is likely incomplete, which is another issue entirely.  If that is the
> case, get another kernel source tree installed, after you remove this one.
>
> -brad
>
> >
> > I don't think the kernel was compiled locally, but it may well have. How do I
> > check?
> >
> > --M
> >
> > "D. Stimits" wrote:
> >
> > > Someone else already mentioned the sym link possibilities, but
> > > apparently that isn't being the problem. One other possibility seems
> > > reasonable here. The sources that are linked to in /usr/include/linux/
> > > are part of the kernel source tree, and to some extent, parts of that
> > > tree are modified by make menuconfig (or other config) of the kernel
> > > compile. For example, modules compiled outside of the kernel, such as
> > > emu10k1 from soundblaster live, will end up with unresolved symbols if
> > > the current source is not also configured to match your existing system.
> > > In your kernel source tree, does it still have the exact configuration
> > > left from "make menuconfig" (or other config) to match your installed
> > > kernel? Or does the kernel compiler configuration no longer match the
> > > installed kernel? Some software depends on this, many others don't.
> > >
> > > Michael Wegener wrote:
> > > >
> > > > Hello everyone,
> > > >
> > > > My recent attempt to compile sitecopy on one of my two identical servers
> > > > seems to have exposed a mysterious problem. The make output reports a
> > > > number of kernel header files missing, yet when I look in the places
> > > > listed, there they are. As I look back, I remember never having any luck
> > > > compiling on this machine, but always chalked it up to inexperience and
> > > > bad luck, and have found work-arounds. This server's twin has no problem
> > > > compiling, and they were set up as identical machines by a high-caliber
> > > > linux admin.
> > > >
> > > > Any ideas?
> > > >
> > > > --Michael Wegener
> > > >
> > > > --------------------- wegener at zulaware.com
> > > > President
> > > > --------------------- (voice) 303-402-0364
> > > > Zulaware, Inc.
> > > > --------------------- (fax) 1-877-540-6114
> > > > 5589 Arapahoe Ave
> > > > Suite 206A
> > > > Boulder, CO 80303
> > > >
> > > > _______________________________________________
> > > > Web Page:  http://lug.boulder.co.us
> > > > Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> > >
> > > _______________________________________________
> > > Web Page:  http://lug.boulder.co.us
> > > Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> >
> > --
> > Michael Wegener
> > --------------------- wegener at zulaware.com
> > President
> > --------------------- (voice) 303-402-0364
> > Zulaware, Inc.
> > --------------------- (fax) 1-877-540-6114
> > 5589 Arapahoe Ave
> > Suite 206A
> > Boulder, CO 80303
> >
> >
> >
> > _______________________________________________
> > Web Page:  http://lug.boulder.co.us
> > Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> >
>
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug

--
Michael Wegener
--------------------- wegener at zulaware.com
President
--------------------- (voice) 303-402-0364
Zulaware, Inc.
--------------------- (fax) 1-877-540-6114
5589 Arapahoe Ave
Suite 206A
Boulder, CO 80303






More information about the LUG mailing list