public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.4.20 Compile Failure
@ 2002-12-03 12:09 Ian Chilton
  2002-12-03 12:22 ` Dave Jones
  0 siblings, 1 reply; 3+ messages in thread
From: Ian Chilton @ 2002-12-03 12:09 UTC (permalink / raw)
  To: linux-kernel

Hello,

I'm not on linux-kernel at the moment so please cc any replies directly.

I get the following error when compiling
2.4.20-fairsched-kpreempt-skas3.

If I remove this..:
--- DRM 4.1 drivers
<*>   SiS
...it works fine.


Here is the error:

ld -m elf_i386 -T /usr/src/linux-2.4.20/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/parport/driver.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/scsi/scsidrv.o
drivers/cdrom/driver.o drivers/pci/driver.o drivers/pnp/pnp.o
drivers/video/video.o drivers/usb/usbdrv.o drivers/input/inputdrv.o \
        net/network.o \
        /usr/src/linux-2.4.20/arch/i386/lib/lib.a
/usr/src/linux-2.4.20/lib/lib.a
/usr/src/linux-2.4.20/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+0x73d8): undefined reference to
`sis_malloc'
drivers/char/drm/drm.o(.text+0x7486): undefined reference to `sis_free'
drivers/char/drm/drm.o: In function `sis_fb_free':
drivers/char/drm/drm.o(.text+0x74f9): undefined reference to `sis_free'
drivers/char/drm/drm.o: In function `sis_final_context':
drivers/char/drm/drm.o(.text+0x791f): undefined reference to `sis_free'
make: *** [vmlinux] Error 1


[root@jester linux]# gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/specs
Configured with: ../gcc-3.2/configure --prefix=/usr --enable-shared
--enable-languages=c,c++ --enable-threads=posix --with-slibdir=/lib
Thread model: posix
gcc version 3.2
[root@jester linux]#


Bye for Now,

Ian

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 2.4.20 Compile Failure
  2002-12-03 12:09 2.4.20 Compile Failure Ian Chilton
@ 2002-12-03 12:22 ` Dave Jones
  2002-12-03 12:46   ` Ian Chilton
  0 siblings, 1 reply; 3+ messages in thread
From: Dave Jones @ 2002-12-03 12:22 UTC (permalink / raw)
  To: Ian Chilton; +Cc: linux-kernel

On Tue, Dec 03, 2002 at 12:09:29PM +0000, Ian Chilton wrote:

 > If I remove this..:
 > --- DRM 4.1 drivers
 > <*>   SiS
 > ...it works fine.
 > drivers/char/drm/drm.o: In function `sis_fb_alloc':
 > drivers/char/drm/drm.o(.text+0x73d8): undefined reference to
 > `sis_malloc'
 > drivers/char/drm/drm.o(.text+0x7486): undefined reference to `sis_free'
 > drivers/char/drm/drm.o: In function `sis_fb_free':
 > drivers/char/drm/drm.o(.text+0x74f9): undefined reference to `sis_free'
 > drivers/char/drm/drm.o: In function `sis_final_context':
 > drivers/char/drm/drm.o(.text+0x791f): undefined reference to `sis_free'
 > make: *** [vmlinux] Error 1

compile in the sis frame buffer too. They need each other iirc.

		Dave
-- 
| Dave Jones.        http://www.codemonkey.org.uk
| SuSE Labs

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 2.4.20 Compile Failure
  2002-12-03 12:22 ` Dave Jones
@ 2002-12-03 12:46   ` Ian Chilton
  0 siblings, 0 replies; 3+ messages in thread
From: Ian Chilton @ 2002-12-03 12:46 UTC (permalink / raw)
  To: Dave Jones, linux-kernel

Hello,

> compile in the sis frame buffer too. They need each other iirc.


Yes, that fixed it - Thanks!

Maybe it should be made so the SiS DRM option only appears if the SiS
framebuffer is selected?


Bye for Now,

Ian


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-12-03 12:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-03 12:09 2.4.20 Compile Failure Ian Chilton
2002-12-03 12:22 ` Dave Jones
2002-12-03 12:46   ` Ian Chilton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox