Re: Kernel Compilation Trouble
Hi all,
I had a similary problem, I have a laptop Gericom with a chip SiS630
so if it's not done, you have to download the drivers for you video card
from http://www.winischhofer.net/linuxsis630.shtml and follow the
instruction :
for the kernel you have to download the file sisfb_srs_160209-1.tar.gz (
http://www.webit.at/~twinny/sis/sisfb_src_160902-1.tar.gz ) but check on
the web site if it's the right file.
and after :
~/sisfb_src_160902-1 $ cat README
Installation instructions:
Copy all *.c and *.h files EXCEPT sisfb.h over the existing ones
in [kernel-tree]/drivers/video/sis.
Copy sisfb.h to /usr/src/linux/include/linux and over
eventual other copies of this file.
If you experience compile errors, you have missed sisfb.h.
Further, please use my Makefile (or patch your's accordingly) otherwise
the acceleration code will not be linked (which results in errors, of
course)
For kernel 2.5.34 and later:
1) You need to change the Makefile in /drivers/video/ in line 90 like this:
obj-$(CONFIG_FB_SIS) += sis/ cfbimgblt.o
2) For hardware accelerated 2D, set the kernel option
"CONFIG_FBCON_ACCEL" ("Hardware acceleration" in menuconfig)
/Thomas
in fact, me, I forgot to copy the Makefile from the source
sisfb_src_160902.tar.gz in [kernel-tree]/drivers/video/sis
so if I had just copy the makefile and everythin was ok
for more information, I give you an advice to follow what is write on
the web site
yoann
Anders E. Andersen a écrit:
I was trying to compile Kernel 2.4.19 (from sid/unstable) on my ASUS
A1 laptop (Sis chipset) but in the end I got this:
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686
-nostdinc -I /usr/lib/gcc-lib/i386-linux/2.95.4/include
-DKBUILD_BASENAME=strstr -c -o strstr.o strstr.c
rm -f lib.a
ar rcs lib.a checksum.o old-checksum.o delay.o usercopy.o getuser.o
memcpy.o strstr.o
make[2]: Leaving directory `/usr/src/linux/arch/i386/lib'
make[1]: Leaving directory `/usr/src/linux/arch/i386/lib'
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 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/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/pcmcia/pcmcia.o drivers/pnp/pnp.o drivers/video/video.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+0x6986): undefined reference to `sis_malloc'
drivers/char/drm/drm.o(.text+0x69cd): undefined reference to `sis_free'
drivers/char/drm/drm.o: In function `sis_fb_free':
drivers/char/drm/drm.o(.text+0x6b12): undefined reference to `sis_free'
drivers/char/drm/drm.o: In function `sis_final_context':
drivers/char/drm/drm.o(.text+0x6fc6): undefined reference to `sis_free'
make: *** [vmlinux] Error 1
So does anybody have any clue on what to do?
- Cheers Anders
______________________________________________________________________
Etudiant: Wanadoo t'offre le Pack eXtense Haut Débit soit 150,92 euros
d'économies ! Clique ici : http://www.ifrance.com/_reloc/mail.etudiant
Reply to:
- Follow-Ups:
- unsubscribe
- From: "Etienne GUERIN" <guerin-etienne@wanadoo.fr>