Skip to contentSkip to conversation

Problem with defconfig

Buildroot Mark Jackson 5 participants 17 messages Sep 23, 2009 – Sep 25, 2009

lore
Share & tools
lore
#0 lore raw

If I pull down the latest git and try to make a defconfig, I get the following:-

$ make atngw100-base_defconfig
make: *** No rule to make target `atngw100-base_defconfig'. Stop.

I've not used BR since the svn days, so has this changed ?

Regards
Mark

#1 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Mark" == Mark Jackson <[email protected]> writes:

Mark> If I pull down the latest git and try to make a defconfig, Mark> I get the following:-

Mark> $ make atngw100-base_defconfig
Mark> make: *** No rule to make target `atngw100-base_defconfig'. Stop.

Mark> I've not used BR since the svn days, so has this changed ?

It shouldn't, and it works here:

make atngw100-base_defconfig
cp ./target/device/Atmel/atngw100-base/atngw100-base_defconfig .config
...

Could you pull latest git and try again?

Signature · 1 line
Bye, Peter Korsgaard
#2 lore raw
Quoted 10 lines · Peter Korsgaard
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Mark" == Mark Jackson <[email protected]> writes:

Mark> If I pull down the latest git and try to make a defconfig, Mark> I get the following:-

Mark> $ make atngw100-base_defconfig
Mark> make: *** No rule to make target `atngw100-base_defconfig'. Stop.

Mark> I've not used BR since the svn days, so has this changed ?

Quoted 7 lines

It shouldn't, and it works here:

make atngw100-base_defconfig
cp ./target/device/Atmel/atngw100-base/atngw100-base_defconfig .config
...

Could you pull latest git and try again?

It *was* the latest git, which baffled me !!

#3 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Mark" == Mark Jackson <[email protected]> writes:

Hi,

Quoted 1 line
Quoted 1 line

Could you pull latest git and try again?

Mark> It *was* the latest git, which baffled me !!

Me too. Do you have ./target/device/Atmel/atngw100-base/atngw100-base_defconfig ?

Signature · 1 line
Bye, Peter Korsgaard
#4 lore raw
Quoted 11 lines · Peter Korsgaard
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Mark" == Mark Jackson <[email protected]> writes:

Hi,

Quoted 1 line
Quoted 1 line

Could you pull latest git and try again?

Mark> It *was* the latest git, which baffled me !!

Me too. Do you have ./target/device/Atmel/atngw100-base/atngw100-base_defconfig ?

mpfj at mpfj-x64:~/avr32/buildroot$ ls -la ./target/device/Atmel/atngw100-base/atngw100-base_defconfig -rw-rw-rw- 1 mpfj mpfj 21720 2009-09-23 10:45 ./target/device/Atmel/atngw100-base/atngw100-base_defconfig mpfj at mpfj-x64:~/avr32/buildroot$ make atngw100-base_defconfig
make: *** No rule to make target `atngw100-base_defconfig'. Stop.
mpfj at mpfj-x64:~/avr32/buildroot$

#5 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Mark" == Mark Jackson <[email protected]> writes:

Hi,

Mark> mpfj at mpfj-x64:~/avr32/buildroot$ ls -la ./target/device/Atmel/atngw100-base/atngw100-base_defconfig Mark> -rw-rw-rw- 1 mpfj mpfj 21720 2009-09-23 10:45 ./target/device/Atmel/atngw100-base/atngw100-base_defconfig Mark> mpfj at mpfj-x64:~/avr32/buildroot$ make atngw100-base_defconfig
Mark> make: *** No rule to make target `atngw100-base_defconfig'. Stop.
Mark> mpfj at mpfj-x64:~/avr32/buildroot$

very odd. The makefile rule (in the toplevel Makefile) is simply:

%_defconfig: $(CONFIG)/conf

        cp $(shell find ./target/ -name $@) .config
        -@$(MAKE) oldconfig

So I don't get it why it doesn't trigger for you. Does a simple 'make blah_defconfig' work for you?

Does it work with the 2009.08 release? What version of make are you using?

Signature · 1 line
Bye, Peter Korsgaard
#6 lore raw
Quoted 10 lines · Peter Korsgaard
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Mark" == Mark Jackson <[email protected]> writes:

Hi,

Mark> mpfj at mpfj-x64:~/avr32/buildroot$ ls -la ./target/device/Atmel/atngw100-base/atngw100-base_defconfig Mark> -rw-rw-rw- 1 mpfj mpfj 21720 2009-09-23 10:45 ./target/device/Atmel/atngw100-base/atngw100-base_defconfig Mark> mpfj at mpfj-x64:~/avr32/buildroot$ make atngw100-base_defconfig
Mark> make: *** No rule to make target `atngw100-base_defconfig'. Stop.
Mark> mpfj at mpfj-x64:~/avr32/buildroot$

Quoted 5 lines

very odd. The makefile rule (in the toplevel Makefile) is simply:

%_defconfig: $(CONFIG)/conf

        cp $(shell find ./target/ -name $@) .config
        -@$(MAKE) oldconfig

I looked at this and put in some @echo lines before and after the cp. They were never executed !?! Is this some bash / dash setup thing ?

mpfj at mpfj-x64:~/avr32/buildroot$ uname -a
Linux mpfj-x64 2.6.28-15-generic #49-Ubuntu SMP Tue Aug 18 19:25:34 UTC 2009 x86_64 GNU/Linux

Quoted 2 lines

So I don't get it why it doesn't trigger for you. Does a simple 'make blah_defconfig' work for you?

No ... everything comes up "no rule to make".

Quoted 1 line

Does it work with the 2009.08 release? What version of make are you using?

2009.08 release of buildroot ? It's not out yet is it ?

mpfj at mpfj-x64:~/avr32/buildroot$ make -v
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

This program built for x86_64-pc-linux-gnu

#7 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Mark" == Mark Jackson <[email protected]> writes:

Hi,

Quoted 3 lines
Quoted 3 lines

%_defconfig: $(CONFIG)/conf
cp $(shell find ./target/ -name $@) .config
-@$(MAKE) oldconfig

Mark> I looked at this and put in some @echo lines before and after the cp. Mark> They were never executed !?! Is this some bash / dash setup thing ?

Well, they shouldn't as make complains that it doesn't know how to make the rule, but I don't get why.

Does it work if you change the %_defconfig to atngw100-base_defconfig ?

Quoted 2 lines
Quoted 2 lines

So I don't get it why it doesn't trigger for you. Does a simple 'make blah_defconfig' work for you?

Mark> No ... everything comes up "no rule to make".

strange.

Quoted 1 line
Quoted 1 line

Does it work with the 2009.08 release? What version of make are you using?

Mark> 2009.08 release of buildroot ? It's not out yet is it ?

Ehh, yes it is. We're no longer in August ;)

http://buildroot.net/downloads/buildroot-2009.08.tar.bz2

Mark> mpfj at mpfj-x64:~/avr32/buildroot$ make -v
Mark> GNU Make 3.81
Mark> Copyright (C) 2006 Free Software Foundation, Inc. Mark> This is free software; see the source for copying conditions. Mark> There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A Mark> PARTICULAR PURPOSE.

Ok, I'm using 3.81 as well (Debian).

Signature · 1 line
Bye, Peter Korsgaard
#8 lore raw
Quoted 8 lines · Peter Korsgaard
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Mark" == Mark Jackson <[email protected]> writes:

Hi,

Quoted 3 lines
Quoted 3 lines

%_defconfig: $(CONFIG)/conf
cp $(shell find ./target/ -name $@) .config
-@$(MAKE) oldconfig

Quoted 7 lines

Mark> I looked at this and put in some @echo lines before and after the cp. Mark> They were never executed !?! Is this some bash / dash setup thing ?

Well, they shouldn't as make complains that it doesn't know how to make the rule, but I don't get why.

Does it work if you change the %_defconfig to atngw100-base_defconfig ?

It's different ...

mpfj at mpfj-x64:~/avr32/buildroot$ make atngw100-base_defconfig
cc package/config/conf.o -o package/config/conf
package/config/conf.o: In function `conf_askvalue':
/home/mpfj/avr32/buildroot-git/package/config/conf.c:80: undefined reference to sym_get_type' /home/mpfj/avr32/buildroot-git/package/config/conf.c:88: undefined reference to sym_is_changable' package/config/conf.o: In function `get_help':
/home/mpfj/avr32/buildroot-git/package/config/conf.c:45: undefined reference to menu_has_help' /home/mpfj/avr32/buildroot-git/package/config/conf.c:46: undefined reference to menu_get_help' package/config/conf.o: In function `conf_sym':
/home/mpfj/avr32/buildroot-git/package/config/conf.c:166: undefined reference to sym_get_type' /home/mpfj/avr32/buildroot-git/package/config/conf.c:182: undefined reference to sym_tristate_within_range' /home/mpfj/avr32/buildroot-git/package/config/conf.c:186: undefined reference to menu_has_help' /home/mpfj/avr32/buildroot-git/package/config/conf.c:189: undefined reference to sym_get_string_value' /home/mpfj/avr32/buildroot-git/package/config/conf.c:180: undefined reference to sym_tristate_within_range' /home/mpfj/avr32/buildroot-git/package/config/conf.c:184: undefined reference to sym_tristate_within_range' /home/mpfj/avr32/buildroot-git/package/config/conf.c:186: undefined reference to menu_has_help' /home/mpfj/avr32/buildroot-git/package/config/conf.c:220: undefined reference to sym_set_tristate_value' /home/mpfj/avr32/buildroot-git/package/config/conf.c:220: undefined reference to sym_set_tristate_value' /home/mpfj/avr32/buildroot-git/package/config/conf.c:220: undefined reference to sym_set_tristate_value' package/config/conf.o: In function `conf_string':
/home/mpfj/avr32/buildroot-git/package/config/conf.c:132: undefined reference to sym_get_string_value' /home/mpfj/avr32/buildroot-git/package/config/conf.c:133: undefined reference to sym_get_string_value' /home/mpfj/avr32/buildroot-git/package/config/conf.c:151: undefined reference to sym_set_string_value' package/config/conf.o: In function conf':
/home/mpfj/avr32/buildroot-git/package/config/conf.c:353: undefined reference to menu_is_visible' /home/mpfj/avr32/buildroot-git/package/config/conf.c:368: undefined reference to menu_get_prompt' package/config/conf.o: In function `conf_choice':
/home/mpfj/avr32/buildroot-git/package/config/conf.c:235: undefined reference to sym_get_type' /home/mpfj/avr32/buildroot-git/package/config/conf.c:237: undefined reference to sym_is_changable' /home/mpfj/avr32/buildroot-git/package/config/conf.c:263: undefined reference to menu_get_prompt' /home/mpfj/avr32/buildroot-git/package/config/conf.c:268: undefined reference to menu_is_visible' /home/mpfj/avr32/buildroot-git/package/config/conf.c:280: undefined reference to menu_get_prompt' /home/mpfj/avr32/buildroot-git/package/config/conf.c:253: undefined reference to menu_get_prompt' /home/mpfj/avr32/buildroot-git/package/config/conf.c:293: undefined reference to menu_has_help' /home/mpfj/avr32/buildroot-git/package/config/conf.c:326: undefined reference to menu_is_visible' /home/mpfj/avr32/buildroot-git/package/config/conf.c:271: undefined reference to menu_get_prompt' package/config/conf.o: In function sym_set_choice_value':
/home/mpfj/avr32/buildroot-git/package/config/lkc.h:142: undefined reference to sym_set_tristate_value' package/config/conf.o: In function conf_choice':
/home/mpfj/avr32/buildroot-git/package/config/conf.c:239: undefined reference to sym_calc_value' package/config/conf.o: In function check_conf':
/home/mpfj/avr32/buildroot-git/package/config/conf.c:414: undefined reference to menu_is_visible' /home/mpfj/avr32/buildroot-git/package/config/conf.c:419: undefined reference to sym_is_changable' /home/mpfj/avr32/buildroot-git/package/config/conf.c:423: undefined reference to menu_get_parent_menu' package/config/conf.o: In function main':
/home/mpfj/avr32/buildroot-git/package/config/conf.c:498: undefined reference to conf_parse' /home/mpfj/avr32/buildroot-git/package/config/conf.c:546: undefined reference to conf_read_simple' /home/mpfj/avr32/buildroot-git/package/config/conf.c:585: undefined reference to rootmenu' /home/mpfj/avr32/buildroot-git/package/config/conf.c:584: undefined reference to rootmenu' /home/mpfj/avr32/buildroot-git/package/config/conf.c:592: undefined reference to rootmenu' /home/mpfj/avr32/buildroot-git/package/config/conf.c:601: undefined reference to conf_get_changed' /home/mpfj/avr32/buildroot-git/package/config/conf.c:614: undefined reference to conf_write_autoconf' /home/mpfj/avr32/buildroot-git/package/config/conf.c:601: undefined reference to conf_write' /home/mpfj/avr32/buildroot-git/package/config/conf.c:517: undefined reference to conf_read' /home/mpfj/avr32/buildroot-git/package/config/conf.c:527: undefined reference to conf_read' /home/mpfj/avr32/buildroot-git/package/config/conf.c:577: undefined reference to conf_set_all_new_symbols' /home/mpfj/avr32/buildroot-git/package/config/conf.c:568: undefined reference to conf_set_all_new_symbols' /home/mpfj/avr32/buildroot-git/package/config/conf.c:574: undefined reference to conf_set_all_new_symbols' /home/mpfj/avr32/buildroot-git/package/config/conf.c:571: undefined reference to conf_set_all_new_symbols' /home/mpfj/avr32/buildroot-git/package/config/conf.c:580: undefined reference to conf_set_all_new_symbols' /home/mpfj/avr32/buildroot-git/package/config/conf.c:555: undefined reference to conf_get_changed' /home/mpfj/avr32/buildroot-git/package/config/conf.c:500: undefined reference to conf_get_configname' /home/mpfj/avr32/buildroot-git/package/config/conf.c:548: undefined reference to conf_read_simple' /home/mpfj/avr32/buildroot-git/package/config/conf.c:535: undefined reference to conf_read_simple' /home/mpfj/avr32/buildroot-git/package/config/conf.c:516: undefined reference to conf_get_default_confname'
collect2: ld returned 1 exit status
make: *** [package/config/conf] Error 1
mpfj at mpfj-x64:~/avr32/buildroot$

Quoted 8 lines
Quoted 3 lines
Quoted 3 lines

So I don't get it why it doesn't trigger for you. Does a simple 'make blah_defconfig' work for you?

Mark> No ... everything comes up "no rule to make".

strange.

Quoted 7 lines
Quoted 1 line
Quoted 1 line

Does it work with the 2009.08 release? What version of make are you using?

Mark> 2009.08 release of buildroot ? It's not out yet is it ?

Ehh, yes it is. We're no longer in August ;)

http://buildroot.net/downloads/buildroot-2009.08.tar.bz2

Ah yes ... but weirdly the home cgit page at http://git.buildroot.net/buildroot
only shows 2009.08_rc2 as the latest tag. Clicking on the [...] below the tag list shows a different story ???

Mark

#9 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Mark" == Mark Jackson <[email protected]> writes:

Hi,

Mark> Ah yes ... but weirdly the home cgit page at
Mark> http://git.buildroot.net/buildroot only shows 2009.08_rc2 as the Mark> latest tag. Clicking on the [...] below the tag list shows a Mark> different story ???

Yes I noticed as well earlier today. I've sent a mail to the osusl admins to take a look at it. Strangely enough it's only broken for buildroot and not uclibc/busybox.

Signature · 1 line
Bye, Peter Korsgaard
#10 lore raw
In reply to Peter Korsgaard

Peter Korsgaard wrote:

<snip>

Quoted 7 lines

%_defconfig: $(CONFIG)/conf

        cp $(shell find ./target/ -name $@) .config
        -@$(MAKE) oldconfig

So I don't get it why it doesn't trigger for you. Does a simple 'make blah_defconfig' work for you?

The makefile seems to be looking for the file, but can't find it:-

mpfj at mpfj-x64:~/avr32/buildroot$ make --debug atngw100-base_defconfig GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

This program built for x86_64-pc-linux-gnu
Reading makefiles...
Updating goal targets....
File `atngw100-base_defconfig' does not exist.
Must remake target `atngw100-base_defconfig'.
make: *** No rule to make target `atngw100-base_defconfig'. Stop. mpfj at mpfj-x64:~/avr32/buildroot$

#11 lore raw

Hi,

Quoted 5 lines · Mark Jackson

Peter Korsgaard wrote:

<snip>

Quoted 1 line
Quoted 9 lines
Quoted 6 lines

%_defconfig: $(CONFIG)/conf
? ? ? ? cp $(shell find ./target/ -name $@) .config ? ? ? ? -@$(MAKE) oldconfig

So I don't get it why it doesn't trigger for you. Does a simple 'make blah_defconfig' work for you?

The makefile seems to be looking for the file, but can't find it:-

I didn't check, but I do remember that there was a clean up where the atngw100 variations were removed. I think there is only atngw100_defconfig now.

Kind Regards,
Thiago A. Correa

#12 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thiago" == Thiago A Corr?a <[email protected]> writes:

Thiago> I didn't check, but I do remember that there was a clean up where the Thiago> atngw100 variations were removed. I think there is only Thiago> atngw100_defconfig now.

No, the _base defconfig is still there.

find -name \*base\*defconfig
./Atmel/atngw100-base/atngw100-base_defconfig

Signature · 1 line
Bye, Peter Korsgaard
#13 lore raw

[Buildroot] Foreigh toolchain

Hi,

I have this problem using the foreigh toolchain. Can anyone know how to fix it?

libtool: relink: /usr/share/gnush4-nofpu_linux_v0701-1/bin/sh3-linux-gcc -Os -pipe -Os --sysroot /home/michael/lavoro/renesas/buildroot/output/build/staging_dir/ -shared .libs/gmodule.o -Wl,-rpath -Wl,/home/michael/lavoro/renesas/buildroot/output/build/staging_dir/usr/lib -ldl -L/home/michael/lavoro/renesas/buildroot/output/target/usr/lib -L/usr/lib -lglib-2.0 -L/home/michael/lavoro/renesas/buildroot/output/build/staging_dir/usr/lib -L/home/michael/lavoro/renesas/buildroot/output/target/home/michael/lavoro/renesas/buildroot/output/build/staging_dir/usr/lib -lintl -lc -Wl,--export-dynamic -Wl,-soname -Wl,libgmodule-2.0.so.0 -o .libs/libgmodule-2.0.so.0.2000.5
/usr/lib/libdl.so: file not recognized: File format not recognized
collect2: ld returned 1 exit status
libtool: install: error: relink `libgmodule-2.0.la' with the above command before installing it

#14 lore raw

[Buildroot] Foreigh toolchain

Le Thu, 24 Sep 2009 16:33:13 +0000 (GMT), Michael Trimarchi <[email protected]> a ?crit :

Quoted 2 lines

I have this problem using the foreigh toolchain. Can anyone know how to fix it?

That's a libtool issue, and I haven't yet found the proper solution for it. It's probably a matter of recompiling libtool and using our own.

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com
#15 lore raw

[Buildroot] Foreigh toolchain

--- Gio 24/9/09, Thomas Petazzoni <[email protected]> ha scritto:

Quoted 9 lines

Da: Thomas Petazzoni <[email protected]>
Oggetto: Re: [Buildroot] Foreigh toolchain
A: buildroot at busybox.net
Data: Gioved? 24 settembre 2009, 20:28
Le Thu, 24 Sep 2009 16:33:13 +0000
(GMT),
Michael Trimarchi <[email protected]>
a ?crit :

Quoted 8 lines
Quoted 1 line

I have this problem using the foreigh toolchain. Can

anyone know how

Quoted 1 line

to fix it?

That's a libtool issue, and I haven't yet found the proper solution for
it. It's probably a matter of recompiling libtool and using our own.

Ok, I will try it and investigate on it.

Michael

Quoted 11 lines

Thomas

Signature · 8 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
#16 lore raw
In reply to Peter Korsgaard
Quoted 7 lines · Peter Korsgaard
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Mark" == Mark Jackson <[email protected]> writes:

Mark> If I pull down the latest git and try to make a defconfig, Mark> I get the following:-

Mark> $ make atngw100-base_defconfig
Mark> make: *** No rule to make target `atngw100-base_defconfig'. Stop.

I've also noticed that "make saveconfig" does the same ...

mpfj at mpfj-x64:~/avr32/buildroot$ make saveconfig
make: *** No rule to make target `saveconfig'. Stop.

But "make", "make all" and "make menuconfig" are okay.

Mark