lkml.org 
[lkml]   [1997]   [Apr]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: error in compiling 2.1.34
    Date
    Letting the chips far where they may, I quote Richard J. Strasser:
    >I got following error on compiling 2.1.34 on a Dell Poweredge Dual Pentium:
    ...
    >ld -m elf_i386 -r -o kernel.o i386_ksyms.o process.o signal.o entry.o traps.o irq.o vm86.o bios32.o ptrace.o ioport.o ldt.o setup.o time.o sys_i386.o smp.o trampoline.o
    >smp.o: In function `x86_do_profile':
    >smp.o(.text+0x108c): multiple definition of `x86_do_profile'
    >time.o(.text+0x2ec): first defined here

    If you look at the code, there is even a comment pointing to a pending
    problem... the same code for x86_do_profile is in smp.c and time.c. Neither
    of them are marked "static." Insert static before the definitions in both
    files:

    static inline void x86_do_profile...

    While I'm at it, ltpc.c is missing a ';' around line 1268 or so. It's been
    missing since I started building 2.1 @ 2.1.30.

    --Ricky

    "This business is like the tobacco business. I wouldn't smoke for love or money
    but by god I'll sell the shit outa it..." -- Virgil Wall


    \
     
     \ /
      Last update: 2005-03-22 13:39    [W:0.016 / U:1.256 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site