Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 10-16-09, 09:18 PM   #1
conky
Registered User
 
Join Date: Nov 2007
Posts: 70
Default nvidia-settings 190.40 doesn't compile

I am using xorg-server 1.7 with xf86vidmodeproto version 2.3. nvidia-settings doesn't compile against this because X_XF86VidModeGetGammaRampSize is now defined in xf86vmproto.h rather than xf86vmode.h. I have patched NvCtrlAttributesVidMode.c to include the new file, but version check wrappers will need to be added:
diff -udNr a/nvidia-settings-1.0/src/libXNVCtrlAttributes/NvCtrlAttributesVidMode.c b/nvidia-settings-1.0/src/libXNVCtrlAttributes/NvCtrlAttributesVidMode.c
--- a/nvidia-settings-1.0/src/libXNVCtrlAttributes/NvCtrlAttributesVidMode.c 2009-10-15 07:27:46.000000000 -0500
+++ b/nvidia-settings-1.0/src/libXNVCtrlAttributes/NvCtrlAttributesVidMode.c 2009-10-16 20:57:28.836655893 -0500
@@ -28,6 +28,7 @@
#include "msg.h"

#include <X11/extensions/xf86vmode.h>
+#include <X11/extensions/xf86vmproto.h>

#include <stdlib.h>
#include <string.h>
conky is offline   Reply With Quote
Old 10-17-09, 12:37 AM   #2
AaronP
NVIDIA Corporation
 
AaronP's Avatar
 
Join Date: Mar 2005
Posts: 2,487
Default Re: nvidia-settings 190.40 doesn't compile

Sounds like a bug in xf86vmode.h. A change to the library shouldn't break client programs like nvidia-settings. I'd suggest reporting this on xorg@lists.freedesktop.org.
AaronP is offline   Reply With Quote
Reply


Thread Tools

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 12:23 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.