mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sebastian Droege <sebastian.droege@gmx.de>
To: Brett Nuske <bnuske@cs.rmit.edu.au>
Cc: linux-kernel@vger.kernel.org
Subject: Re: COMPILE BUG: SiS DRM Support
Date: Fri, 5 Apr 2002 14:34:10 +0200	[thread overview]
Message-ID: <20020405143410.0cfc2c2c.sebastian.droege@gmx.de> (raw)
In-Reply-To: <Pine.SOL.4.33.0204052211080.25614-100000@numbat.cs.rmit.edu.au>

[-- Attachment #1: Type: text/plain, Size: 2207 bytes --]

On Fri, 5 Apr 2002 22:22:05 +1000 (EST)
Brett Nuske <bnuske@cs.rmit.edu.au> wrote:

> 
> Hi,
> 
>    I have been trying to compile SiS DRM support
> with the 2.4.18 kernel (have tried both module
> and in the kernel) but to no avail. When built
> as a module it compiles but when the module gets
> loaded I get unresolved symbols.
> 
>    When trying to compile the support directly into
> the kernel I get the following compilation errors:
> 
> <cut>
> 
> ld -m elf_i386 -T /usr/src/linux/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/char/char.o drivers/block/block.o drivers/misc/misc.o drivers/net/net.o drivers/media/media.o drivers/char/agp/agp.o drivers/char/drm/drm.o drivers/ide/idedriver.o drivers/cdrom/driver.o drivers/sound/sounddrivers.o drivers/pci/driver.o drivers/video/video.o drivers/usb/usbdrv.o drivers/input/inputdrv.o \
>         net/network.o \
>         /usr/src/linux/arch/i386/lib/lib.a /usr/src/linux/lib/lib.a /usr/src/linux/arch/i386/lib/lib.a \
>         --end-group \
>         -o vmlinux
> drivers/char/drm/drm.o: In function `sis_fb_alloc':
> drivers/char/drm/drm.o(.text+0x6a26): undefined reference to `sis_malloc'
> drivers/char/drm/drm.o(.text+0x6a6d): undefined reference to `sis_free'
> drivers/char/drm/drm.o: In function `sis_fb_free':
> drivers/char/drm/drm.o(.text+0x6bb2): undefined reference to `sis_free'
> drivers/char/drm/drm.o: In function `sis_final_context':
> drivers/char/drm/drm.o(.text+0x7066): undefined reference to `sis_free'
> make: *** [vmlinux] Error 1
> 
> </cut>
> 
> sis_free appears to be in linux/drivers/video/sis/sis_main.c
> with its prototype in linux/drivers/video/sis/sis_main.h
> 
> linux/drivers/video/sis/sis_mm.c seems to be where the sis_fb_alloc
> and sis_fb_free function calls are made.
> 
> Is there any obvious reasons why this isn't compiling?
Try compiling with SiS framebuffer device (CONFIG_FB_SIS and CONFIG_FB_SIS_300 or CONFIG_FB_SIS_315) activated... the SiS DRI driver needs it... don't ask me why ;)

Bye

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2002-04-05 12:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-05 11:46 [PATCH] kernel 2.5.8-pre1, tipar: parallel link cable driver for TI graphing calculators Romain LIEVIN
2002-04-05 12:22 ` COMPILE BUG: SiS DRM Support Brett Nuske
2002-04-05 12:34   ` Sebastian Droege [this message]
2002-04-05 17:44     ` James Simmons
2002-04-05 13:07   ` Alan Cox
2002-04-09  7:52 Thomas Winischhofer

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=20020405143410.0cfc2c2c.sebastian.droege@gmx.de \
    --to=sebastian.droege@gmx.de \
    --cc=bnuske@cs.rmit.edu.au \
    --cc=linux-kernel@vger.kernel.org \
    /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®