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

Newegg Daily Deals

Reply
 
Thread Tools
Old 12-14-08, 12:34 PM   #1
Agrapha
Registered User
 
Join Date: Dec 2007
Posts: 10
Unhappy FreeBSD 6.2 xorg-server nvidia-settings fail to gmake or make

I have an updated ports tree but cannot make xorg-server or nvidia-settings.
I'm not the best at this so please let me know if more information is needed.

installed the driver NVIDIA-FreeBSD-x86-100.14.03 a while back but due to other packages needing updating we didn't test it yet. updated the ports tree and portupgraded everything. Noticed in the summary x11-servers/xorg-server failed. Read the stickies here. noticed the nvidia-settings file downloaded that and here is the results:

lazerus# uname -a
FreeBSD lazerus.box201.com 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007 root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386
lazerus# locate compat5x-i386
/usr/ports/distfiles/compat5x-i386-5.4.0.8.tar.bz2
lazerus# fetch ftp://download.nvidia.com/XFree86/nv...-180.16.tar.gz
nvidia-settings-180.16.tar.gz 100% of 1308 kB 304 kBps
lazerus# tar -zxvf nvidia-settings-180.16.tar.gz
x nvidia-settings-1.0/
...
x nvidia-settings-1.0/COPYING
lazerus# cd nvidia-settings-1.0/
lazerus# gmake
cc -c -Wall -O -DNDEBUG -I/usr/X11R6/include -D_THREAD_SAFE -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/freetype2 -I/usr/local/include/pixman-1 -I doc -I src -I src/image_data -I src/xpm_data -I src/gtk+-2.x -I src/libXNVCtrl -I src/libXNVCtrlAttributes -I src/XF86Config-parser -I samples src/command-line.c -o .objs/command-line.o
In file included from src/command-line.c:37:
src/glxinfo.h:28:20: GL/glx.h: No such file or directory
src/glxinfo.h:32:2: warning: #warning GLX version 1.3 not defined, will not show FBConfig table!
gmake: *** [.objs/command-line.o] Error 1
lazerus# locate glx.h
/root/NVIDIA-FreeBSD-x86-100.14.03/doc/glx.h
/usr/local/include/glitz-glx.h
/usr/local/include/gtkglext-1.0/gdk/x11/gdkglx.h
/usr/local/include/xcb/glx.h
/usr/local/share/doc/NVIDIA_GLX-1.0/glx.h
/usr/local/share/doc/gtkglext/gtkglext-gdkglx.html


I deinstalled the nvidia-driver in my ports system before making the new one. I don't have libGL installed. Looks like qt may have some libraries but don't know where to look from here. could someone help?
Agrapha is offline   Reply With Quote
Old 12-14-08, 02:49 PM   #2
Agrapha
Registered User
 
Join Date: Dec 2007
Posts: 10
Default Re: FreeBSD 6.2 xorg-server nvidia-settings fail to gmake or make

I forgot to add this in the last post. My nvidia-bug-report is attached.
Thanks everyone.
Attached Files
File Type: zip nvidia-bug-report.zip (20.9 KB, 136 views)
Agrapha is offline   Reply With Quote
Old 12-15-08, 12:45 PM   #3
tut
Registered User
 
tut's Avatar
 
Join Date: Dec 2008
Location: Kyiv/Ukraine
Posts: 13
Default Re: FreeBSD 6.2 xorg-server nvidia-settings fail to gmake or make

Quote:
Originally Posted by Agrapha View Post
lazerus# fetch ftp://download.nvidia.com/XFree86/nvidia-settings/nvidia-settings-180.16.tar.gz
lazerus# tar -zxvf nvidia-settings-180.16.tar.gz
lazerus# cd nvidia-settings-1.0/
lazerus# gmake
Why don't you use FreeBSD ports and portupgrade tool?
__________________
[nvidia-driver-180.16 @ FreeBSD 7.1-PRERELEASE @ GeForce Go 6100]
tut is offline   Reply With Quote
Old 12-15-08, 08:43 PM   #4
Agrapha
Registered User
 
Join Date: Dec 2007
Posts: 10
Default Re: FreeBSD 6.2 xorg-server nvidia-settings fail to gmake or make

