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

Bug#389335: compile problem



Hi there,

since the family would be realy happy if they could watch TV again ;-) on
our VIA EPIA-based MythTV box, I finally tried to compile the via driver
from source. Compilation, however, fails, no matter whether or not
Starling's patch is applied (log see below). So a working binary package
would be highly appreciated...

Thanx for all your efforts --

Torsten

--------8<--------

dpkg-buildpackage: source package is xserver-xorg-video-via
dpkg-buildpackage: source version is 1:0.2.1-4
dpkg-buildpackage: source changed by David Nusinow <dnusinow@debian.org>
dpkg-buildpackage: host architecture i386
dpkg-buildpackage: source version without epoch 0.2.1-4
 fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp
rm -f config.cache config.log config.status
rm -f */config.cache */config.log */config.status
rm -f conftest* */conftest*
rm -rf autom4te.cache */autom4te.cache
rm -rf obj-*
dh_clean
 debian/rules build
dh_testdir
test -d obj-i486-linux-gnu || mkdir obj-i486-linux-gnu
cd obj-i486-linux-gnu && \
	../configure --prefix=/usr --mandir=\${prefix}/share/man \
	             --infodir=\${prefix}/share/info --build=i486-linux-gnu
--disable-static \
	             CFLAGS="-Wall -g -O2"
checking for a BSD-compatible install... /usr/bin/install -c
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 build system type... i486-pc-linux-gnu
checking host system type... i486-pc-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
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 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 ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) 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
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries...
yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries...
yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
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 if RANDR is defined... yes
checking if RENDER is defined... yes
checking if XF86DRI is defined... yes
checking if DPMSExtension is defined... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... 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  usability... no
checking  presence... no
checking for ... no
checking whether to include DRI support... yes
checking for DRI... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking whether to build XvMC driver support... 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: executing depfiles commands
cd obj-i486-linux-gnu && /usr/bin/make
make[1]: Entering directory
`/usr/src/xserver-xorg-video-via-0.2.1/obj-i486-linux-gnu'
/usr/bin/make  all-recursive
make[2]: Entering directory
`/usr/src/xserver-xorg-video-via-0.2.1/obj-i486-linux-gnu'
Making all in src
make[3]: Entering directory
`/usr/src/xserver-xorg-video-via-0.2.1/obj-i486-linux-gnu/src'
Making all in xvmc
make[4]: Entering directory
`/usr/src/xserver-xorg-video-via-0.2.1/obj-i486-linux-gnu/src/xvmc'
if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I../../../src/xvmc -I../..    -DXFree86Server -DIN_MODULE -DXFree86Module
-DXFree86LOADER -I/usr/include/xorg -I/usr/include/drm  
-I/usr/include/drm -I/usr/include/X11/dri   -I../../../src -DTRUE=1
-DFALSE=0 -Wall -g -O2 -MT driDrawable.lo -MD -MP -MF
".deps/driDrawable.Tpo" -c -o driDrawable.lo
../../../src/xvmc/driDrawable.c; \
	then mv -f ".deps/driDrawable.Tpo" ".deps/driDrawable.Plo"; else rm -f
".deps/driDrawable.Tpo"; exit 1; fi
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I../../../src/xvmc -I../.. -DXFree86Server
-DIN_MODULE -DXFree86Module -DXFree86LOADER -I/usr/include/xorg
-I/usr/include/drm -I/usr/include/drm -I/usr/include/X11/dri
-I../../../src -DTRUE=1 -DFALSE=0 -Wall -g -O2 -MT driDrawable.lo -MD -MP
-MF .deps/driDrawable.Tpo -c ../../../src/xvmc/driDrawable.c  -fPIC -DPIC
-o .libs/driDrawable.o
if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I../../../src/xvmc -I../..    -DXFree86Server -DIN_MODULE -DXFree86Module
-DXFree86LOADER -I/usr/include/xorg -I/usr/include/drm  
-I/usr/include/drm -I/usr/include/X11/dri   -I../../../src -DTRUE=1
-DFALSE=0 -Wall -g -O2 -MT viaLowLevel.lo -MD -MP -MF
".deps/viaLowLevel.Tpo" -c -o viaLowLevel.lo
../../../src/xvmc/viaLowLevel.c; \
	then mv -f ".deps/viaLowLevel.Tpo" ".deps/viaLowLevel.Plo"; else rm -f
