xdriinfo-1.0.1_1 fails with "- xdriinfo.c:62: error: syntax error before "GLubyte""

Anurag Jain anuragj at fastmail.fm
Fri May 4 19:52:57 UTC 2007


I am trying to move to Xorg 7.2 from git repository.
As part of the xorg - make all process -
I am getting the following error for xdriinfo package.

xdriinfo.c:62: error: syntax error before "GLubyte"
xdriinfo.c:63: error: syntax error before "GLubyte"

my /etc/make.conf has
WITH_NVIDIA_GL=yes



-------------------------------------

===>   Returning to build of xdriinfo-1.0.1_1
===>   xdriinfo-1.0.1_1 depends on file:
/usr/local/libdata/pkgconfig/x11.pc - found
===>   xdriinfo-1.0.1_1 depends on executable in : pkg-config - found
===>   xdriinfo-1.0.1_1 depends on shared library: GL.1 - found
===>  Configuring for xdriinfo-1.0.1_1
configure: WARNING: you should use --build, --host, --target
checking for a BSD-compatible install... /usr/bin/install -c -o root -g
wheel
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles...
no
checking for i386-portbld-freebsd6.2-gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of cc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c -o root -g
wheel
checking return type of signal handlers... void
checking for i386-portbld-freebsd6.2-pkg-config... no
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for XDRIINFO... yes
checking for library containing glXGetProcAddressARB... -lGL
checking build system type... i386-portbld-freebsd6.2
checking host system type... i386-portbld-freebsd6.2
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
===>  Building for xdriinfo-1.0.1_1
make  all-am
if cc -DHAVE_CONFIG_H -I. -I. -I.    -D_THREAD_SAFE -I/usr/local/include
-O2 -fno-strict-aliasing -pipe -MT xdriinfo-xdriinfo.o -MD -MP -MF
".deps/xdriinfo-xdriinfo.Tpo" -c -o xdriinfo-xdriinfo.o `test -f
'xdriinfo.c' || echo './'`xdriinfo.c;  then mv -f
".deps/xdriinfo-xdriinfo.Tpo" ".deps/xdriinfo-xdriinfo.Po"; else rm -f
".deps/xdriinfo-xdriinfo.Tpo"; exit 1; fi
xdriinfo.c:26:20: GL/glx.h: No such file or directory
xdriinfo.c:27:23: GL/glxext.h: No such file or directory
xdriinfo.c: In function `main':
xdriinfo.c:62: error: syntax error before "GLubyte"
xdriinfo.c:63: error: syntax error before "GLubyte"
*** Error code 1

Stop in /usr/ports/x11/xdriinfo/work/xdriinfo-1.0.1.
*** Error code 1

Stop in /usr/ports/x11/xdriinfo/work/xdriinfo-1.0.1.
*** Error code 1

Stop in /usr/ports/x11/xdriinfo.
*** Error code 1

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

Stop in /usr/ports/x11/xorg.
-- 
  Anurag Jain
  anuragj at fastmail.fm

-- 
http://www.fastmail.fm - Choose from over 50 domains or use your own



More information about the freebsd-stable mailing list