All of lore.kernel.org
 help / color / mirror / Atom feed
From: Len Brown <len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
To: Free Ekanayaka <free-Jko+Qxvg0ikdnm+yROfE0A@public.gmane.org>
Cc: ACPI Developers
	<acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: Re: Link error: function "cmpxchg" is not defined
Date: 24 Mar 2004 00:54:20 -0500	[thread overview]
Message-ID: <1080107660.18508.15.camel@dhcppc4> (raw)
In-Reply-To: <87ptb3bx0h.fsf-bi+AKbBUZKa9iW1SM0nyN4RarTOWFVVqTdcDvyEvLSPbOj2S/riVXGfe97SVfj0f6XfCTY0wUs4@public.gmane.org>

IIRC this was an obscure dependency on CONFIG_SMP, but I thought we
fixed this some time back.

I'm surprised you're seeing this, I build 32 different 2.4.24 kernels
with the current patch.

If after a make clean and a download of the latest patch (sorry, same
name;-) you still see the error, then please email me your .config.

thanks,
-Len


On Tue, 2004-03-23 at 06:53, Free Ekanayaka wrote:
> Hi,
> 
> I'm trying to complile 2.4.24 patched against acpi-20040311-2.4.24.diff.gz.
> 
> When it comes to link I get:
> 
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> ld -m elf_i386 -T /build/cvs-autoreleasedeb/kernel-image-2.4.24-i386-multimedia-2.4.24/build-386/arch/i386/vmlinux.lds -e stext arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o init/version.o init/do_mounts.o \
> 	--start-group \
> 	arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o \
> 	 drivers/acpi/acpi.o drivers/char/char.o drivers/block/block.o drivers/misc/misc.o drivers/net/net.o drivers/char/agp/agp.o drivers/char/drm/drm.o drivers/ide/idedriver.o drivers/scsi/scsidrv.o drivers/cdrom/driver.o drivers/pci/driver.o drivers/pcmcia/pcmcia.o drivers/net/pcmcia/pcmcia_net.o drivers/pnp/pnp.o drivers/video/video.o drivers/usb/usbdrv.o drivers/media/media.o \
> 	net/network.o \
> 	/build/cvs-autoreleasedeb/kernel-image-2.4.24-i386-multimedia-2.4.24/build-386/arch/i386/lib/lib.a /build/cvs-autoreleasedeb/kernel-image-2.4.24-i386-multimedia-2.4.24/build-386/lib/lib.a /build/cvs-autoreleasedeb/kernel-image-2.4.24-i386-multimedia-2.4.24/build-386/arch/i386/lib/lib.a \
> 	--end-group \
> 	-o vmlinux
> drivers/acpi/acpi.o(.text+0x8ac1): In function `acpi_ev_global_lock_handler':
> : undefined reference to `cmpxchg'
> drivers/acpi/acpi.o(.text+0x8c21): In function `acpi_ev_acquire_global_lock':
> : undefined reference to `cmpxchg'
> drivers/acpi/acpi.o(.text+0x8d3d): In function `acpi_ev_release_global_lock':
> : undefined reference to `cmpxchg'
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> 
> Is there some specific kernel option I have to set in .config in order
> to get cmpxchg defined?
> 
> Thanks,
> 
> Free Ekanayaka
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> Acpi-devel mailing list
> Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/acpi-devel



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click

      parent reply	other threads:[~2004-03-24  5:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-23 11:53 Link error: function "cmpxchg" is not defined Free Ekanayaka
     [not found] ` <87ptb3bx0h.fsf-bi+AKbBUZKa9iW1SM0nyN4RarTOWFVVqTdcDvyEvLSPbOj2S/riVXGfe97SVfj0f6XfCTY0wUs4@public.gmane.org>
2004-03-24  5:54   ` Len Brown [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1080107660.18508.15.camel@dhcppc4 \
    --to=len.brown-ral2jqcrhueavxtiumwx3w@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=free-Jko+Qxvg0ikdnm+yROfE0A@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.