Kernel build problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I applied the KDB v4.4-2.6.9-rc1 patches to linux-2.6.8-1.533 (*), and
now I get a strange build error:

   /usr/src/linux-2.6.8-1.533/arch/i386/kernel/entry.S: Assembler messages:
   /usr/src/linux-2.6.8-1.533/arch/i386/kernel/entry.S:431: Error: symbol `int80_ret_start_marker' is already defined
   /usr/src/linux-2.6.8-1.533/arch/i386/kernel/entry.S:431: Error: symbol `int80_ret_end_marker' is already defined

Here's the compilation line that causes the error:

   gcc -Wp,-MD,arch/i386/kernel/.entry.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.8-1.533/include -D__ASSEMBLY__ -I/usr/src/linux-2.6.8-1.533/include/asm-i386/mach-default -Iinclude/asm-i386/mach-default -m32 -traditional -m32  -c -o arch/i386/kernel/entry.o /usr/src/linux-2.6.8-1.533/arch/i386/kernel/entry.S

But, here's the rub: int80_ret_start_marker is not being redefined at
line 431 of entry.S AFAICT. If I grep through all the sources, I find
that int80_ret_start_marker is only referenced twice:

   # find . -name "*[chS]" -exec fgrep -Hn int80_ret_end_marker {} \;
   ./arch/i386/kernel/entry.S:140: cmpl $int80_ret_end_marker, %eax;               \
   ./arch/i386/kernel/entry.S:171:int80_ret_end_marker:                                    \
and neither of them are at line 431.

What gives?

Thanks.

--- Vladimir

(*) I applied the 2.6.9 KDB patches to the Fedora 2.6.8-1.533 sources
    instead of the 2.6.8 KDB patches because two 2.6.9 patches were
    applied to the Fedora 2.6.8-1.533 sources. All patches (except one)
    applied with fuzz factor of 3. The one that didn't was easily fixed.

-- 
Vladimir G. Ivanovic                        http://leonora.org/~vladimir
Palo Alto, CA 94306                                      +1 650 678 8014


_______________________________________________
Redhat-devel-list mailing list
Redhat-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/redhat-devel-list

[Index of Archives]     [Kernel Newbies]     [Red Hat General]     [Fedora]     [Red Hat Install]     [Linux Kernel Development]     [Yosemite News]

  Powered by Linux