[Buildroot] [git commit] e2fsprogs: Add missing dependency of tst_uuid.o on uuid.h

Alexjan Carraturo axjslack at gmail.com
Mon Jul 25 07:46:39 UTC 2011


2011/7/25 Peter Korsgaard <jacmet at sunsite.dk>:
>>>>>> "Alexjan" == Alexjan Carraturo <axjslack at gmail.com> writes:
>
> Hi,
>
>  Alexjan> There is the possibility that, the problem about uuid.h that you have
>  Alexjan> with e2fsprogs is similar to what I'm having on my version of
>  Alexjan> buildroot (snapshot of 22 July)
>
>  Alexjan> /usr/bin/make BUILDDIR=/home/buildroot/buildroot-20110722/buildroot/output/build/host-mtd-1.4.5/$d
>  Alexjan> -C $d $t
>  Alexjan> make[2]: Entering directory
>  Alexjan> `/home/buildroot/buildroot-20110722/buildroot/output/build/host-mtd-1.4.5/mkfs.ubifs'
>  Alexjan> gcc -I../include -I../ubi-utils/include   -D_FILE_OFFSET_BITS=64 -O2
>  Alexjan> -g -Wall -Wextra -Wwrite-strings -Wno-sign-compare -ffunction-sections
>  Alexjan> -fdata-sections -Wl,--gc-sections -c -o
>  Alexjan> /home/buildroot/buildroot-20110722/buildroot/output/build/host-mtd-1.4.5/mkfs.ubifs/mkfs.ubifs.o
>  Alexjan> mkfs.ubifs.c -g
>  Alexjan> -Wp,-MD,/home/buildroot/buildroot-20110722/buildroot/output/build/host-mtd-1.4.5/mkfs.ubifs/.mkfs.ubifs.c.dep
>  Alexjan> In file included from mkfs.ubifs.c:23:0:
>  Alexjan> mkfs.ubifs.h:48:23: fatal error: uuid/uuid.h: File o directory non esistente
>
> Strange, for some reason you are missing the -I$(HOST_DIR)/usr/include
> from your cflags. I have:
>
> gcc -I../include -I../ubi-utils/include   -D_FILE_OFFSET_BITS=64 -O2 -I/home/peko/source/buildroot/output/host/include -I/home/peko/source/buildroot/output/host/usr/include -Wall -Wextra -Wwrite-strings -Wno-sign-compare -ffunction-sections -fdata-sections -Wl,--gc-sections -Wall -Wextra -Wwrite-strings -Wno-sign-compare -ffunction-sections -fdata-sections -Wl,--gc-sections -c -o /home/peko/source/buildroot/output/build/host-mtd-1.4.5/mkfs.ubifs/mkfs.ubifs.o mkfs.ubifs.c -g -Wp,-MD,/home/peko/source/buildroot/output/build/host-mtd-1.4.5/mkfs.ubifs/.mkfs.ubifs.c.dep
>
> Do you have a custom HOST_CFLAGS defined in your environment or on the
> make cmdline by any chance?
>


No I doesn't define custum CFLAGS. I'm pretty sure about this. May I
found some workaround about this?

Thank you

> --
> Bye, Peter Korsgaard
>

regards
Alexjan

-- 
Alexjan Carraturo
--
Free Software User Group Italia administrator (http://www.fsugitalia.org)
Fedora/OpenSUSE Ambassador
member of FSFE Italian Team

Twitter/Facebook/Identica: axjslack
Blog: http://axjslack.wordpress.com
--



More information about the buildroot mailing list