public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Bas Mevissen <bas@basmevissen.nl>
To: alan@lxorguk.ukuu.org.uk
Cc: linux-kernel@vger.kernel.org
Subject: Build problem introduced in 2.4.22-pre3 -> 2.4.22-pre3-ac1 (+config+analysis)
Date: Wed, 9 Jul 2003 23:36:59 +0200	[thread overview]
Message-ID: <200307092329.06003.bas@basmevissen.nl> (raw)

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



Hi Alan, all,

The attached .config fails to build on 2.4.22-pre3-ac1, but builds (and 
runs) fine on 2.4.22-pre3. The build error (during linkage) is:

(make bzImage)

ld -m elf_i386 -T /usr/src/linux-2.4.22-pre3-ac1/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/cpufreq/cpufreq.o drivers/char/char.o 
drivers/block/block.o drivers/misc/misc.o drivers/net/net.o 
drivers/char/drm/drm.o
drivers/ide/idedriver.o drivers/cdrom/driver.o drivers/pci/driver.o 
drivers/net/pcmcia/pcmcia_net.o drivers/net/wireless/wireless_net.o 
drivers/pnp/pnp.o drivers/video/video.o drivers/media/media.o \
        net/network.o \
        /usr/src/linux-2.4.22-pre3-ac1/arch/i386/lib/lib.a 
/usr/src/linux-2.4.22-pre3-ac1/lib/lib.a 
/usr/src/linux-2.4.22-pre3-ac1/arch/i386/lib/lib.a \
        --end-group \
        -o vmlinux
arch/i386/kernel/kernel.o(.text.init+0x7dae): In function 
`setup_ioapic_ids_from_mpc':
: undefined reference to `xapic_support'
arch/i386/kernel/kernel.o(.text.init+0x7fe5): In function 
`setup_ioapic_ids_from_mpc':
: undefined reference to `xapic_support'
make: *** [vmlinux] Error 1

The symbol xapic_support is defined in arch/i386/kernel/io_apic.c as
"extern unsigned int xapic_support;"
But it is declared nowhere. Note that the symbol is new in -ac1. 

>From comparing the pre3 and pre3-ac1 versions of io_apic.c, I conclude that 
this is some unfinished work and not a typo. What probably is missing is some 
change to another file that should decare (and set) xapic_support.

Sorry for not being able to submit a patch, but I hope my analyses helps.

Regards,

Bas.
(Dell Inspiron 8500 with 2.4.22-pre3)

(Note: I'm not on the list, so please always CC me)







[-- Attachment #2: dotconfig.gz --]
[-- Type: application/x-gzip, Size: 6625 bytes --]

             reply	other threads:[~2003-07-09 21:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-09 21:36 Bas Mevissen [this message]
2003-07-09 22:14 ` Build problem introduced in 2.4.22-pre3 -> 2.4.22-pre3-ac1 (+config+analysis) Midian

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=200307092329.06003.bas@basmevissen.nl \
    --to=bas@basmevissen.nl \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox