LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   DirectFB slackbuild make failed (http://www.linuxquestions.org/questions/slackware-14/directfb-slackbuild-make-failed-583229/)

arubin 09-08-2007 05:25 PM

DirectFB slackbuild make failed
 
I have been trying to install DirectFB and I am getting the same error whether I compile from source or using Alien Bob's slackbuild. Any assistance gratefully received.

Quote:

../../include/dfb_types.h: At top level:
../../include/dfb_types.h:54: error: 'u64' redeclared as different kind of symbol
/usr/include/linux/jiffies.h:81: error: previous declaration of 'u64' was here
../../include/dfb_types.h:54: error: 'u64' redeclared as different kind of symbol
/usr/include/linux/jiffies.h:81: error: previous declaration of 'u64' was here
In file included from ../../include/directfb.h:33,
from matrox_maven.c:43:
/usr/include/sys/time.h:57: error: redefinition of `struct timezone'
/usr/include/sys/time.h:94: error: syntax error before numeric constant
/usr/include/sys/time.h:108: error: redefinition of `struct itimerval'
In file included from /usr/include/signal.h:212,
from /usr/include/sys/signal.h:1,
from ../../lib/direct/conf.h:36,
from ../../lib/direct/messages.h:46,
from matrox_maven.c:46:
/usr/include/bits/siginfo.h:34: error: redefinition of `union sigval'
/usr/include/bits/siginfo.h:52: error: redefinition of `struct siginfo'
/usr/include/bits/siginfo.h:65: error: syntax error before '.' token
/usr/include/bits/siginfo.h:66: error: syntax error before '.' token
/usr/include/bits/siginfo.h:72: error: syntax error before '.' token
/usr/include/bits/siginfo.h:73: error: syntax error before '.' token
/usr/include/bits/siginfo.h:75: error: syntax error before '}' token
/usr/include/bits/siginfo.h:80: error: syntax error before '.' token
/usr/include/bits/siginfo.h:81: error: syntax error before '.' token
/usr/include/bits/siginfo.h:83: error: syntax error before '}' token
/usr/include/bits/siginfo.h:88: error: syntax error before '.' token
/usr/include/bits/siginfo.h:89: error: syntax error before '.' token
/usr/include/bits/siginfo.h:90: error: syntax error before '.' token
/usr/include/bits/siginfo.h:91: error: syntax error before '.' token
/usr/include/bits/siginfo.h:92: error: syntax error before '.' token
/usr/include/bits/siginfo.h:98: error: syntax error before '.' token
/usr/include/bits/siginfo.h:104: error: syntax error before '.' token
/usr/include/bits/siginfo.h:105: error: syntax error before '.' token
/usr/include/bits/siginfo.h:107: error: syntax error before '}' token
/usr/include/bits/siginfo.h:108: error: syntax error before '}' token
/usr/include/bits/siginfo.h:133: error: syntax error before '-' token
/usr/include/bits/siginfo.h:155: error: syntax error before '(' token
/usr/include/bits/siginfo.h:176: error: syntax error before '(' token
/usr/include/bits/siginfo.h:197: error: syntax error before '(' token
/usr/include/bits/siginfo.h:206: error: syntax error before '(' token
/usr/include/bits/siginfo.h:217: error: syntax error before '(' token
/usr/include/bits/siginfo.h:226: error: syntax error before '(' token
/usr/include/bits/siginfo.h:243: error: syntax error before '(' token
/usr/include/bits/siginfo.h:274: error: redefinition of `struct sigevent'
/usr/include/bits/siginfo.h:302: error: syntax error before numeric constant
In file included from /usr/include/signal.h:246,
from /usr/include/sys/signal.h:1,
from ../../lib/direct/conf.h:36,
from ../../lib/direct/messages.h:46,
from matrox_maven.c:46:
/usr/include/bits/sigaction.h:26: error: redefinition of `struct sigaction'
/usr/include/bits/sigaction.h:32: error: syntax error before '.' token
/usr/include/bits/sigaction.h:34: error: syntax error before '.' token
/usr/include/bits/sigaction.h:51: error: syntax error before '}' token
In file included from /usr/include/signal.h:348,
from /usr/include/sys/signal.h:1,
from ../../lib/direct/conf.h:36,
from ../../lib/direct/messages.h:46,
from matrox_maven.c:46:
/usr/include/bits/sigstack.h:36: error: syntax error before numeric constant
/usr/include/bits/sigstack.h:51: error: redefinition of `struct sigaltstack'
In file included from /usr/include/sched.h:32,
from /usr/include/pthread.h:20,
from ../../lib/direct/util.h:35,
from matrox_maven.c:47:
/usr/include/bits/sched.h:63: error: redefinition of `struct sched_param'
In file included from /usr/include/pthread.h:21,
from ../../lib/direct/util.h:35,
from matrox_maven.c:47:
/usr/include/time.h:160: error: redefinition of `struct itimerspec'
/usr/include/asm/smp.h:37: warning: array 'cpu_sibling_map' assumed to have one element
/usr/include/asm/smp.h:38: warning: array 'cpu_core_map' assumed to have one element
/usr/include/asm/smp.h:46: warning: array 'x86_cpu_to_apicid' assumed to have one element
/usr/include/linux/mod_devicetable.h:287: error: storage size of `evbit' isn't known
/usr/include/linux/mod_devicetable.h:288: error: storage size of `keybit' isn't known
/usr/include/linux/mod_devicetable.h:289: error: storage size of `relbit' isn't known
/usr/include/linux/mod_devicetable.h:290: error: storage size of `absbit' isn't known
/usr/include/linux/mod_devicetable.h:291: error: storage size of `mscbit' isn't known
/usr/include/linux/mod_devicetable.h:292: error: storage size of `ledbit' isn't known
/usr/include/linux/mod_devicetable.h:293: error: storage size of `sndbit' isn't known
/usr/include/linux/mod_devicetable.h:294: error: storage size of `ffbit' isn't known
/usr/include/linux/mod_devicetable.h:295: error: storage size of `swbit' isn't known
/usr/include/linux/device.h:339: error: storage size of `dma_pools' isn't known
make[2]: *** [matrox_maven.lo] Error 1
make[2]: Leaving directory `/tmp/build/tmp-directfb/directfb-1.0.0/gfxdrivers/matrox'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/tmp/build/tmp-directfb/directfb-1.0.0/gfxdrivers'
make: *** [install-recursive] Error 1
./directfb.SlackBuild FAILED at line 189!

manwichmakesameal 09-08-2007 08:01 PM

If I'm remembering correctly, I think there is a switch to the ./configure command that you have to do to disable building for matrox. It's been a while since I built it. If you don't have any luck, I have a DirectFB package already built. Just drop me a line and let me know if you want it. I had to build it to install quingy.

arubin 09-09-2007 04:13 AM

Adding

--with-gfxdrivers=nvidia

has compiled.


All times are GMT -5. The time now is 10:41 PM.