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
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
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