PDA

View Full Version : Help with compilation please


Moustacha
09-05-2007, 01:41 AM
I've been following the nouveau wiki on how to install, and so far everything's gone good until i got up to xf86-video-nouveau.
make
make all-recursive
make[1]: Entering directory `/home/sam/nuvo/xf86-video-nouveau'
Making all in src
make[2]: Entering directory `/home/sam/nuvo/xf86-video-nouveau/src'
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I/usr/local/include/drm -I/usr/include/xorg -I/usr/include/X11/dri -g -O2 -Wall -MT nv_accel_common.lo -MD -MP -MF .deps/nv_accel_common.Tpo -c -o nv_accel_common.lo nv_accel_common.c
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I/usr/local/include/drm -I/usr/include/xorg -I/usr/include/X11/dri -g -O2 -Wall -MT nv_accel_common.lo -MD -MP -MF .deps/nv_accel_common.Tpo -c nv_accel_common.c -fPIC -DPIC -o .libs/nv_accel_common.o
In file included from nv_include.h:70,
from nv_accel_common.c:1:
nv_type.h:18:22: error: xf86Crtc.h: No such file or directory
In file included from nv_include.h:71,
from nv_accel_common.c:1:
nv_proto.h:109: error: expected ')' before 'crtc'
nv_proto.h:110: error: expected ')' before 'crtc'
nv_proto.h:111: error: expected ')' before 'crtc'
nv_proto.h:112: error: expected ')' before 'crtc'
nv_proto.h:113: error: expected ')' before 'crtc'
nv_proto.h:115: error: expected ')' before 'crtc'
In file included from nv_include.h:77,
from nv_accel_common.c:1:
nv50_display.h:13: warning: parameter names (without types) in function declaration
nv50_display.h:15: error: expected ')' before 'Bool'
nv50_display.h:16: error: expected ')' before 'Bool'
nv50_display.h:17: error: expected ')' before 'Bool'
nv50_display.h:18: error: expected ')' before 'int'
In file included from nv_include.h:78,
from nv_accel_common.c:1:
nv50_cursor.h:9: error: expected ')' before 'crtc'
nv50_cursor.h:10: error: expected ')' before 'crtc'
In file included from nv_include.h:79,
from nv_accel_common.c:1:
nv50_output.h:8: error: expected specifier-qualifier-list before 'xf86OutputPtr'
nv50_output.h:16: error: expected ')' before 'int'
nv50_output.h:17: error: expected ')' before 'DisplayModePtr'
nv50_output.h:18: error: expected ')' before 'DisplayModePtr'
nv50_output.h:19: warning: parameter names (without types) in function declaration
nv50_output.h:20: warning: parameter names (without types) in function declaration
nv50_output.h:21: error: expected ')' before 'dac'
nv50_output.h:23: warning: parameter names (without types) in function declaration
nv50_output.h:24: warning: parameter names (without types) in function declaration
nv50_output.h:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'NV50CreateDac'
nv50_output.h:29: warning: parameter names (without types) in function declaration
nv50_output.h:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'NV50CreateSor'
make[2]: *** [nv_accel_common.lo] Error 1
make[2]: Leaving directory `/home/sam/nuvo/xf86-video-nouveau/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sam/nuvo/xf86-video-nouveau'
make: *** [all] Error 2

?????Any ideas on how to get it to work? I'm using ubuntu 7.04.

mlau
09-05-2007, 02:28 AM
I've been following the nouveau wiki on how to install, and so far everything's gone good until i got up to xf86-video-nouveau.
make
...
nv_type.h:18:22: error: xf86Crtc.h: No such file or directory

?????Any ideas on how to get it to work? I'm using ubuntu 7.04.

You're missing X-related header files;
Install the xorg-server devel package(s).