LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-10-2004, 12:17 AM   #1
sirpelidor
Member
 
Registered: Oct 2003
Location: Madison
Distribution: mdk 8.2, 9.0, 9.2, slack 9.1
Posts: 403

Rep: Reputation: 30
Exclamation when compile DirectFB, i ran into this problem:


hi there, trying to compile DirectFB-0.9.20 (download from www.directfb.org) here. the ./confgiure msg looks good:
================================================================
Build options:
Version 0.9.20
Install prefix /usr/local
Build shared libs yes
Build static libs no
Module directory ${exec_prefix}/lib/directfb-0.9.20
CFLAGS -D_REENTRANT -Wall -O3 -ffast-math -pipe -DFUSION_FAKE -Werror-implicit-function-declaration

Misc options:
MMX support yes
SSE support yes
Debug mode no
Trace support no
Multi App support no

Core Systems:
Linux FBDev support yes
SDL support yes

Building Tools yes

Building Image Providers:
JPEG yes
PNG yes
GIF yes
MPEG2 I-Frame yes

Building Video Providers:
Libmpeg3 yes
Video4Linux yes

Building Font implementations:
FreeType2 yes
DirectFB font yes

Building Graphics Drivers:
3Dfx Voodoo yes
ATI Radeon yes
ATI Rage 128 yes
Intel i810 yes
Matrox yes
NeoMagic yes
NSC Geode yes
nVidia RIVA TNT yes
S3 Savage no
TVIA CyberPro yes
VIA CLE266 yes

Building Input Drivers:
DBox2 Remote no
Linux Input no
H3600 Touchscreen no
MuTouch touchscreen no
SonyPI Jogdial yes
ucb1x00 Touchscreen no
WM97xx Touchscreen no

=================================================================

but when compile, i ran into this:

In file included from matrox_maven.c:32:
/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] Error 1
make[3]: Leaving directory `/opt/DirectFB-0.9.20/gfxdrivers/matrox'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/DirectFB-0.9.20/gfxdrivers'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/DirectFB-0.9.20'
make: *** [all-recursive-am] Error 2
[root@localhost DirectFB-0.9.20]# ./configure --help

===============================================================

my display card is Matrox G400, and i checked my kernel, it appears display card and everything has installed correctly. i'm not sure why compiler is complaining matrox_maven.c and /usr/include/linux/i2c-dev.h. not quite sure what has to do with it. any suggestion help me get this thing compiled?

thanks =-)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
bad compile -ran out of disk space juan18 Linux - Software 2 01-30-2005 11:32 AM
Problem with initializing DirectFB by Links eugrus Linux - Software 1 01-07-2005 01:41 PM
DirectFB compile option radub Linux - Software 1 08-12-2004 12:52 PM
ati, directfb, and tv-out problem lukebeales Linux - Software 1 05-18-2004 11:32 AM
What is DirectFB Kocil Linux - Software 5 01-23-2004 08:25 PM


All times are GMT -5. The time now is 08:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration