On Tue, May 25, 2004 at 11:12:30AM +0200, Matthias Pospiech wrote:
> I came across directfb when I was searching for advice on TVout with 
> matroxfb.
> I have to admit that I do not have a good understand what I need 
> directfb for.
> 
> What I tried so far to get everything working, is to compile the kernel 
> with matroxfb and compile directfb, fusion and matroxset.
> Unfortunately only compilation of matroxset worked :-(
> 
> The kernel is standard Mandrake 9.2 (linux-2.4.22-21mm.1mdk), where I 
> activated matroxfb and compiled.
> It crashes directly when booted.

Try with a vanilla kernel.

> In Lilo I used (which I was told to use in a usenet group)
> append="video=matrox:sgram,xres:960,yres:800,upper:28,lower:1,vslen:3,hslen:96,
> left:140,right:16,pixclock:13500,hsync:high,vsync:high,depth:8"

Try without all these extra parameters.

> DirectFB does not compile:
> 
> usr/include/linux/i2c-dev.h:29:40: missing binary operator before token "("
> matrox_maven.c: In function `maven_write_byte':
> matrox_maven.c:63: error: implicit declaration of function
> `i2c_smbus_write_byte_data'
> matrox_maven.c: In function `maven_write_word':
> matrox_maven.c:80: error: implicit declaration of function
> `i2c_smbus_write_word_data'
> matrox_maven.c: In function `maven_open':
> matrox_maven.c:311: error: `I2C_SLAVE' undeclared (first use in this
> function)
> matrox_maven.c:311: error: (Each undeclared identifier is reported only once
> matrox_maven.c:311: error: for each function it appears in.)
> matrox_maven.c: In function `maven_init':
> matrox_maven.c:450: error: `I2C_SLAVE' undeclared (first use in this
> function)
> make[3]: *** [matrox_maven.lo] Fehler 1
> make[3]: Leaving directory `/root/DirectFB-0.9.20/gfxdrivers/matrox'
> ...

You i2c headers are broken. Get the cvs version of DirectFB.

> Installation of fusion does not work either
> depmod: *** Unresolved symbols in /lib/modules/2.4.22-10mdk/fusion.o
> depmod: create_proc_entry_R112bf9f7
> depmod: proc_mkdir_R96bcb412
> depmod: devfs_register_R4069b69d
> depmod: __pollwait_R39e543d5
> depmod: devfs_register_chrdev_R04f2e4e0
> depmod: devfs_unregister_R6c089a02
> depmod: preempt_schedule_R707f93dd
> depmod: remove_proc_entry_R2945684c

Your kernel sources don't match with you running kernel.

> (why do I need fusion anyway)

You need it to run multiple DirectFB applications at the same time.

-- 
Ville Syrj�l�
[EMAIL PROTECTED]
http://www.sci.fi/~syrjala/


--
Info: To unsubscribe send a mail to [EMAIL PROTECTED] with
"unsubscribe directfb-users" as subject.

Reply via email to