When emerging DirectFB with the USE flag "fusion", this compilation error happens : mkdir .libs x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../include -I../../../lib -I../../../include -I../../../lib -DDATADIR=\"/usr/share/directfb-1.0.0\" -DMODULEDIR=\"/usr/lib64/directfb-1.0-0\" -D_REENTRANT -march=native -mtune=native -O2 -pipe -msse3 -fomit-frame-pointer -fstack-protector -D_GNU_SOURCE -Werror-implicit-function-declaration -MT pool.lo -MD -MP -MF .deps/pool.Tpo -c pool.c -fPIC -DPIC -o .libs/pool.o In file included from ../../../lib/fusion/shmalloc.h:39, from pool.c:39: ../../../lib/fusion/types.h:39:2: error: #error Need major API version 3! x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../include -I../../../lib -I../../../include -I../../../lib -DDATADIR=\"/usr/share/directfb-1.0.0\" -DMODULEDIR=\"/usr/lib64/directfb-1.0-0\" -D_REENTRANT -march=native -mtune=native -O2 -pipe -msse3 -fomit-frame-pointer -fstack-protector -D_GNU_SOURCE -Werror-implicit-function-declaration -MT heap.lo -MD -MP -MF .deps/heap.Tpo -c heap.c -fPIC -DPIC -o .libs/heap.o x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../include -I../../../lib -I../../../include -I../../../lib -DDATADIR=\"/usr/share/directfb-1.0.0\" -DMODULEDIR=\"/usr/lib64/directfb-1.0-0\" -D_REENTRANT -march=native -mtune=native -O2 -pipe -msse3 -fomit-frame-pointer -fstack-protector -D_GNU_SOURCE -Werror-implicit-function-declaration -MT shm.lo -MD -MP -MF .deps/shm.Tpo -c shm.c -fPIC -DPIC -o .libs/shm.o make[4]: *** [pool.lo] Erreur 1 make[4]: *** Attente des tâches non terminées.... In file included from ../../../lib/fusion/conf.h:33, from shm.c:44: ../../../lib/fusion/types.h:39:2: error: #error Need major API version 3! In file included from ../../../lib/fusion/conf.h:33, from heap.c:68: ../../../lib/fusion/types.h:39:2: error: #error Need major API version 3! make[4]: *** [shm.lo] Erreur 1 make[4]: *** [heap.lo] Erreur 1 make[4]: quittant le répertoire « /var/tmp/portage/dev-libs/DirectFB-1.0.0/work/DirectFB-1.0.0/lib/fusion/shm » make[3]: *** [all-recursive] Erreur 1 make[3]: quittant le répertoire « /var/tmp/portage/dev-libs/DirectFB-1.0.0/work/DirectFB-1.0.0/lib/fusion » make[2]: *** [all-recursive] Erreur 1 make[2]: quittant le répertoire « /var/tmp/portage/dev-libs/DirectFB-1.0.0/work/DirectFB-1.0.0/lib » make[1]: *** [all-recursive] Erreur 1 make[1]: quittant le répertoire « /var/tmp/portage/dev-libs/DirectFB-1.0.0/work/DirectFB-1.0.0 » make: *** [all] Erreur 2 Perhaps due to GCC upgrade to version 4.2.1. or binutils upgrade to version 2.18.50.0.2 Reproducible: Always
Created attachment 132851 [details] emerge log
Created attachment 132853 [details] emerge --info
That doesn't have anything to do with your toolchain. You need to install linux-fusion 3.x for DirectFB 1.0, and linux-fusion 7.x for DirectFB 1.1 (which isn't yet in the tree).
(In reply to comment #3) > That doesn't have anything to do with your toolchain. You need to install > linux-fusion 3.x for DirectFB 1.0, and linux-fusion 7.x for DirectFB 1.1 (which > isn't yet in the tree). > Many thanks for your explanation Donnie, I have masked linux-fusion-7.0.1 waiting for DirectFB-1.1 coming in the portage tree. You can close this bug.