[Buildroot] problem to configure to make helloworld program and helloworld module be compiled and added to the tartget with a local external source

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Nov 19 17:05:31 UTC 2013

Dear Nils Koehler,

On Tue, 19 Nov 2013 17:59:47 +0100, Nils Koehler wrote:

> > There is no such thing as a /Build/ directory in Buildroot. Maybe
> > you're talking about output/build/helloworld-1.0/, right?
> ...sorry yes... /buildroot-2013.08/output/Build/helloworld-1.0/

Sorry, this still doesn't exist. I know I'm nitpicking, but
output/Build and output/build are two different things. output/Build
doesn't exist, while output/build does exist. May I suggest you to
copy/paste file paths instead of manually re-writing them and adding
mistakes in them?

See what I was saying earlier:

> > Please be *precise* in the paths you give. Even a single character
> > difference... makes a complete difference.

> > It should be:
> > 
> > 	$(INSTALL) -D -m 0755 $(@D)/helloworld $(TARGET_DIR)/bin/helloworld
> After that change helloworld is still not available in
> /buildroot-2013.08/output/target/bin/

Hum, strange.

> > If it still doesn't work, please post the file named "build.log" after
> > executing:
> > 
> > make helloworld-rebuild 2>&1 | tee build.log
> I have attached the build.log file
> I saw that inside:
> /home/koehler/Desktop/Kernel/buildroot-2013.08/support/scripts/mkusers
> /home/koehler/Desktop/Kernel/buildroot-2013.08/output/build/_users_table.txt
> /home/koehler/Desktop/Kernel/buildroot-2013.08/output/target >>
> /home/koehler/Desktop/Kernel/buildroot-2013.08/output/build/_fakeroot.fs
> /home/koehler/Desktop/Kernel/buildroot-2013.08/support/scripts/mkusers:
> Zeile 363: [: helloworld: Ganzzahliger Ausdruck erwartet.
> /home/koehler/Desktop/Kernel/buildroot-2013.08/support/scripts/mkusers:
> Zeile 370: [: helloworld: Ganzzahliger Ausdruck erwartet.
> /home/koehler/Desktop/Kernel/buildroot-2013.08/support/scripts/mkusers:
> Zeile 394: [: foo: Ganzzahliger Ausdruck erwartet.
> /home/koehler/Desktop/Kernel/buildroot-2013.08/support/scripts/mkusers:
> Zeile 402: [: foo: Ganzzahliger Ausdruck erwartet.

That's in German, and I unfortunately don't read German. Please run your
build with "LANG=C make ..." so that we get error messages in english.

Moreover, this is not the useful part of the build log. Please run:

  make helloworld-rebuild 2>&1 | tee build.log

Then paste the *entire* output to http://code.bulix.org, and then send
us the URL at which it was posted.

Also, please post on http://code.bulix.org your entire .mk file, and
give us the URL at which it was posted.


Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering

More information about the buildroot mailing list