Lainaus Bernhard Auzinger <[EMAIL PROTECTED]>:
> On my pure gentoo-amd64 system, DirectFB-0.9.22 compiles without errors. You
>
> should take look at the ebuild (DirectFB-0.9.22). Maybe you forgot to resolve
>
> a dependency. Send the error messages and the version of your gcc and we will
>
> probably be able to help you in a better way.
>
> berny
>
Does it really compile cleanly in pure64 environment? I'd love to be able to
compile it in 64bit mode, but my compile dies with the following (I've applied
the '0.9.21-simd-amd64.patch' from portage). If you have some suggestions, I'm
interested to hear about them
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../lib -I../../lib
-I../../src -I../../systems -D_REENTRANT -Wall -O3 -ffast-math -pipe
-D_GNU_SOURCE -Werror-implicit-function-declaration -MT matrox_crtc2.lo -MD -MP
-MF .deps/matrox_crtc2.Tpo -c matrox_crtc2.c -fPIC -DPIC -o
.libs/matrox_crtc2.o
In file included from /usr/include/linux/fb.h:5,
from ../../systems/fbdev/fbdev.h:31,
from matrox_crtc2.c:54:
/usr/include/asm/types.h:23: error: conflicting types for 'int64_t'
/usr/include/sys/types.h:194: error: previous declaration of 'int64_t' was here
/usr/include/asm/types.h:24: error: conflicting types for 'u_int64_t'
/usr/include/sys/types.h:200: error: previous declaration of 'u_int64_t' was
here
make[3]: *** [matrox_crtc2.lo] Error 1
bash:# gcc -v
Reading specs from /usr/lib/gcc/x86_64-linux/3.4.4/specs
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr
--libexecdir=/usr/lib --with-gxx-include-dir=/usr/include/c++/3.4
--enable-shared --with-system-zlib --enable-nls --without-included-gettext
--program-suffix=-3.4 --enable-__cxa_atexit --enable-libstdcxx-allocator=mt
--enable-clocale=gnu --enable-libstdcxx-debug --enable-java-gc=boehm
--enable-java-awt=gtk --disable-werror x86_64-linux
Thread model: posix
gcc version 3.4.4 20050314 (prerelease) (Debian 3.4.3-12)
--
[email protected] mailing list