linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: 2.4.22 and Athlon64
       [not found] <M4ba.8dv.3@gated-at.bofh.it>
@ 2003-10-29 19:41 ` Andi Kleen
  2003-10-29 20:38   ` Mark Lane
  0 siblings, 1 reply; 3+ messages in thread
From: Andi Kleen @ 2003-10-29 19:41 UTC (permalink / raw)
  To: Mark Lane; +Cc: linux-kernel

Mark Lane <mark@harddata.com> writes:

> I am having trouble compiling the 2.4.22 kernel for x86-64 non-smp. I
> can compile the smp kernel but not the regular kernel.

2.4.22 broke the ACPI compilation in the last minute. You can either
disable ACPI or apply ftp://ftp.x86-64.org/pub/linux/v2.4/acpi-2.4.22-hotfix

> It seems that ksyms.c for x86-64 is looking for some smp stuff from
> the errors I am getting.
>
> I have tried 2.4.23-8 and the problem seems gone but I get an error
> when linking fs/fs.o into vmlinux. I have attached the errors I
> received.

fs/fs.o(.text+0x1429f): In function `dput':
: undefined reference to `atomic_dec_and_lock'

either your tree is unclean (do a make mrproper and try again)
or your compiler does not properly inline. What compiler are you using?

-Andi

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 2.4.22 and Athlon64
  2003-10-29 19:41 ` 2.4.22 and Athlon64 Andi Kleen
@ 2003-10-29 20:38   ` Mark Lane
  0 siblings, 0 replies; 3+ messages in thread
From: Mark Lane @ 2003-10-29 20:38 UTC (permalink / raw)
  To: Andi Kleen; +Cc: linux-kernel

At 12:41 PM 10/29/03, Andi Kleen wrote:
>Mark Lane <mark@harddata.com> writes:
>
> > I am having trouble compiling the 2.4.22 kernel for x86-64 non-smp. I
> > can compile the smp kernel but not the regular kernel.
>
>2.4.22 broke the ACPI compilation in the last minute. You can either
>disable ACPI or apply ftp://ftp.x86-64.org/pub/linux/v2.4/acpi-2.4.22-hotfix

Yeah I have tried compiling with ACPI off. This is not my problem.


> > It seems that ksyms.c for x86-64 is looking for some smp stuff from
> > the errors I am getting.
> >
> > I have tried 2.4.23-8 and the problem seems gone but I get an error
> > when linking fs/fs.o into vmlinux. I have attached the errors I
> > received.
>
>fs/fs.o(.text+0x1429f): In function `dput':
>: undefined reference to `atomic_dec_and_lock'
>
>either your tree is unclean (do a make mrproper and try again)
>or your compiler does not properly inline. What compiler are you using?

make mrproper worked thanks
-- 
Mark Lane, CET  mailto:mark@harddata.com
Hard Data Ltd.  http://www.harddata.com
T: 01-780-456-9771      F: 01-780-456-9772
11060 - 166 Avenue Edmonton, AB, Canada, T5X 1Y3
--> Ask me about our Excellent 1U Systems! <--


^ permalink raw reply	[flat|nested] 3+ messages in thread

* 2.4.22 and Athlon64
@ 2003-10-29 19:21 Mark Lane
  0 siblings, 0 replies; 3+ messages in thread
From: Mark Lane @ 2003-10-29 19:21 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 595 bytes --]

I am having trouble compiling the 2.4.22 kernel for x86-64 non-smp. I can 
compile the smp kernel but not the regular kernel.

It seems that ksyms.c for x86-64 is looking for some smp stuff from the 
errors I am getting.

I have tried 2.4.23-8 and the problem seems gone but I get an error when 
linking fs/fs.o into vmlinux. I have attached the errors I received.

TIA,

-- 
Mark Lane, CET  mailto:mark@harddata.com
Hard Data Ltd.  http://www.harddata.com
T: 01-780-456-9771      F: 01-780-456-9772
11060 - 166 Avenue Edmonton, AB, Canada, T5X 1Y3
--> Ask me about our Excellent 1U Systems! <--

[-- Attachment #2: compile_error.log --]
[-- Type: application/octet-stream, Size: 1070 bytes --]

ld -m elf_x86_64 -T /usr/src/linux-2.4.22/arch/x86_64/vmlinux.lds -e stext arch/x86_64/kernel/head.o arch/x86_64/kernel/head64.o arch/x86_64/kernel/init_task.o init/main.o init/version.o init/do_mounts.o \
        --start-group \
        arch/x86_64/kernel/kernel.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o arch/x86_64/mm/mm.o arch/x86_64/ia32/ia32.o  \
         drivers/char/char.o drivers/block/block.o drivers/misc/misc.o drivers/net/net.o drivers/char/drm/drm.o drivers/net/fc/fc.o drivers/net/appletalk/appletalk.o drivers/net/tokenring/tr.o drivers/net/wan/wan.o drivers/atm/atm.o drivers/ide/idedriver.o drivers/cdrom/driver.o drivers/pci/driver.o drivers/net/wireless/wireless_net.o drivers/video/video.o drivers/media/media.o drivers/md/mddev.o drivers/isdn/vmlinux-obj.o crypto/crypto.o \
        net/network.o \
        /usr/src/linux-2.4.22/arch/x86_64/lib/lib.a /usr/src/linux-2.4.22/lib/lib.a \
        --end-group \
        -o vmlinux
fs/fs.o(.text+0x1429f): In function `dput':
: undefined reference to `atomic_dec_and_lock'
make: *** [vmlinux] Error 1

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-10-29 20:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <M4ba.8dv.3@gated-at.bofh.it>
2003-10-29 19:41 ` 2.4.22 and Athlon64 Andi Kleen
2003-10-29 20:38   ` Mark Lane
2003-10-29 19:21 Mark Lane

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).