Skip to contentSkip to conversation

bk://linux.bkbits.net/linux-2.4 busted

DISCUSSION Ben Greear 2 participants 2 messages Apr 16, 2002

lore
Share & tools
lore

Ben Greear

author
#0 lore raw

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

Signature · 3 lines
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
#1 lore raw
Quoted 2 lines · Ben Greear

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.

Signature · 2 lines
---
Larry McVoy            	 lm at bitmover.com           http://www.bitmover.com/lm