".deps/viaLowLevel.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I../../../src/xvmc -I../.. -DXFree86Server
-DIN_MODULE -DXFree86Module -DXFree86LOADER -I/usr/include/xorg
-I/usr/include/drm -I/usr/include/drm -I/usr/include/X11/dri
-I../../../src -DTRUE=1 -DFALSE=0 -Wall -g -O2 -MT viaLowLevel.lo -MD -MP
-MF .deps/viaLowLevel.Tpo -c ../../../src/xvmc/viaLowLevel.c  -fPIC -DPIC
-o .libs/viaLowLevel.o
if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I../../../src/xvmc -I../..    -DXFree86Server -DIN_MODULE -DXFree86Module
-DXFree86LOADER -I/usr/include/xorg -I/usr/include/drm  
-I/usr/include/drm -I/usr/include/X11/dri   -I../../../src -DTRUE=1
-DFALSE=0 -Wall -g -O2 -MT viaXvMC.lo -MD -MP -MF ".deps/viaXvMC.Tpo" -c
-o viaXvMC.lo ../../../src/xvmc/viaXvMC.c; \
	then mv -f ".deps/viaXvMC.Tpo" ".deps/viaXvMC.Plo"; else rm -f
".deps/viaXvMC.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I../../../src/xvmc -I../.. -DXFree86Server
-DIN_MODULE -DXFree86Module -DXFree86LOADER -I/usr/include/xorg
-I/usr/include/drm -I/usr/include/drm -I/usr/include/X11/dri
-I../../../src -DTRUE=1 -DFALSE=0 -Wall -g -O2 -MT viaXvMC.lo -MD -MP -MF
.deps/viaXvMC.Tpo -c ../../../src/xvmc/viaXvMC.c  -fPIC -DPIC -o
.libs/viaXvMC.o
if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I../../../src/xvmc -I../..    -DXFree86Server -DIN_MODULE -DXFree86Module
-DXFree86LOADER -I/usr/include/xorg -I/usr/include/drm  
-I/usr/include/drm -I/usr/include/X11/dri   -I../../../src -DTRUE=1
-DFALSE=0 -Wall -g -O2 -MT xf86dri.lo -MD -MP -MF ".deps/xf86dri.Tpo" -c
-o xf86dri.lo ../../../src/xvmc/xf86dri.c; \
	then mv -f ".deps/xf86dri.Tpo" ".deps/xf86dri.Plo"; else rm -f
".deps/xf86dri.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I../../../src/xvmc -I../.. -DXFree86Server
-DIN_MODULE -DXFree86Module -DXFree86LOADER -I/usr/include/xorg
-I/usr/include/drm -I/usr/include/drm -I/usr/include/X11/dri
-I../../../src -DTRUE=1 -DFALSE=0 -Wall -g -O2 -MT xf86dri.lo -MD -MP -MF
.deps/xf86dri.Tpo -c ../../../src/xvmc/xf86dri.c  -fPIC -DPIC -o
.libs/xf86dri.o
/bin/sh ../../libtool --tag=CC --mode=link gcc -DXFree86Server -DIN_MODULE
-DXFree86Module -DXFree86LOADER -I/usr/include/xorg -I/usr/include/drm  
-I/usr/include/drm -I/usr/include/X11/dri   -I../../../src -DTRUE=1
-DFALSE=0 -Wall -g -O2   -o libviaXvMC.la -rpath /usr/lib -ldrm  
-version-number 1:0:0 driDrawable.lo viaLowLevel.lo viaXvMC.lo xf86dri.lo
gcc -shared  .libs/driDrawable.o .libs/viaLowLevel.o .libs/viaXvMC.o
.libs/xf86dri.o  /usr/lib/libdrm.so  -Wl,-soname -Wl,libviaXvMC.so.1 -o
.libs/libviaXvMC.so.1.0.0
(cd .libs && rm -f libviaXvMC.so.1 && ln -s libviaXvMC.so.1.0.0
libviaXvMC.so.1)
(cd .libs && rm -f libviaXvMC.so && ln -s libviaXvMC.so.1.0.0 libviaXvMC.so)
creating libviaXvMC.la
(cd .libs && rm -f libviaXvMC.la && ln -s ../libviaXvMC.la libviaXvMC.la)
if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I../../../src/xvmc -I../..    -DXFree86Server -DIN_MODULE -DXFree86Module
-DXFree86LOADER -I/usr/include/xorg -I/usr/include/drm  
-I/usr/include/drm -I/usr/include/X11/dri   -I../../../src -DTRUE=1
-DFALSE=0 -Wall -g -O2 -MT viaLowLevelPro.lo -MD -MP -MF
".deps/viaLowLevelPro.Tpo" -c -o viaLowLevelPro.lo
../../../src/xvmc/viaLowLevelPro.c; \
	then mv -f ".deps/viaLowLevelPro.Tpo" ".deps/viaLowLevelPro.Plo"; else rm
