From: Rogerio Luz Coelho on
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
From: Ron Johnson on
On 2010-03-16 19:29, Rogerio Luz Coelho wrote:
> 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
>
[snip]
>
> $ 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:
[snip]
>
> Anyone got any clues as to what is wrong ??
>

Why didn't you search for xf86Resources.h and xf86_ansic.h?

me(a)haggis:~$ apt-file search xf86_ansic.h
me(a)haggis:~$
me(a)haggis:~$
me(a)haggis:~$ apt-file search xf86Resources.h
xserver-xorg-dev: /usr/include/xorg/xf86Resources.h
me(a)haggis:~$


--
Obsession with "preserving cultural heritage" is a racist impediment
to moral, physical and intellectual progress.


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/4BA03759.3070907(a)cox.net
From: Rogerio Luz Coelho on
Can't find it:

#apt-file -v.v search xf86Resources.h

D: Using cache directory /var/cache/apt/apt-file
D: reading sources file /etc/apt/sources.list
D: got 'deb http://ftp.br.debian.org/debian testing main contrib non-free'
D: kept 'deb http://ftp.br.debian.org/debian testing main contrib non-free'
D: got 'deb http://ftp.br.debian.org/debian-multimedia testing main '
D: kept 'deb http://ftp.br.debian.org/debian-multimedia testing main '
D: regexp: ^(.*?xf86Resources\.h[^\s]*)\s+(\S+)\s*$
D: Search in
\/var\/cache\/apt\/apt\-file\/ftp\.br\.debian\.org_debian_dists_testing_Contents\-amd64\.gz
using zfgrep xf86Resources\.h
D: Search in
\/var\/cache\/apt\/apt\-file\/ftp\.br\.debian\.org_debian\-multimedia_dists_testing_Contents\-amd64\.gz
using zfgrep xf86Resources\.h

#
---------------------

This seems to tell me it didn't find it right?
Tried this also:

root(a)casa:~# locate -b 'xf86Re'

/usr/include/xorg/xf86Rename.h
root(a)casa:~#
-----------------------

So I don't have it installed , anyone knows how to proceed? Why isn't it
installed via x11-dev packages?

Rogerio



2010/3/16 Ron Johnson <ron.l.johnson(a)cox.net>

> On 2010-03-16 19:29, Rogerio Luz Coelho wrote:
>
>> 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
>>
>> [snip]
>
>
>> $ 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:
>>
> [snip]
>
>
>> Anyone got any clues as to what is wrong ??
>>
>>
> Why didn't you search for xf86Resources.h and xf86_ansic.h?
>
> me(a)haggis:~$ apt-file search xf86_ansic.h
> me(a)haggis:~$
> me(a)haggis:~$
> me(a)haggis:~$ apt-file search xf86Resources.h
> xserver-xorg-dev: /usr/include/xorg/xf86Resources.h
> me(a)haggis:~$
>
>
> --
> Obsession with "preserving cultural heritage" is a racist impediment
> to moral, physical and intellectual progress.
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a
> subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
> Archive: http://lists.debian.org/4BA03759.3070907(a)cox.net
>
>
From: Ron Johnson on

Yet I demonstrated that it's in xserver-xorg-dev. However, I'm
running Sid and you're Squeeze.

Maybe you need to upgrade.


On 2010-03-16 21:17, Rogerio Luz Coelho wrote:
> Can't find it:
>
> #apt-file -v.v search xf86Resources.h
>
> D: Using cache directory /var/cache/apt/apt-file
> D: reading sources file /etc/apt/sources.list
> D: got 'deb http://ftp.br.debian.org/debian testing main contrib non-free'
> D: kept 'deb http://ftp.br.debian.org/debian testing main contrib non-free'
> D: got 'deb http://ftp.br.debian.org/debian-multimedia testing main '
> D: kept 'deb http://ftp.br.debian.org/debian-multimedia testing main '
> D: regexp: ^(.*?xf86Resources\.h[^\s]*)\s+(\S+)\s*$
> D: Search in
> \/var\/cache\/apt\/apt\-file\/ftp\.br\.debian\.org_debian_dists_testing_Contents\-amd64\.gz
> using zfgrep xf86Resources\.h
> D: Search in
> \/var\/cache\/apt\/apt\-file\/ftp\.br\.debian\.org_debian\-multimedia_dists_testing_Contents\-amd64\.gz
> using zfgrep xf86Resources\.h
>
> #
> ---------------------
>
> This seems to tell me it didn't find it right?
> Tried this also:
>
> root(a)casa:~# locate -b 'xf86Re'
>
> /usr/include/xorg/xf86Rename.h
> root(a)casa:~#
> -----------------------
>
> So I don't have it installed , anyone knows how to proceed? Why isn't it
> installed via x11-dev packages?
>
> Rogerio
>
>
>
> 2010/3/16 Ron Johnson <ron.l.johnson(a)cox.net>
>
>> On 2010-03-16 19:29, Rogerio Luz Coelho wrote:
>>
>>> 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
>>>
>>> [snip]
>>
>>> $ 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:
>>>
>> [snip]
>>
>>
>>> Anyone got any clues as to what is wrong ??
>>>
>>>
>> Why didn't you search for xf86Resources.h and xf86_ansic.h?
>>
>> me(a)haggis:~$ apt-file search xf86_ansic.h
>> me(a)haggis:~$
>> me(a)haggis:~$
>> me(a)haggis:~$ apt-file search xf86Resources.h
>> xserver-xorg-dev: /usr/include/xorg/xf86Resources.h
>> me(a)haggis:~$
>>

--
Obsession with "preserving cultural heritage" is a racist impediment
to moral, physical and intellectual progress.


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/4BA03E03.20508(a)cox.net
From: Ólafur Jens Sigurðsson on
On Tue, Mar 16, 2010 at 09:27:15PM -0500, Ron Johnson wrote:
>
> Yet I demonstrated that it's in xserver-xorg-dev. However, I'm
> running Sid and you're Squeeze.
>
> Maybe you need to upgrade.

Yup, that file is not available in any package for squeeze.

Cheers, Oli


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/20100317181059.GA5047(a)heima.gjk.dk