View Single Post
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