-f ".deps/viaLowLevelPro.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I../../../src/xvmc -I../.. -DXFree86Server
-DIN_MODULE -DXFree86Module -DXFree86LOADER -I/usr/include/xorg
-I/usr/include/drm -I/usr/include/drm -I/usr/include/X11/dri
-I../../../src -DTRUE=1 -DFALSE=0 -Wall -g -O2 -MT viaLowLevelPro.lo -MD
-MP -MF .deps/viaLowLevelPro.Tpo -c ../../../src/xvmc/viaLowLevelPro.c 
-fPIC -DPIC -o .libs/viaLowLevelPro.o
/bin/sh ../../libtool --tag=CC --mode=link gcc -DXFree86Server -DIN_MODULE
-DXFree86Module -DXFree86LOADER -I/usr/include/xorg -I/usr/include/drm  
-I/usr/include/drm -I/usr/include/X11/dri   -I../../../src -DTRUE=1
-DFALSE=0 -Wall -g -O2   -o libviaXvMCPro.la -rpath /usr/lib -ldrm  
-version-number 1:0:0 driDrawable.lo viaLowLevelPro.lo viaXvMC.lo
xf86dri.lo
gcc -shared  .libs/driDrawable.o .libs/viaLowLevelPro.o .libs/viaXvMC.o
.libs/xf86dri.o  /usr/lib/libdrm.so  -Wl,-soname -Wl,libviaXvMCPro.so.1 -o
.libs/libviaXvMCPro.so.1.0.0
(cd .libs && rm -f libviaXvMCPro.so.1 && ln -s libviaXvMCPro.so.1.0.0
libviaXvMCPro.so.1)
(cd .libs && rm -f libviaXvMCPro.so && ln -s libviaXvMCPro.so.1.0.0
libviaXvMCPro.so)
creating libviaXvMCPro.la
(cd .libs && rm -f libviaXvMCPro.la && ln -s ../libviaXvMCPro.la
libviaXvMCPro.la)
make[4]: Leaving directory
`/usr/src/xserver-xorg-video-via-0.2.1/obj-i486-linux-gnu/src/xvmc'
make[4]: Entering directory
`/usr/src/xserver-xorg-video-via-0.2.1/obj-i486-linux-gnu/src'
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I../../src -I..    -DXFree86Server -DIN_MODULE -DXFree86Module
-DXFree86LOADER -I/usr/include/xorg -I/usr/include/drm  
-I/usr/include/drm -I/usr/include/X11/dri   -Wall -g -O2 -MT via_3d.lo -MD
-MP -MF ".deps/via_3d.Tpo" -c -o via_3d.lo ../../src/via_3d.c; \
	then mv -f ".deps/via_3d.Tpo" ".deps/via_3d.Plo"; else rm -f
