Re: 2.4.24 doesn't compile clearly...

From: Mario ''Jorge'' Di Nitto (jorge78_at_inwind.it)
Date: 01/11/04

  • Next message: Tupshin Harper: "Re: UML (user-mode-linux) kernel-2.6.x"
    To: linux-kernel@vger.kernel.org
    Date:	Sun, 11 Jan 2004 23:30:50 +0100
    
    

    Alle 13:48, domenica 11 gennaio 2004, Willy Tarreau ha scritto:

    Hi Willy,
    > > Hi to all.
    > > I've download 2.4.24 and I patched it with ck1 and lm_sensor 2.8.2.
    >
    > [...]
    >
    > > PS: Sorry for lexical mistakes I made...
    >
    > no lexical mistakes, but misleading information. It's not 2.4.24 which
    > does not compile for you, but a patched 2.4.24. Your message is only
    > relevant if you get the same error on plain 2.4.24.
    >
    > Willy

    Now I've compiled a vanilla 2.4.24 and it breaks exactly like the one I
    patched: sisfb was compiled as module.

    ------ Vanilla --------
    make[2]: Nothing to be done for `all_targets'.
    make[2]: Leaving directory `/work/linux-2.4.24/drivers'
    make[1]: Leaving directory `/work/linux-2.4.24/drivers'
    ld -m elf_i386 -T /work/linux-2.4.24/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/atm/atm.o drivers/ide/idedriver.o
    drivers/scsi/scsidrv.o drivers/ieee1394/ieee1394drv.o drivers/cdrom/driver.o
    drivers/pci/driver.o drivers/pcmcia/pcmcia.o drivers/net/pcmcia/pcmcia_net.o
    drivers/pnp/pnp.o drivers/video/video.o drivers/usb/usbdrv.o
    drivers/media/media.o drivers/input/inputdrv.o drivers/message/i2o/i2o.o
    drivers/i2c/i2c.o \
            net/network.o \
            /work/linux-2.4.24/arch/i386/lib/lib.a /work/linux-2.4.24/lib/lib.a /work/linux-2.4.24/arch/i386/lib/lib.a
    \
            --end-group \
            -o vmlinux
    drivers/char/drm/drm.o(.text+0x71be): In function `sis_fb_alloc':
    : undefined reference to `sis_malloc'
    drivers/char/drm/drm.o(.text+0x726f): In function `sis_fb_alloc':
    : undefined reference to `sis_free'
    drivers/char/drm/drm.o(.text+0x72d0): In function `sis_fb_free':
    : undefined reference to `sis_free'
    drivers/char/drm/drm.o(.text+0x771f): In function `sis_final_context':
    : undefined reference to `sis_free'
    make: *** [vmlinux] Error 1

    Regards,
                                                            Jorge

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Tupshin Harper: "Re: UML (user-mode-linux) kernel-2.6.x"

    Relevant Pages

    • Re: Prolog & C linking Problem
      ... >> I am trying to compile Prolog and C using plld. ... PL_initialise_ is an undefined reference ...
      (comp.lang.prolog)
    • 2.6.10 compile error - blackbird_load_firmware
      ... I get the following error message when I try to compile the new ... : undefined reference to `request_firmware' ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • [2.6.3-mm1] error reporting
      ... I tried to compile 2.6.3-mm1, and here is what I got: ... UPD include/linux/compile.h ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • How can I compile PF without option PFIL_HOOKS defined in the kernel conf file?
      ... kernel conf file to try to get PF compile into the kernel, ... PF failed to compile; ... : undefined reference to `pfil_head_get' ... Will this fix the problem? ...
      (comp.unix.bsd.openbsd.misc)
    • gprof
      ... I'm trying to compile my C application with gprof but it is not working. ... This is a multithreaded program that use mysql and openssl libraries. ... /lib/libcrypto.so.4: undefined reference to `sysconf' ...
      (freebsd-questions)