[plug] Problems building drbd for an SMP 2.2.16 kernel

Richard Sharpe sharpe at ns.aus.com
Tue Jul 4 23:15:21 WST 2000


At 08:44 PM 7/5/00 +0800, Matt Kemner wrote:
>On Tue, 4 Jul 2000, Richard Sharpe wrote:
>
>> Well, I am running a RH kernel, the latest 2.2.16-3SMP RPM. But, I do not
>> have the kernel source on the machine.  However, I do have the kernel
>> headers so that drbd will build :-)
>
>> So, I am mystified at the moment, as I can't see which include it is
>> getting the version info from.
>
>Checking the lmsensors source (which differentiates between SMP
>and non-SMP kernels automatically) it seems it gets the info from
>/usr/src/linux/include/linux/autoconf.h
>
>Try replacing 
>
>#undef  CONFIG_SMP
>with
>#define CONFIG_SMP 1

Good suggestion, but no cigar :-)

> - Matt
>
>
>

Regards
-------
Richard Sharpe, sharpe at ns.aus.com
Samba (Team member, www.samba.org), Ethereal (Team member, www.zing.org)
Co-author, SAMS Teach Yourself Samba in 24 Hours
Author: First Australian 5-day, intensive, hands-on Linux SysAdmin course
Author: First Australian 2-day, intensive, hands-on Samba course




More information about the plug mailing list