You are not logged in.

#1 2007-03-16 05:27:31

skizzled
Member
Registered: 2007-03-16
Posts: 6

Problems compiling drivers

I've been trying to compile the latest xf86-video-intel drivers to make use of the mode setting features in these drivers. I know that it is in development but using mode setting drivers is the only way that I have been able to get 1280x800 on my laptop. I used git to grab both the xserver1.3 source and xf86-video-intel source. I have all the required things to compile these drivers, with the help of errors during compilation which pointed me out to missing packages.

I am able to successfully run the autogen.sh file by using:

./autogen.sh --prefix=/usr --with-xserver-source=../xserver

When I run Make, all goes fine until the end. This is what I receive:

modes/xf86EdidModes.c: In function 'xf86DDCMonitorSet':
modes/xf86EdidModes.c:451: error: 'struct <anonymous>' has no member named 'maxPixClock'
modes/xf86EdidModes.c:452: error: 'struct <anonymous>' has no member named 'maxPixClock'
make[3]: *** [xf86EdidModes.lo] Error 1
make[3]: Leaving directory `/home/jason/src/xf86-video-intel/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/jason/src/xf86-video-intel/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jason/src/xf86-video-intel'
make: *** [all] Error 2

Am I able to just ignore these errors or do they break the Make? I ask because after this, I run Make Install ,as per instructions, and get this:

modes/xf86EdidModes.c: In function 'xf86DDCMonitorSet':
modes/xf86EdidModes.c:451: error: 'struct <anonymous>' has no member named 'maxPixClock'
modes/xf86EdidModes.c:452: error: 'struct <anonymous>' has no member named 'maxPixClock'
make[2]: *** [xf86EdidModes.lo] Error 1
make[2]: Leaving directory `/home/jason/src/xf86-video-intel/src'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/jason/src/xf86-video-intel/src'
make: *** [install-recursive] Error 1

All of this is done under root, so there should be no permissions problems or anything like that. Am I missing something? If anyone has any insight, I am more than willing to listen and take notes. Thanks!


AUR: reactorcritical

Offline

#2 2007-03-16 15:13:46

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Problems compiling drivers

The make fails, so you won't be able to run 'make install'. If make didn't fail, it wouldn't output any errors - just warnings.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#3 2007-03-16 18:08:57

skizzled
Member
Registered: 2007-03-16
Posts: 6

Re: Problems compiling drivers

Well, I understand that but is there any way to fix these errors? I really don't want to be stuck with vesa and would really appreciate any help regarding the make fail.


AUR: reactorcritical

Offline

#4 2007-03-16 20:33:35

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Problems compiling drivers

xf86EdidModes.c is the file that encounters problems... You should check that. I don't know about the C code, can't help you with that.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#5 2007-03-17 20:09:22

skizzled
Member
Registered: 2007-03-16
Posts: 6

Re: Problems compiling drivers

Heh, I would but I don't really know what I should be looking for. Never programmed or dealt with drivers like this before.


AUR: reactorcritical

Offline

#6 2007-03-20 04:24:33

skizzled
Member
Registered: 2007-03-16
Posts: 6

Re: Problems compiling drivers

Does anyone have any idea? I've tried commenting the lines out (a tip given in irc) but it only creates different errors.


AUR: reactorcritical

Offline

#7 2007-03-20 14:04:07

Snarkout
Member
Registered: 2005-11-13
Posts: 542

Re: Problems compiling drivers

Have you tried the compile using the absolute path to the xserver code?  Using relative paths can be problematic sometimes so where possible I avoid it.


Unthinking respect for authority is the greatest enemy of truth.
-Albert Einstein

Offline

#8 2007-03-20 16:11:08

skizzled
Member
Registered: 2007-03-16
Posts: 6

Re: Problems compiling drivers

Yes, I've done that. I've tried both ways and sometimes ../xserver works and other times it doesn't. Although, I still receive the xf86EdidModes.c error either way. Has anyone actually got them to compile correctly without any problems?


AUR: reactorcritical

Offline

#9 2007-03-22 22:31:39

skizzled
Member
Registered: 2007-03-16
Posts: 6

Re: Problems compiling drivers

Alright, I got it to compile. After trying that commenting the lines a dozen or so times. But now, I have another problem regarding the drivers themselves.

When I use "intel" as a video driver and run X with startx (or startxfce4), I receive only a blank screen with a non-blinking cursor at the top left of the screen. Can anyone help me with that? I've tried changing the VideoRam to a number of things, hoping that would help but it didn't.


AUR: reactorcritical

Offline

Board footer

Powered by FluxBB