Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <jacmet@sunsite.dk>
To: buildroot@busybox.net
Subject: [Buildroot] [git commit] e2fsprogs: Add missing dependency of tst_uuid.o on uuid.h
Date: Mon, 25 Jul 2011 09:26:28 +0200	[thread overview]
Message-ID: <87pqkyu8gr.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <CACR8Qs_yv1OspsG_byHSTXm5pZ1UMgrMVj0GXf8Rvovk-4+Lpw@mail.gmail.com> (Alexjan Carraturo's message of "Mon, 25 Jul 2011 08:45:26 +0200")

>>>>> "Alexjan" == Alexjan Carraturo <axjslack@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?

-- 
Bye, Peter Korsgaard

  reply	other threads:[~2011-07-25  7:26 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-24 22:22 [Buildroot] [git commit] e2fsprogs: Add missing dependency of tst_uuid.o on uuid.h Peter Korsgaard
2011-07-25  6:45 ` Alexjan Carraturo
2011-07-25  7:26   ` Peter Korsgaard [this message]
2011-07-25  7:46     ` Alexjan Carraturo
2011-07-25  7:59       ` Peter Korsgaard
2011-07-25  8:10         ` Alexjan Carraturo
2011-07-25  8:15           ` Peter Korsgaard
2011-07-25  8:19             ` Alexjan Carraturo
2011-07-25  8:24               ` Peter Korsgaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pqkyu8gr.fsf@macbook.be.48ers.dk \
    --to=jacmet@sunsite.dk \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox