[yocto] gettext build error

Lai Eddy eddy.lai.tw at gmail.com
Mon Dec 24 04:47:27 PST 2012


> got errors during "bitbake core-image-minimal" on yacto 1.3 + jasperforest
> BSP
> how can I just clean everything then re-build all?
> since I don't modify any kernel code before make the build, will this
> error caused by build environment settings problem?
> message from
> "tmp/work/x86_64-linux/gettext-native-0.18.1.1-r17/temp/log.do_compile.28574"
> like below:
>
> -----------------------------------------------------------------------------------------------------------------
> 2067 execute.c:267:5: warning: passing argument 1 of
> 'posix_spawnattr_destroy' from incompatible pointer type [enabled by
> default]
> 2068 /usr/include/spawn.h:94:12: note: expected 'struct posix_spawnattr_t
> *' but argument is of type 'struct posix_spawnattr_t *'
> 2069 make[4]: *** [execute.lo] Error 1
> 2070 make[4]: *** Waiting for unfinished jobs....
> 2071 x86_64-linux-libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H
> -DEXEEXT=\"\" -DEXEEXT=\"\" -DEXEEXT=\"\" -I. -I.. -I../intl -I../intl -I..
> -I.. -DDEPENDS_ON_LIBICONV=1 -D     DEPENDS_ON_LIBINTL=1 -DLIBXML_STATIC
> -I../intl -I./libcroco
> -isystem/home/eddylai/poky-danny-8.0/build/tmp/sysroots/x86_64-linux/usr/include
> -isystem/home/eddylai/poky-danny-8.0/build/tmp/sysroots/x86_64-linux/usr/include
> -O2 -pipe -c exitfail.c  -fPIC -DPIC -o .libs/exitfail.o
> 2072 x86_64-linux-libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H
> -DEXEEXT=\"\" -DEXEEXT=\"\" -DEXEEXT=\"\" -I. -I.. -I../intl -I../intl -I..
> -I.. -DDEPENDS_ON_LIBICONV=1 -D     DEPENDS_ON_LIBINTL=1 -DLIBXML_STATIC
> -I../intl -I./libcroco
> -isystem/home/eddylai/poky-danny-8.0/build/tmp/sysroots/x86_64-linux/usr/include
> -isystem/home/eddylai/poky-danny-8.0/build/tmp/sysroots/x86_64-linux/usr/include
> -O2 -pipe -c exitfail.c -o exitfail.o >/dev/null 2>&1
> 2073 make[4]: Leaving directory
> `/home/eddylai/poky-danny-8.0/build/tmp/work/x86_64-linux/gettext-native-0.18.1.1-r17/gettext-0.18.1.1/gettext-tools/gnulib-lib'
> 2074 make[3]: *** [all] Error 2
> 2075 make[3]: Leaving directory
> `/home/eddylai/poky-danny-8.0/build/tmp/work/x86_64-linux/gettext-native-0.18.1.1-r17/gettext-0.18.1.1/gettext-tools/gnulib-lib'
> 2076 make[2]: *** [all-recursive] Error 1
> 2077 make[2]: Leaving directory
> `/home/eddylai/poky-danny-8.0/build/tmp/work/x86_64-linux/gettext-native-0.18.1.1-r17/gettext-0.18.1.1/gettext-tools'
> 2078 make[1]: *** [all] Error 2
> 2079 make[1]: Leaving directory
> `/home/eddylai/poky-danny-8.0/build/tmp/work/x86_64-linux/gettext-native-0.18.1.1-r17/gettext-0.18.1.1/gettext-tools'
> 2080 make: *** [all-recursive] Error 1
> 2081 ERROR: oe_runmake failed
> 2082 ERROR: Function failed: do_compile (see
> /home/eddylai/poky-danny-8.0/build/tmp/work/x86_64-linux/gettext-native-0.18.1.1-r17/temp/log.do_compile.5711
> for further information)
>
> ----------------------------------------------------------------------------------------------
>

errors in the log:
===========
x86_64-linux-libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H
-DEXEEXT=\"\" -DEXEEXT=\"\" -DEXEEXT=\"\" -I. -I.. -I../intl -I../intl -I..
-I.. -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -DLIBXML_STATIC
-I../intl -I./libcroco
-isystem/home/eddylai/poky-danny-8.0/build/tmp/sysroots/x86_64-linux/usr/include
-isystem/home/eddylai/poky-danny-8.0/build/tmp/sysroots/x86_64-linux/usr/include
-O2 -pipe -c findprog.c  -fPIC -DPIC -o .libs/findprog.o
In file included from execute.c:47:0:
./spawn.h:406:3: error: conflicting types for 'posix_spawnattr_t'
/usr/include/spawn.h:39:3: note: previous declaration of
'posix_spawnattr_t' was here
./spawn.h:422:3: error: conflicting types for 'posix_spawn_file_actions_t'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20121224/c7d301e4/attachment.html>


More information about the yocto mailing list