Re: 2.5.24 doesn't compile on Alpha

Jurriaan on Alpha (thunder7@xs4all.nl)
Fri, 21 Jun 2002 22:37:26 +0200


From: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Date: Fri, Jun 21, 2002 at 07:24:05PM +0400
> On Fri, Jun 21, 2002 at 04:19:57PM +0200, Jurriaan on Alpha wrote:
> > I tried #define smp_num_cpus 1 in include/asm-alpha/smp.h (the non-smp
> > section) but the same line in include/asm/mmu_context.h works - for a
> > while.
>
> I'm running 2.5.24 on sx164 with following (unfinished - SMP is broken)
> patch.
>
This patchs helps a lot; now I get:

make[1]: Entering directory `/usr/src/linux-2.5.24/init'
Generating /usr/src/linux-2.5.24/include/linux/compile.h (updated)
gcc -Wp,-MD,./.version.o.d -D__KERNEL__ -I/usr/src/linux-2.5.24/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-p
ointer -fno-strict-aliasing -fno-common -pipe -mno-fp-regs -ffixed-8 -mcpu=ev56 -Wa,-mev6 -nostdinc -iwithprefix include -DKBUILD_
BASENAME=version -c -o version.o version.c
ld -r -o init.o main.o version.o do_mounts.o
make[1]: Leaving directory `/usr/src/linux-2.5.24/init'
ld -static -T arch/alpha/vmlinux.lds -N arch/alpha/kernel/head.o init/init.o --start-group arch/alpha/kernel/kernel.o arch/alpha/m
m/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o arch/alpha/math-emu/built-in.o /usr/src/linux-2.5.24/arch/alpha/lib/lib.a lib/lib.a
/usr/src/linux-2.5.24/arch/alpha/lib/lib.a drivers/built-in.o sound/sound.o net/network.o --end-group -o vmlinux
drivers/built-in.o(.data+0x37118): undefined reference to `local symbols in discarded section .text.exit'
net/network.o: In function `ip_conntrack_helper_register':
net/network.o(.text+0x5e68c): undefined reference to `__this_module'
net/network.o: In function `ip_conntrack_helper_unregister':
net/network.o(.text+0x5e76c): undefined reference to `__this_module'
net/network.o: In function `ip_nat_helper_register':
net/network.o(.text+0x62894): undefined reference to `__this_module'
net/network.o: In function `ip_nat_helper_unregister':
net/network.o(.text+0x62b5c): undefined reference to `__this_module'
make: *** [vmlinux] Error 1
alpha:/usr/src/linux-2.5.24#

I'll probably have to fiddle with my .config to solve this.

Thanks,
Jurriaan

-- 
Our music has many faces and many moods like the land we live in.
It is a fusion of energy and serenity
        Kansas
Debian GNU/Linux 2.4.19p10 on Alpha 990 bogomips load:0.54 0.74 0.77
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/