Phoronix Forums  

Go Back   Phoronix Forums > Linux Graphics / X.Org Drivers > Open-Source NVIDIA Linux

Open-Source NVIDIA Linux Technical support and discussion of the open-source nv and Nouveau drivers.

Reply
 
Thread Tools Display Modes
  #1  
Old 09-05-2007, 12:41 AM
Moustacha Moustacha is offline
Senior Member
 
Join Date: Jan 2007
Posts: 128
Default Help with compilation please

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.
Code:
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.
Reply With Quote
  #2  
Old 09-05-2007, 01:28 AM
mlau mlau is offline
Senior Member
 
Join Date: Sep 2006
Location: Austria
Posts: 157
Default

Quote:
Originally Posted by Moustacha View Post
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.
Code:
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).
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 07:38 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright ©2004 - 2009 by Phoronix Media.