".deps/via_3d.Tpo"; exit 1; fi
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -DXFree86Server -DIN_MODULE
-DXFree86Module -DXFree86LOADER -I/usr/include/xorg -I/usr/include/drm
-I/usr/include/drm -I/usr/include/X11/dri -Wall -g -O2 -MT via_3d.lo -MD
-MP -MF .deps/via_3d.Tpo -c ../../src/via_3d.c  -fPIC -DPIC -o
.libs/via_3d.o
../../src/via_3d.c: In function 'via3DEmitQuad':
../../src/via_3d.c:326: warning: dereferencing type-punned pointer will
break strict-aliasing rules
../../src/via_3d.c:327: warning: dereferencing type-punned pointer will
break strict-aliasing rules
../../src/via_3d.c:328: warning: dereferencing type-punned pointer will
break strict-aliasing rules
../../src/via_3d.c:334: warning: dereferencing type-punned pointer will
break strict-aliasing rules
../../src/via_3d.c:335: warning: dereferencing type-punned pointer will
break strict-aliasing rules
../../src/via_3d.c:336: warning: dereferencing type-punned pointer will
break strict-aliasing rules
../../src/via_3d.c:342: warning: dereferencing type-punned pointer will
break strict-aliasing rules
../../src/via_3d.c:343: warning: dereferencing type-punned pointer will
break strict-aliasing rules
../../src/via_3d.c:344: warning: dereferencing type-punned pointer will
break strict-aliasing rules
../../src/via_3d.c:350: warning: dereferencing type-punned pointer will
break strict-aliasing rules
../../src/via_3d.c:351: warning: dereferencing type-punned pointer will
break strict-aliasing rules
../../src/via_3d.c:352: warning: dereferencing type-punned pointer will
break strict-aliasing rules
../../src/via_3d.c:358: warning: dereferencing type-punned pointer will
break strict-aliasing rules
../../src/via_3d.c:359: warning: dereferencing type-punned pointer will
break strict-aliasing rules
../../src/via_3d.c:360: warning: dereferencing type-punned pointer will
break strict-aliasing rules
../../src/via_3d.c:366: warning: dereferencing type-punned pointer will
break strict-aliasing rules
../../src/via_3d.c:367: warning: dereferencing type-punned pointer will
break strict-aliasing rules
../../src/via_3d.c:368: warning: dereferencing type-punned pointer will
break strict-aliasing rules
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I../../src -I..    -DXFree86Server -DIN_MODULE -DXFree86Module
-DXFree86LOADER -I/usr/include/xorg -I/usr/include/drm  
-I/usr/include/drm -I/usr/include/X11/dri   -Wall -g -O2 -MT via_accel.lo
-MD -MP -MF ".deps/via_accel.Tpo" -c -o via_accel.lo
../../src/via_accel.c; \
	then mv -f ".deps/via_accel.Tpo" ".deps/via_accel.Plo"; else rm -f
".deps/via_accel.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -DXFree86Server -DIN_MODULE
-DXFree86Module -DXFree86LOADER -I/usr/include/xorg -I/usr/include/drm
-I/usr/include/drm -I/usr/include/X11/dri -Wall -g -O2 -MT via_accel.lo
-MD -MP -MF .deps/via_accel.Tpo -c ../../src/via_accel.c  -fPIC -DPIC -o
.libs/via_accel.o
In file included from /usr/include/inttypes.h:28,
                 from /usr/include/GL/glext.h:3194,
                 from /usr/include/GL/gl.h:2149,
                 from /usr/include/GL/glxint.h:28,
                 from ../../src/via_driver.h:64,
                 from ../../src/via_accel.c:38:
/usr/include/stdint.h:52: error: conflicting types for 'CARD32'
/usr/include/X11/Xmd.h:152: error: previous declaration of 'CARD32' was here
../../src/via_accel.c: In function 'viaDumpDMA':
../../src/via_accel.c:53: warning: initialization from incompatible
pointer type
../../src/via_accel.c:57: error: invalid operands to binary -
../../src/via_accel.c:58: error: invalid operands to binary -
../../src/via_accel.c: In function 'viaFlushPCI':
../../src/via_accel.c:68: warning: initialization from incompatible
pointer type
../../src/via_accel.c: In function 'viaSetupCBuffer':
../../src/via_accel.c:181: warning: assignment from incompatible pointer type
make[4]: *** [via_accel.lo] Error 1
make[4]: Leaving directory
`/usr/src/xserver-xorg-video-via-0.2.1/obj-i486-linux-gnu/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/usr/src/xserver-xorg-video-via-0.2.1/obj-i486-linux-gnu/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/usr/src/xserver-xorg-video-via-0.2.1/obj-i486-linux-gnu'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/usr/src/xserver-xorg-video-via-0.2.1/obj-i486-linux-gnu'
make: *** [build-stamp] Error 2




Reply to: