2003-07-24 10:19:03

by carbonated beverage

[permalink] [raw]
Subject: 2.5 bk build failure.

Searched the archive, found a few posts talking about this, but no solution
seems to have been posted.

Anyone have an idea?

Thanks,

ld -m elf_i386 -T arch/i386/vmlinux.lds.s [snip]

drivers/built-in.o: In function `x25_asy_changed_mtu':
drivers/built-in.o(.text+0x6eae6): undefined reference to `save_flags'
drivers/built-in.o(.text+0x6eaeb): undefined reference to `cli'
drivers/built-in.o(.text+0x6eba1): undefined reference to `restore_flags'
make: *** [.tmp_vmlinux1] Error 1

-- DN
Daniel


2003-07-24 11:47:41

by Sean Estabrooks

[permalink] [raw]
Subject: Re: 2.5 bk build failure.

> Searched the archive, found a few posts talking about this, but no solution
> seems to have been posted.

> Anyone have an idea?

> Thanks,

> ld -m elf_i386 -T arch/i386/vmlinux.lds.s [snip]

> drivers/built-in.o: In function `x25_asy_changed_mtu':
> drivers/built-in.o(.text+0x6eae6): undefined reference to `save_flags'
> drivers/built-in.o(.text+0x6eaeb): undefined reference to `cli'
> drivers/built-in.o(.text+0x6eba1): undefined reference to `restore_flags'
> make: *** [.tmp_vmlinux1] Error 1


Those macros are being phased out in the new kernel. The code needs to
be updated in the x25_asy driver. Until then, it should still work fine for you
if you compile the kernel for UP instead of SMP.

Cheers,
Sean