I did do a portupgrade. Thats kind of how i got into this problem. x11-servers/xorg-server failed to build. The log from the portupgrade looked like this:
+ java/junit (junit-3.8.2_1)
+ textproc/asciidoc (asciidoc-8.2.7)
+ devel/apache-ant (apache-ant-1.7.0_1)
+ devel/automake14 (automake-1.4.6_4)
! x11/nvidia-xconfig (nvidia-xconfig-1.0_1) (checksum mismatch)
+ devel/autotools (autotools-20070905)
- graphics/poppler-utils (poppler-utils-0.8.7)
+ devel/log4j (log4j-1.2.15)
! x11-servers/xorg-server (xorg-server-1.4_3,1) (missing header)

I realized my nvidia driver was a bit older. I upgraded ports and downloaded the new nvidia driver from the stickies. could not find a way to uninstall the old driver...
NVIDIA-FreeBSD-x86-100.14.03
but i did see the downloaded 180-16 README said something about it replaced the old files.
so here is what happens when i build the xorg-server:


lazerus# cd x11-servers/
lazerus# cd xorg-server/
lazerus# make
===> Building for xorg-server-1.4.2,1
Making all in doc
make all-am
Making all in include
make all-am
Making all in dix
make all-am
Making all in fb
Making all in mi
Making all in Xext
Making all in miext
Making all in damage
Making all in shadow
Making all in cw
Making all in os
Making all in randr
Making all in render
Making all in Xi
Making all in xkb
Making all in dbe
Making all in mfb
Making all in afb
Making all in cfb
Making all in cfb32
Making all in record
Making all in xfixes
Making all in damageext
Making all in XTrap
Making all in composite
Making all in GL
Making all in glx
/bin/sh ../../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I../../include -I../../hw/xfree86/os-support -I../../hw/xfree86/os-support/bus -I../../hw/xfree86/common -I../../hw/xfree86/dri -I../../mi -I/usr/ports/x11-servers/xorg-server/work/Mesa-7.0.1/include -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/pixman-1 -I../../include -I../../include -I../../Xext -I../../composite -I../../damageext -I../../xfixes -I../../Xi -I../../mi -I../../miext/shadow -I../../miext/damage -I../../render -I../../randr -I../../fb -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include -I/usr/local/include/drm -I/usr/local/include/X11/dri -I/usr/ports/x11-servers/xorg-server/work/Mesa-7.0.1/src/mesa/glapi -I/usr/ports/x11-servers/xorg-server/work/Mesa-7.0.1/src/mesa/main -DXFree86Server -O2 -fno-strict-aliasing -pipe -MT glxcmds.lo -MD -MP -MF .deps/glxcmds.Tpo -c -o glxcmds.lo glxcmds.c
cc -DHAVE_CONFIG_H -I. -I../../include -I../../hw/xfree86/os-support -I../../hw/xfree86/os-support/bus -I../../hw/xfree86/common -I../../hw/xfree86/dri -I../../mi -I/usr/ports/x11-servers/xorg-server/work/Mesa-7.0.1/include -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/pixman-1 -I../../include -I../../include -I../../Xext -I../../composite -I../../damageext -I../../xfixes -I../../Xi -I../../mi -I../../miext/shadow -I../../miext/damage -I../../render -I../../randr -I../../fb -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include -I/usr/local/include/drm -I/usr/local/include/X11/dri -I/usr/ports/x11-servers/xorg-server/work/Mesa-7.0.1/src/mesa/glapi -I/usr/ports/x11-servers/xorg-server/work/Mesa-7.0.1/src/mesa/main -DXFree86Server -O2 -fno-strict-aliasing -pipe -MT glxcmds.lo -MD -MP -MF .deps/glxcmds.Tpo -c glxcmds.c -fPIC -DPIC -o .libs/glxcmds.o
glxcmds.c:46:26: GL/glxtokens.h: No such file or directory
glxcmds.c: In function `DoGetVisualConfigs':
glxcmds.c:980: error: `GLX_VISUAL_CAVEAT_EXT' undeclared (first use in this function)
glxcmds.c:980: error: (Each undeclared identifier is reported only once
glxcmds.c:980: error: for each function it appears in.)
glxcmds.c:982: error: `GLX_TRANSPARENT_TYPE' undeclared (first use in this function)
glxcmds.c:984: error: `GLX_TRANSPARENT_RED_VALUE' undeclared (first use in this function)
glxcmds.c:986: error: `GLX_TRANSPARENT_GREEN_VALUE' undeclared (first use in this function)
glxcmds.c:988: error: `GLX_TRANSPARENT_BLUE_VALUE' undeclared (first use in this function)
glxcmds.c:990: error: `GLX_TRANSPARENT_ALPHA_VALUE' undeclared (first use in this function)
glxcmds.c:992: error: `GLX_TRANSPARENT_INDEX_VALUE' undeclared (first use in this function)
glxcmds.c: In function `DoGetFBConfigs':
glxcmds.c:1152: error: `GLX_VISUAL_ID' undeclared (first use in this function)
glxcmds.c:1153: error: `GLX_FBCONFIG_ID' undeclared (first use in this function)
glxcmds.c:1154: error: `GLX_X_RENDERABLE' undeclared (first use in this function)
glxcmds.c:1156: error: `GLX_RGBA' undeclared (first use in this function)
glxcmds.c:1157: error: `GLX_DOUBLEBUFFER' undeclared (first use in this function)
glxcmds.c:1158: error: `GLX_STEREO' undeclared (first use in this function)
glxcmds.c:1160: error: `GLX_BUFFER_SIZE' undeclared (first use in this function)
glxcmds.c:1161: error: `GLX_LEVEL' undeclared (first use in this function)
glxcmds.c:1162: error: `GLX_AUX_BUFFERS' undeclared (first use in this function)
glxcmds.c:1163: error: `GLX_RED_SIZE' undeclared (first use in this function)
glxcmds.c:1164: error: `GLX_GREEN_SIZE' undeclared (first use in this function)
glxcmds.c:1165: error: `GLX_BLUE_SIZE' undeclared (first use in this function)
glxcmds.c:1166: error: `GLX_ALPHA_SIZE' undeclared (first use in this function)
glxcmds.c:1167: error: `GLX_ACCUM_RED_SIZE' undeclared (first use in this function)
glxcmds.c:1168: error: `GLX_ACCUM_GREEN_SIZE' undeclared (first use in this function)
glxcmds.c:1169: error: `GLX_ACCUM_BLUE_SIZE' undeclared (first use in this function)
glxcmds.c:1170: error: `GLX_ACCUM_ALPHA_SIZE' undeclared (first use in this function)
glxcmds.c:1171: error: `GLX_DEPTH_SIZE' undeclared (first use in this function)
glxcmds.c:1172: error: `GLX_STENCIL_SIZE' undeclared (first use in this function)
glxcmds.c:1174: error: `GLX_X_VISUAL_TYPE' undeclared (first use in this function)
glxcmds.c:1179: error: `GLX_CONFIG_CAVEAT' undeclared (first use in this function)
glxcmds.c:1180: error: `GLX_TRANSPARENT_TYPE' undeclared (first use in this function)
glxcmds.c:1181: error: `GLX_TRANSPARENT_RED_VALUE' undeclared (first use in this function)
glxcmds.c:1182: error: `GLX_TRANSPARENT_GREEN_VALUE' undeclared (first use in this function)
glxcmds.c:1183: error: `GLX_TRANSPARENT_BLUE_VALUE' undeclared (first use in this function)
glxcmds.c:1184: error: `GLX_TRANSPARENT_ALPHA_VALUE' undeclared (first use in this function)
glxcmds.c:1185: error: `GLX_TRANSPARENT_INDEX_VALUE' undeclared (first use in this function)
glxcmds.c:1186: error: `GLX_SWAP_METHOD_OML' undeclared (first use in this function)
glxcmds.c: In function `DoCreateGLXPixmap':
glxcmds.c:1298: error: `GLX_TEXTURE_TARGET_EXT' undeclared (first use in this function)
glxcmds.c:1300: error: `GLX_TEXTURE_2D_EXT' undeclared (first use in this function)
glxcmds.c:1303: error: `GLX_TEXTURE_RECTANGLE_EXT' undeclared (first use in this function)
glxcmds.c: In function `DoQueryContext':
glxcmds.c:1541: error: `GLX_SHARE_CONTEXT_EXT' undeclared (first use in this function)
glxcmds.c:1543: error: `GLX_VISUAL_ID_EXT' undeclared (first use in this function)
glxcmds.c:1545: error: `GLX_SCREEN_EXT' undeclared (first use in this function)
glxcmds.c: In function `__glXDisp_BindTexImageEXT':
glxcmds.c:1588: error: `GLX_FRONT_LEFT_EXT' undeclared (first use in this function)
glxcmds.c: In function `DoGetDrawableAttributes':
glxcmds.c:1725: error: `GLX_TEXTURE_TARGET_EXT' undeclared (first use in this function)
glxcmds.c:1726: error: `GLX_TEXTURE_2D_EXT' undeclared (first use in this function)
glxcmds.c:1727: error: `GLX_TEXTURE_RECTANGLE_EXT' undeclared (first use in this function)
*** Error code 1

Stop in /usr/ports/x11-servers/xorg-server/work/xorg-server-1.4.2/GL/glx.
*** Error code 1

Stop in /usr/ports/x11-servers/xorg-server/work/xorg-server-1.4.2/GL.
*** Error code 1

Stop in /usr/ports/x11-servers/xorg-server/work/xorg-server-1.4.2.
*** Error code 1

Stop in /usr/ports/x11-servers/xorg-server.
*** Error code 1

Stop in /usr/ports/x11-servers/xorg-server.
lazerus#

This happens if I do a portinstall or a simple make. libGL is not installed.

Last edited by Agrapha; 12-15-08 at 08:49 PM. Reason: spelling error
Agrapha is offline   Reply With Quote
Old 12-15-08, 10:28 PM   #5
tut
Registered User
 
tut's Avatar
 
Join Date: Dec 2008
Location: Kyiv/Ukraine
Posts: 13
Default Re: FreeBSD 6.2 xorg-server nvidia-settings fail to gmake or make

Quote:
Originally Posted by Agrapha View Post
glxcmds.c:46:26: GL/glxtokens.h: No such file or directory
Try
Code:
portupgrade -f x11/glproto
And btw, you'd better ask for help with such issues in freebsd-x11@ mailing list.
__________________
[nvidia-driver-180.16 @ FreeBSD 7.1-PRERELEASE @ GeForce Go 6100]
tut is offline   Reply With Quote
Old 12-16-08, 10:29 AM   #6
Agrapha
Registered User
 
Join Date: Dec 2007
Posts: 10
Default Re: FreeBSD 6.2 xorg-server nvidia-settings fail to gmake or make

Tut you are a genius. The drivers and the xorg-server built perfectly. I simply upgraded my glproto package like you said...
Code:
portupgrade -f x11/glproto
That did the trick and I love the new driver.
I will sign up to the freebsd-x11@ as well.

Help all the way from the Ukraine?...wow I'll drink a vodka in your honor tonight.
Thank you so much.
Agrapha
Agrapha is offline   Reply With Quote
Old 12-16-08, 01:29 PM   #7
tut
Registered User
 
tut's Avatar
 
Join Date: Dec 2008
Location: Kyiv/Ukraine
Posts: 13
Default Re: FreeBSD 6.2 xorg-server nvidia-settings fail to gmake or make

Quote:
Originally Posted by Agrapha View Post
Help all the way from the Ukraine?...wow I'll drink a vodka in your honor tonight.
Vodka is a national alcoholic drink of our northern neighbors. We have horilka (it is stronger usually ).
__________________
[nvidia-driver-180.16 @ FreeBSD 7.1-PRERELEASE @ GeForce Go 6100]
tut 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
FreeBSD 9 Release with Nvidia 550 Ti configuration issues goga NVIDIA FreeBSD 0 05-23-12 08:34 AM
295.40 Drivers and Xorg 1:7.6+12 HIGH cpu usage norrland NVIDIA Linux 2 05-13-12 09:11 AM

All times are GMT -5. The time now is 02:11 PM.


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