2002-04-16 01:07:44

by Ben Greear

[permalink] [raw]
Subject: bk://linux.bkbits.net/linux-2.4 busted

Feeling lucky, I tried pulling down the bkbits linux-2.4
repository. It does not compile as usual:

Changing num_smp_cpus to NR_CPUS, as shown below, fixes one
compile problem, but I'm not sure if it's the right fix or not.

From file: kernel_stat.h:
/*
* Number of interrupts per specific IRQ source, since bootup
*/
static inline int kstat_irqs (int irq)
{
int i, sum=0;

for (i = 0 ; i < NR_CPUS ; i++)
sum += kstat.irqs[cpu_logical_map(i)][irq];

return sum;
}
#endif


With this 'fix', it gets all the way to the end and then fails to link:
fs/fs.o: In function `dput':
fs/fs.o(.text+0x11f68): undefined reference to `atomic_dec_and_lock'
make: *** [vmlinux] Error 1


I'm beginning to think that no-one is actually using the repository.
If anyone has any suggestions for a better up-kept bk (or CVS) repository,
please let me know.


Thanks,
Ben


--
Ben Greear <[email protected]> <Ben_Greear AT excite.com>
President of Candela Technologies Inc http://www.candelatech.com
ScryMUD: http://scry.wanfear.com http://scry.wanfear.com/~greear



2002-04-16 02:33:11

by Larry McVoy

[permalink] [raw]
Subject: Re: bk://linux.bkbits.net/linux-2.4 busted

On Mon, Apr 15, 2002 at 06:07:42PM -0700, Ben Greear wrote:
> Feeling lucky, I tried pulling down the bkbits linux-2.4
> repository. It does not compile as usual:

I just cloned it back to the 2.4.18 tag and built it for a
server class athlon config and it seems to be working. FWIW.
--
---
Larry McVoy lm at bitmover.com http://www.bitmover.com/lm