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

Re: [E-devel] [patch] fix compile error with --enable-directfb option



On Sun, 15 Oct 2006 15:14:32 +0900 "山口貴行" <tyamaguchi.e17@gmail.com>
babbled:

> Hi all,
> 
> When compiling evas with --enable-directfb option, compile failed with

in cvs :) arigatou! :)

> ...
> make[5]: Entering directory
> `/home/tyama/fac_e17/enlightenment/e17/libs/evas/src/modules/engines/directfb'
> if /bin/sh ../../../../libtool --tag=CC --mode=compile
> x86_64-gentoo-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I.
> -I../../../../src/lib -I../../../../src/lib/include
> -I/usr/include/freetype2 -D_REENTRANT -I/usr/include/directfb      -g
> -march=athlon64 -pipe -MT evas_engine_dfb.lo -MD -MP -MF
> ".deps/evas_engine_dfb.Tpo" -c -o evas_engine_dfb.lo
> evas_engine_dfb.c; \
> 	then mv -f ".deps/evas_engine_dfb.Tpo" ".deps/evas_engine_dfb.Plo";
> else rm -f ".deps/evas_engine_dfb.Tpo"; exit 1; fi
>   x86_64-gentoo-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../../..
> -I. -I../../../../src/lib -I../../../../src/lib/include
> -I/usr/include/freetype2 -D_REENTRANT -I/usr/include/directfb -g
> -march=athlon64 -pipe -MT evas_engine_dfb.lo -MD -MP -MF
> .deps/evas_engine_dfb.Tpo -c evas_engine_dfb.c  -fPIC -DPIC -o
> .libs/evas_engine_dfb.o
> evas_engine_dfb.c:67: warning: initialization from incompatible pointer type
> evas_engine_dfb.c:88: warning: initialization from incompatible pointer type
> evas_engine_dfb.c:90: warning: initialization from incompatible pointer type
> evas_engine_dfb.c:97: warning: initialization from incompatible pointer type
> evas_engine_dfb.c:98: warning: initialization from incompatible pointer type
> evas_engine_dfb.c:99: warning: initialization from incompatible pointer type
> evas_engine_dfb.c:100: warning: initialization from incompatible pointer type
> evas_engine_dfb.c:101: warning: initialization from incompatible pointer type
> evas_engine_dfb.c:102: warning: initialization from incompatible pointer type
> evas_engine_dfb.c:103: warning: initialization from incompatible pointer type
> evas_engine_dfb.c: In function 'evas_engine_directfb_gradient_is_opaque':
> evas_engine_dfb.c:903: warning: dereferencing 'void *' pointer
> evas_engine_dfb.c:903: error: request for member 'type' in something
> not a structure or union
> evas_engine_dfb.c:904: error: 'gr' undeclared (first use in this function)
> evas_engine_dfb.c:904: error: (Each undeclared identifier is reported only
> once evas_engine_dfb.c:904: error: for each function it appears in.)
> evas_engine_dfb.c: In function 'eng_gradient_render_pre':
> evas_engine_dfb.c:925: warning: dereferencing 'void *' pointer
> evas_engine_dfb.c:925: error: request for member 'type' in something
> not a structure or union
> evas_engine_dfb.c:926: warning: dereferencing 'void *' pointer
> evas_engine_dfb.c:926: error: request for member 'type' in something
> not a structure or union
> evas_engine_dfb.c:927: warning: dereferencing 'void *' pointer
> evas_engine_dfb.c:927: error: request for member 'type' in something
> not a structure or union
> make[5]: *** [evas_engine_dfb.lo] Error 1
> 
> 
> Attached is a patch to fix this compile error.
> 
> ----
> Takayuki YAMAGUCHI
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    raster@rasterman.com
裸好多
Tokyo, Japan (東京 日本)