DirectFB on cygwin(その1)

DirectFB on cygwin(その1)

できるかな?

以下のようなコンパイルエラーがでている。
なにが足りないのか調べなきゃ。。。

※以下のメッセージは2回目のmakeで出力されたもの。
$ make
make  all-recursive
make[1]: Entering directory `/cygdrive/c/download/DirectFB-1.0.1'
Making all in data
make[2]: Entering directory `/cygdrive/c/download/DirectFB-1.0.1/data'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/cygdrive/c/download/DirectFB-1.0.1/data'
Making all in docs
make[2]: Entering directory `/cygdrive/c/download/DirectFB-1.0.1/docs'
Making all in html
make[3]: Entering directory `/cygdrive/c/download/DirectFB-1.0.1/docs/html'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/cygdrive/c/download/DirectFB-1.0.1/docs/html'
make[3]: Entering directory `/cygdrive/c/download/DirectFB-1.0.1/docs'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/cygdrive/c/download/DirectFB-1.0.1/docs'
make[2]: Leaving directory `/cygdrive/c/download/DirectFB-1.0.1/docs'
Making all in include
make[2]: Entering directory `/cygdrive/c/download/DirectFB-1.0.1/include'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/cygdrive/c/download/DirectFB-1.0.1/include'
Making all in lib
make[2]: Entering directory `/cygdrive/c/download/DirectFB-1.0.1/lib'
Making all in direct
make[3]: Entering directory `/cygdrive/c/download/DirectFB-1.0.1/lib/direct'
source='log.c' object='log.lo' libtool=yes \
        DEPDIR=.deps depmode=none /bin/sh ../../depcomp \
        /bin/sh ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
-I../.. -I../../include -I../../lib -I../../include -I../../lib -DDATADIR=\"/usr
/local/share/directfb-1.0.1\" -DMODULEDIR=\"/usr/local/lib/directfb-1.0-0\" -D_R
EENTRANT   -O3 -ffast-math -pipe  -D_GNU_SOURCE  -Werror-implicit-function-decla
ration -c -o log.lo log.c
 gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../lib -I../../include -I.
./../lib -DDATADIR=\"/usr/local/share/directfb-1.0.1\" -DMODULEDIR=\"/usr/local/
lib/directfb-1.0-0\" -D_REENTRANT -O3 -ffast-math -pipe -D_GNU_SOURCE -Werror-im
plicit-function-declaration -c log.c  -DDLL_EXPORT -DPIC -o .libs/log.o
log.c:208: warning: "struct addrinfo" declared inside parameter list
log.c:208: warning: its scope is only this definition or declaration, which is p
robably not what you want
log.c: In function `parse_host_addr':
log.c:219: error: storage size of 'hints' isn't known
log.c:247: error: implicit declaration of function `getaddrinfo'
log.c:250: error: `EAI_FAMILY' undeclared (first use in this function)
log.c:250: error: (Each undeclared identifier is reported only once
log.c:250: error: for each function it appears in.)
log.c:254: error: `EAI_SOCKTYPE' undeclared (first use in this function)
log.c:258: error: `EAI_NONAME' undeclared (first use in this function)
log.c:262: error: `EAI_SERVICE' undeclared (first use in this function)
log.c:266: error: `EAI_ADDRFAMILY' undeclared (first use in this function)
log.c:267: error: `EAI_NODATA' undeclared (first use in this function)
log.c:271: error: `EAI_MEMORY' undeclared (first use in this function)
log.c:274: error: `EAI_FAIL' undeclared (first use in this function)
log.c:278: error: `EAI_AGAIN' undeclared (first use in this function)
log.c: In function `init_udp':
log.c:299: warning: passing arg 2 of `parse_host_addr' from incompatible pointer
 type
log.c:303: error: dereferencing pointer to incomplete type
log.c:307: error: implicit declaration of function `freeaddrinfo'
log.c:311: error: dereferencing pointer to incomplete type
log.c:311: error: dereferencing pointer to incomplete type
make[3]: *** [log.lo] Error 1
make[3]: Leaving directory `/cygdrive/c/download/DirectFB-1.0.1/lib/direct'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/cygdrive/c/download/DirectFB-1.0.1/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/c/download/DirectFB-1.0.1'
make: *** [all] Error 2




トップページへ






鮫洲曙町会ホームページ