[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

make Xorg driver fails - missing Xf86Resources.h



Hello I have a SiS 671 video card and have downloaded a source driver to see if I can make it work ... I have installed a bunch of dependencies but the 'make config' command fails complaining abou a missing xf86Resources.h file

The below output of the make attempt:

$./configure                     
checking for a BSD-compatible install... /usr/bin/install -c                   
checking whether build environment is sane... yes                              
checking for a thread-safe mkdir -p... /bin/mkdir -p                           
checking for gawk... gawk                                                      
checking whether make sets $(MAKE)... yes                                      
checking whether to enable maintainer-specific portions of Makefiles... no     
checking build system type... x86_64-unknown-linux-gnu                         
checking host system type... x86_64-unknown-linux-gnu                          
checking for style of include used by make... GNU                              
checking for gcc... gcc                                                        
checking whether the C compiler works... yes                                   
checking for C compiler default output file name... a.out                      
checking for suffix of executables...                                          
checking whether we are cross compiling... no                                  
checking for suffix of object files... o                                       
checking whether we are using the GNU C compiler... yes                        
checking whether gcc accepts -g... yes                                         
checking for gcc option to accept ISO C89... none needed                       
checking dependency style of gcc... gcc3                                       
checking for a sed that does not truncate output... /bin/sed                   
checking for grep that handles long lines and -e... /bin/grep                  
checking for egrep... /bin/grep -E                                             
checking for fgrep... /bin/grep -F                                             
checking for ld used by gcc... /usr/bin/ld                                     
checking if the linker (/usr/bin/ld) is GNU ld... yes                          
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B          
checking the name lister (/usr/bin/nm -B) interface... BSD nm                  
checking whether ln -s works... yes                                            
checking the maximum length of command line arguments... 1572864               
checking whether the shell understands some XSI constructs... yes              
checking whether the shell understands "+="... yes                             
checking for /usr/bin/ld option to reload object files... -r                   
checking for objdump... objdump                                                
checking how to recognize dependent libraries... pass_all                      
checking for ar... ar                                                          
checking for strip... strip                                                    
checking for ranlib... ranlib                                                  
checking command to parse /usr/bin/nm -B output from gcc object... ok          
checking how to run the C preprocessor... gcc -E                               
checking for ANSI C header files... yes                                        
checking for sys/types.h... yes                                                
checking for sys/stat.h... yes                                                 
checking for stdlib.h... yes                                                   
checking for string.h... yes                                                   
checking for memory.h... yes                                                   
checking for strings.h... yes                                                  
checking for inttypes.h... yes                                                 
checking for stdint.h... yes                                                   
checking for unistd.h... yes                                                   
checking for dlfcn.h... yes                                                    
checking for objdir... .libs                                                   
checking if gcc supports -fno-rtti -fno-exceptions... no                       
checking for gcc option to produce PIC... -fPIC -DPIC                          
checking if gcc PIC flag -fPIC -DPIC works... yes                              
checking if gcc static flag -static works... yes                               
checking if gcc supports -c -o file.o... yes                                   
checking if gcc supports -c -o file.o... (cached) yes                          
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes                                                                   
checking whether -lc should be explicitly linked in... no                      
checking dynamic linker characteristics... GNU/Linux ld.so                     
checking how to hardcode library paths into programs... immediate              
checking whether stripping libraries is possible... yes                        
checking if libtool supports shared libraries... yes                           
checking whether to build shared libraries... yes                              
checking whether to build static libraries... no                               
checking for gcc... (cached) gcc                                               
checking whether we are using the GNU C compiler... (cached) yes               
checking whether gcc accepts -g... (cached) yes                                
checking for gcc option to accept ISO C89... (cached) none needed              
checking dependency style of gcc... (cached) gcc3                              
checking for cpp... /usr/bin/cpp                                               
checking if /usr/bin/cpp requires -undef... yes                                
checking if /usr/bin/cpp requires -traditional... yes                          
checking for pkg-config... /usr/bin/pkg-config                                 
checking pkg-config is at least version 0.9.0... yes
checking if XINERAMA is defined... yes
checking if RANDR is defined... yes
checking if RENDER is defined... yes
checking if XV is defined... yes
checking if XF86MISC is defined... no
checking if DPMSExtension is defined... yes
checking for XORG... yes
checking for ANSI C header files... (cached) yes
checking for /usr/include/xorg/dri.h... yes
checking for /usr/include/xorg/sarea.h... yes
checking for /usr/include/xorg/dristruct.h... yes
checking whether to include DRI support... yes
checking for DRI... yes
checking for NONE/share/sgml/X11/defs.ent... no
checking for linuxdoc... /usr/bin/linuxdoc
checking for ps2pdf... /usr/bin/ps2pdf
checking Whether to build documentation... no
checking Whether to build pdf documentation... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/xvmc/Makefile
config.status: creating man/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands


$ make install

Making install in src                                                          
make[1]: Entrando no diretório `/home/rogerio/xf86-video-sis-imedia/src'       
/bin/bash ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1   -I/usr/include/drm -I/usr/include/X11/dri   -g -O2 -MT init.lo -MD -MP -MF .deps/init.Tpo -c -o init.lo init.c                                                                
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1 -I/usr/include/drm -I/usr/include/X11/dri -g -O2 -MT init.lo -MD -MP -MF .deps/init.Tpo -c init.c  -fPIC -DPIC -o .libs/init.o 
In file included from init.h:60,                                               
                 from init.c:63:                                               
sis.h:63:24: error: xf86_ansic.h: Arquivo ou diretório não encontrado     (file not found)     
sis.h:68:27: error: xf86Resources.h: Arquivo ou diretório não encontrado  (file not found)    
  
In file included from init.h:60,                                               
                 from init.c:63:
sis.h:988: error: expected specifier-qualifier-list before ‘pciVideoPtr’
init.c: In function ‘SiS_SetPitchCRT1’:
init.c:3335: error: ‘struct <anonymous>’ has no member named ‘scrnPitch’
init.c: In function ‘SiS_SetPitchCRT2’:
init.c:3347: error: ‘struct <anonymous>’ has no member named ‘scrnPitch’
init.c:3350: error: ‘struct <anonymous>’ has no member named ‘VGAEngine’
init.c: In function ‘SiS_SetPitch’:
init.c:3365: error: ‘struct <anonymous>’ has no member named ‘VBFlags2’
init.c:3366: error: ‘struct <anonymous>’ has no member named ‘VGAEngine’
init.c:3368: error: ‘struct <anonymous>’ has no member named ‘VGAEngine’
init.c:3374: error: ‘struct <anonymous>’ has no member named ‘VBFlags’
init.c:3378: error: ‘struct <anonymous>’ has no member named ‘VBFlags’
init.c: In function ‘SiSBIOSSetMode’:
init.c:3589: error: ‘struct <anonymous>’ has no member named ‘VBFlags’
init.c:3600: error: ‘struct <anonymous>’ has no member named ‘VBFlags’
init.c: In function ‘SiSBIOSSetModeCRT2’:
init.c:3620: error: ‘struct <anonymous>’ has no member named ‘entityPrivate’
init.c:3633: error: ‘struct <anonymous>’ has no member named ‘VBFlags’
init.c:3639: error: ‘struct <anonymous>’ has no member named ‘VBFlags’
init.c:3661: error: ‘struct <anonymous>’ has no member named ‘DualHeadMode’
init.c: In function ‘SiSBIOSSetModeCRT1’:
init.c:3799: error: ‘struct <anonymous>’ has no member named ‘entityPrivate’
init.c:3806: error: ‘struct <anonymous>’ has no member named ‘VBFlags’
init.c:3888: error: ‘struct <anonymous>’ has no member named ‘DualHeadMode’
init.c:3904: error: ‘struct <anonymous>’ has no member named ‘DualHeadMode’
make[1]: ** [init.lo] Erro 1
make[1]: Saindo do diretório `/home/rogerio/xf86-video-sis-imedia/src'
make: ** [install-recursive] Erro 1


-- As seen above the XF86MISC is not defined, but I have the x11proto-xfmisc-dev package installed:

$ aptitude search x11proto

aptitude search x11proto
i A x11proto-bigreqs-dev            - X11 Big Requests extension wire protocol
i A x11proto-composite-dev          - X11 Composite extension wire protocol
i   x11proto-core-dev               - X11 core wire protocol and auxiliary heade
i A x11proto-damage-dev             - X11 Damage extension wire protocol
i A x11proto-dmx-dev                - X11 Distributed Multihead X extension wire
i A x11proto-dri2-dev               - X11 DRI2 extension wire protocol
i A x11proto-fixes-dev              - X11 Fixes extension wire protocol
i   x11proto-fonts-dev              - X11 font extension wire protocol
i   x11proto-gl-dev                 - X11 OpenGL extension wire protocol
i A x11proto-input-dev              - X11 Input extension wire protocol
i A x11proto-kb-dev                 - X11 XKB extension wire protocol
i   x11proto-print-dev              - X11 Printing extension (Xprint) wire proto
i   x11proto-randr-dev              - X11 RandR extension wire protocol
i A x11proto-record-dev             - X11 Record extension wire protocol
i   x11proto-render-dev             - X11 Render extension wire protocol
i A x11proto-resource-dev           - X11 Resource extension wire protocol
i A x11proto-scrnsaver-dev          - X11 Screen Saver extension wire protocol
i   x11proto-video-dev              - X11 Video extension wire protocol
i A x11proto-xcmisc-dev             - X11 XC-Miscellaneous extension wire protoc
i A x11proto-xext-dev               - X11 various extension wire protocol
i A x11proto-xf86bigfont-dev        - X11 Big Fonts extension wire protocol
i   x11proto-xf86dga-dev            - X11 Direct Graphics Access extension wire
i   x11proto-xf86dri-dev            - X11 DRI extension wire protocol
i   x11proto-xf86misc-dev           - X11 XFree86-Miscellaneous extension wire p
i A x11proto-xf86vidmode-dev        - X11 Video Mode extension wire protocol
i   x11proto-xinerama-dev           - X11 Xinerama extension wire protocol

Anyone got any clues as to what is wrong ??

Thanks
Rogerio
 

Reply to: