[Bug 2883] New: server GLX extension does not build on FreeBSD 5.3

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Apr 2 10:59:54 PST 2005


Please do not reply to this email: if you want to comment on the bug, go to    
       
the URL shown below and enter yourcomments there.     
   
https://bugs.freedesktop.org/show_bug.cgi?id=2883          
     
           Summary: server GLX extension does not build on FreeBSD 5.3
           Product: xorg
           Version: CVS_head
          Platform: PC
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Server/general
        AssignedTo: xorg-bugzilla-noise at freedesktop.org
        ReportedBy: bremner at unb.ca


Environment: FreeBSD 5.3; system compiler gcc 3.4.2
Source: CVS HEAD as of April 1.

Compilation fails in programs/Xserver/GL/glx compiling glxcontextmodes.c

cc -O2 -g -ansi -pedantic -Wno-system-headers -Dasm=__asm 	-Wall -Wpointer-arith
-Wstrict-prototypes 			  -Wmissing-prototypes -Wmissing-declarations 			 
-Wredundant-decls -Wnested-externs -Wundef  -fPIC 
-I../../../../programs/Xserver/GL/glx -I../../../../programs/Xserver/GL/include
-I../../../../programs/Xserver/include -I../../../../exports/include
-I../../../../extras/Mesa/include                
-I../../../../exports/include/X11 -I../../../../programs/Xserver/mi            
    -I../../../../include/extensions -I../../../../include/fonts
-I../../../../lib/GL/include                
-I../../../../programs/Xserver/hw/xfree86  -I../../../..
-I../../../../exports/include -I/usr/Xorg-current/include  -DCSRG_BASED -DSHAPE
-DXINPUT -DXKB -DLBX -DXAPPGROUP 	-DXCSECURITY -DTOGCUP  	-DXF86BIGFONT
-DDPMSExtension 	 -DPIXPRIV -DPANORAMIX 	 -DRENDER -DRANDR 	-DXFIXES -DDAMAGE
-DCOMPOSITE -DXEVIE 	 -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH 			
-DXFreeXDGA -DXvExtension 				-DXFree86LOADER -DDLOPEN_HACK -DXFree86Server 			
-DXF86VIDMODE 				-DXvMCExtension 				-DSMART_SCHEDULE 				-DBUILDDEBUG
-DXResExtension 				-DX_BYTE_ORDER=X_LITTLE_ENDIAN 			
-DXORG_VERSION_CURRENT="(((6) * 10000000) + ((8) * 100000) + ((1) * 1000) + 99)"
-DNDEBUG   -DFUNCPROTO=15 -DNARROWPROTO  -DIN_MODULE -DXFree86Module -DGLXEXT
-DXF86DRI -DGLX_DIRECT_RENDERING -DGLX_USE_DLOPEN -DGLX_USE_MESA     -c
glcontextmodes.c
In file included from glcontextmodes.c:43:
../../../../exports/include/GL/glx.h:39:22: X11/Xlib.h: No such file or directory
../../../../exports/include/GL/glx.h:40:23: X11/Xutil.h: No such file or directory
In file included from glcontextmodes.c:43:
../../../../exports/include/GL/glx.h:70: error: syntax error before '*' token
../../../../exports/include/GL/glx.h:70: error: syntax error before '*' token
[many errors snipped; see attached log]

If I add 

#define BuildGlxExt             NO

to host.def, then the server seems to build OK.

Here is the rest of host.def

#define ProjectRoot /usr/Xorg-current
#define NothingOutsideProjectRoot YES
#define DefaultGcc2i386Opt -O2 -g
#define HasFreeType2 YES
#define HasFontconfig YES
#define XnestServer NO
#define XVirtualFramebufferServer NO
#define XprtServer NO
#define BuildFontServer NO
#define BuildFreeType NO
#define BuildXTrueType NO
#define Freetype2BuildDefines -DTT_CONFIG_OPTION_BYTECODE_INTERPRETER
#define BuildFonts NO
#define BuildServersOnly YES          
     
     
--           
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email         
     
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the xorg-bugzilla-noise mailing list