mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@fs.tum.de>
To: "Mario ''Jorge'' Di Nitto" <jorge78@inwind.it>
Cc: linux-kernel@vger.kernel.org, Sung-Ching Lin <sclin@sis.com.tw>
Subject: Re: 2.4.24 doesn't compile clearly...
Date: Mon, 12 Jan 2004 02:47:16 +0100	[thread overview]
Message-ID: <20040112014716.GF9677@fs.tum.de> (raw)
In-Reply-To: <200401111315.40950.jorge78@inwind.it>

On Sun, Jan 11, 2004 at 01:15:40PM +0100, Mario ''Jorge'' Di Nitto wrote:

> Hi to all.

Hi Mario,

> I've download 2.4.24 and I patched it with ck1 and lm_sensor 2.8.2.
> Make dep is ok,  but make bzImage gives:
> 
> ld -m elf_i386 -T /usr/src/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 drivers/sensors/sensor.o \
>         net/network.o \
>         /usr/src/linux-2.4.24/arch/i386/lib/lib.a /usr/src/linux-2.4.24/lib/lib.a /usr/src/linux-2.4.24/arch/i386/lib/lib.a 
> \
>         --end-group \
>         -o vmlinux
> drivers/char/drm/drm.o(.text+0x768e): In function `sis_fb_alloc':
> : undefined reference to `sis_malloc'
> drivers/char/drm/drm.o(.text+0x773f): In function `sis_fb_alloc':
> : undefined reference to `sis_free'
> drivers/char/drm/drm.o(.text+0x77a0): In function `sis_fb_free':
> : undefined reference to `sis_free'
> drivers/char/drm/drm.o(.text+0x7bef): In function `sis_final_context':
> : undefined reference to `sis_free'
> make: *** [vmlinux] Error 1
> 
> if I set sisfb as module.
> 
> D998:/usr/src/linux# grep -i sis .config
>...
> CONFIG_DRM_SIS=y
> CONFIG_FB_SIS=m
>...
> However, if I compile sisfb statically all works fine...

this is a well-known bug.

Workaround:
Either set CONFIG_DRM_SIS=m or CONFIG_FB_SIS=y .

> TIA,
> 				Jorge
>...

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


      parent reply	other threads:[~2004-01-12  1:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-11 12:15 Mario ''Jorge'' Di Nitto
2004-01-11 12:48 ` Willy Tarreau
2004-01-11 22:30   ` Mario ''Jorge'' Di Nitto
2004-01-12  1:47 ` Adrian Bunk [this message]

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=20040112014716.GF9677@fs.tum.de \
    --to=bunk@fs.tum.de \
    --cc=jorge78@inwind.it \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sclin@sis.com.tw \
    /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

all inboxes | Powered by JetHome®