[Openchrome-users] Building openchrome with XFree86-4.6.0.0

Mr E_T troll
Wed May 17 00:47:05 PDT 2006


I have a problem building openchrome with XFree86
First it could not find drm.h so I copied it from -
lib/GL/dri/drm/drm.h to the unichrome dir.

now I get -

rm -f via_driver.o
gcc -O2 -fno-strength-reduce -ansi -Wall -Wpointer-arith -I. -I. \
-I/home/conon/projects/Builds/XFree86-4.6.0.0/programs/Xserver/hw/xfree86/common \
-I/home/conon/projects/Builds/XFree86-4.6.0.0/programs/Xserver/hw/xfree86/os-support \
-I/home/conon/projects/Builds/XFree86-4.6.0.0/programs/Xserver/mfb \
-I/home/conon/projects/Builds/XFree86-4.6.0.0/programs/Xserver/mi \
-I/home/conon/projects/Builds/XFree86-4.6.0.0/programs/Xserver/cfb \
-I/home/conon/projects/Builds/XFree86-4.6.0.0/programs/Xserver/hw/xfree86/xaa \
-I/home/conon/projects/Builds/XFree86-4.6.0.0/programs/Xserver/hw/xfree86/xf1bpp \
-I/home/conon/projects/Builds/XFree86-4.6.0.0/programs/Xserver/hw/xfree86/xf4bpp \
-I/home/conon/projects/Builds/XFree86-4.6.0.0/programs/Xserver/hw/xfree86/xf24_32bpp \
-I/home/conon/projects/Builds/XFree86-4.6.0.0/programs/Xserver/Xext \
-I/home/conon/projects/Builds/XFree86-4.6.0.0/programs/Xserver/hw/xfree86/vgahw \
-I/home/conon/projects/Builds/XFree86-4.6.0.0/programs/Xserver/hw/xfree86/ramdac \
-I/home/conon/projects/Builds/XFree86-4.6.0.0/programs/Xserver/hw/xfree86/ddc \
-I/home/conon/projects/Builds/XFree86-4.6.0.0/programs/Xserver/hw/xfree86/i2c \
-I/home/conon/projects/Builds/XFree86-4.6.0.0/programs/Xserver/hw/xfree86/rac \
-I/home/conon/projects/Builds/XFree86-4.6.0.0/programs/Xserver/hw/xfree86/int10 \
-I/home/conon/projects/Builds/XFree86-4.6.0.0/programs/Xserver/render \
-I/home/conon/projects/Builds/XFree86-4.6.0.0/programs/Xserver/include \
-I/home/conon/projects/Builds/XFree86-4.6.0.0/exports/include/X11 \
-I/home/conon/projects/Builds/XFree86-4.6.0.0/include/fonts \
-I/home/conon/projects/Builds/XFree86-4.6.0.0/include/extensions \
-I/home/conon/projects/Builds/XFree86-4.6.0.0/programs/Xserver/hw/xfree86/vbe \
-I/home/conon/projects/Builds/XFree86-4.6.0.0/programs/Xserver/hw/xfree86/shadowfb \
-I/home/conon/projects/Builds/XFree86-4.6.0.0/programs/Xserver/fb \
-I/home/conon/projects/Builds/XFree86-4.6.0.0/programs/Xserver/GL/dri \
-I/home/conon/projects/Builds/XFree86-4.6.0.0/lib/GL/dri \
-I/home/conon/projects/Builds/XFree86-4.6.0.0/include \
-I/home/conon/projects/Builds/XFree86-4.6.0.0/exports/include -Dlinux -D__i386__ \
-D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE \
-D_GNU_SOURCE -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP -DXCSECURITY -DXSYNC \
-DXF86BIGFONT -DDPMSExtension -DBIGREQS -DPANORAMIX -DRENDER -DRANDR -DRES -DPIXPRIV \
-DNDEBUG -DNEED_STRLCAT -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH \
-DXFree86LOADER -DXFree86Server -DSMART_SCHEDULE -DBUILDDEBUG \
-DX_BYTE_ORDER=X_LITTLE_ENDIAN -DFUNCPROTO=15 -DNARROWPROTO -DIN_MODULE -DXFree86Module \
-DGLXEXT -DXF86DRI -DGLX_DIRECT_RENDERING -DGLX_USE_DLOPEN -DGLX_USE_MESA \
-DX_NEED_XVPRIV_H -DX_USE_REGION_NULL -c via_driver.c
via_driver.c:406: error: conflicting types for 'VIASetup'
via_driver.c:384: error: previous declaration of 'VIASetup' was here
via_driver.c:406: error: conflicting types for 'VIASetup'
via_driver.c:384: error: previous declaration of 'VIASetup' was here
via_driver.c:384: warning: 'VIASetup' used but never defined
via_driver.c:406: warning: 'VIASetup' defined but not used
make: *** [via_driver.o] Error 1

-- 
regs MR E_T
_______________________
\                      \
 \   OOHH I hate TYPOS  \
  \                      \
   ~~~~~~~~~~~~~~~~~~~~~~~~



More information about the Openchrome-users mailing list