Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 37852 - Kernel build from sources fails with undefined symbol
Kernel build from sources fails with undefined symbol
Product: Red Hat Linux
Classification: Retired
Component: kernel (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Arjan van de Ven
Brock Organ
Depends On:
  Show dependency treegraph
Reported: 2001-04-26 11:26 EDT by Fred Pishotta
Modified: 2007-04-18 12:32 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-04-26 11:26:55 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Fred Pishotta 2001-04-26 11:26:51 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)

Building a custom kernel from Redhat source, the build will SOMETIMES
fail, complaining of undefined symbol "noautodma" 
in function "pci_fixup_vc8363" (which is in 
file /usr/src/linux/arch/i386/kernel/pc_pci.c
Doesn't fail with simple no-module compilations, seems
to be worse if one compiles modules and involves the
ATA/IDE/etc. modules.

Reproducible: Sometimes
Steps to Reproduce:
1.make clean
2.make xconfig (and configure modular things)
3.make dep
4.make bzimage

Actual Results:  ...
make[1]: Leaving directory `/usr/src/dclinux-2.4.2/arch/i386/lib'
gcc -E -C -P -I/usr/src/dclinux/include -imacros /usr/src/dclinux/ \
include/asm-i386/page_offset.h -Ui386 arch/i386/vmlinux.lds.S 
>arch/i386/vmlinux.lds \
ld -m elf_i386 -T /usr/src/dclinux/arch/i386/vmlinux.lds -e stext \
arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o 
init/version.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/block/block.o drivers/char/char.o \
drivers/misc/misc.o drivers/net/net.o drivers/media/media.o  
drivers/scsi/scsidrv.o \
drivers/scsi/aic7xxx_new/aic7xxx_drv.o drivers/cdrom/driver.o 
drivers/pci/driver.o \
drivers/pnp/pnp.o drivers/video/video.o \
        net/network.o \
        /usr/src/dclinux/arch/i386/lib/lib.a /usr/src/dclinux/lib/lib.a \
/usr/src/dclinux/arch/i386/lib/lib.a \
        --end-group \
        -o vmlinux
arch/i386/kernel/kernel.o: In function `pci_fixup_vt8363':
arch/i386/kernel/kernel.o(.text.init+0x3867): undefined reference to 
make: *** [vmlinux] Error 1

Expected Results:  Normal compilization and linking.

Problem can be eliminiated by starting over and building
without modules.
Comment 1 Arjan van de Ven 2001-04-26 11:45:29 EDT
It's a known issue (well, it is now) that the 2.4.2-2 kernel sources won't 
compile without IDE inside the kernel. If you don't IDE, it is safe
to remove the entire content of the pci_fixup_vt8363 function that uses the
noautodma variable.

We've fixed this for the next kernel we will release.

Note You need to log in before you can comment on or make changes to this bug.