All of lore.kernel.org
 help / color / mirror / Atom feed
From: omv <omv@danhartman.org>
To: cpufreq@www.linux.org.uk
Subject: 2.4 patch and powernow-k8
Date: Thu, 02 Dec 2004 14:13:31 -0800	[thread overview]
Message-ID: <41AF938B.4080204@danhartman.org> (raw)

I've been trying to patch cpufreq into a recent 2.4 kernel and having 
some problems.  When I've config'ed powernow-k8 to be static linked, I 
get the below errors.  Compiling as a module works, but yields 
unresolvable symbols when trying to load the module.

The speedstep-centrino seems to build fine (though I can't test it on my 
laptop), and I'm guessing there is a build issue in which symbols are 
exported.  However, I don't actually understand the build process enough 
to make any headway...

BTW:  I've tried on kernels 2.4.25 -> 2.4.28, and tried a couple 
different snapshots from ftp://ftp.linux.org.uk/pub/linux/cpufreq/ as 
well as the latest stuff in the cvs repository.

Any help would be appreciated,

-dan


make[1]: Leaving directory `/usr/src/linux-2.4.28/arch/i386/lib'
ld -m elf_i386 -T /usr/src/linux-2.4.28/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/pnp/pnp.o drivers/video/video.o drivers/media/media.o 
drivers/input/inputdrv.o drivers/cpufreq/built-in.o \
        net/network.o \
        /usr/src/linux-2.4.28/arch/i386/lib/lib.a 
/usr/src/linux-2.4.28/lib/lib.a /usr/src/linux-2.4.28/arch/i386/lib/lib.a \
        --end-group \
        -o vmlinux
arch/i386/kernel/kernel.o(.data+0x1d80): In function `trampoline_end':
: undefined reference to `local symbols in discarded section .text.exit'
make: *** [vmlinux] Error 1
[root@queue38 linux-2.4.28]#

             reply	other threads:[~2004-12-02 22:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-02 22:13 omv [this message]
2004-12-03  9:09 ` 2.4 patch and powernow-k8 Dominik Brodowski
2004-12-03 20:50   ` omv
2004-12-13 13:32     ` Bruno Ducrot
2004-12-13 18:59       ` omv
2004-12-14 12:00         ` Bruno Ducrot
  -- strict thread matches above, loose matches on Subject: below --
2004-12-03  0:00 Langsdorf, Mark

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=41AF938B.4080204@danhartman.org \
    --to=omv@danhartman.org \
    --cc=cpufreq@www.linux.org.uk \
    /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.