Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
19 years ago

buildroot snapshot update 20060426

The buildroot snapshots will last for only one month.

The 20060320 as specified in build script no longer exist.

So we have to move to a newer snapshot.

Note if you have the toolchain working, there is no need to update.

edit build script, change line29 to "SNAPSHOT=20060426"

break from line44 of build script, just before make .

in ~/buildroot, do make menuconfig, disable c++ in toolchain option.

Then make, it will fail in busybox strip,

edit ~/buildroot/build_nios2/busybox/Makefile, comment out line306, do_strip.

make again.

restart from line45 of build script.

7 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by hippo@Apr 27 2006, 04:43 AM

    the buildroot snapshots will last for only one month.

    the 20060320 as specified in build script no longer exist.

    so we have to move to a newer snapshot.

    note if you have the toolchain working, there is no need to update.

    edit build script, change line29 to "snapshot=20060426"

    break from line44 of build script, just before make .

    in ~/buildroot, do make menuconfig, disable c++ in toolchain option.

    then make, it will fail in busybox strip,

    edit ~/buildroot/build_nios2/busybox/makefile, comment out line306, do_strip.

    make again.

    restart from line45 of build script.

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=14734)

    --- quote end ---

    --- Quote End ---

    Hi hippo,

    I&#39;m retrying with the updated version of your buildroot.

    Following your instruction, I cut from line 44 (including make) and pasted in a new file.

    I executed the build script, ok.

    In ~/buildroot/ I entered make menuconfig and this is what I&#39;ve got

    $ make menuconfig
    make -C package/config ncurses conf mconf
    make: Entering directory `/home/MFM/buildroot/package/config&#39;
    make: `conf&#39; is up to date.
    gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DCURSES_LOC="<curses.h>" -I. -c mconf.c -o mconf.o
    In file included from mconf.c:26:
    lxdialog/dialog.h:33:20: curses.h: No such file or directory
    In file included from mconf.c:26:
    lxdialog/dialog.h:131: syntax error before "use_colors"
    lxdialog/dialog.h:131: warning: type defaults to `int&#39; in declaration of `use_colors&#39;
    lxdialog/dialog.h:131: warning: data definition has no type or storage class
    lxdialog/dialog.h:133: syntax error before "attributes"
    lxdialog/dialog.h:133: warning: type defaults to `int&#39; in declaration of `attributes&#39;
    lxdialog/dialog.h:133: warning: data definition has no type or storage class
    lxdialog/dialog.h:153: syntax error before &#39;*&#39; token
    lxdialog/dialog.h:153: warning: function declaration isn&#39;t a prototype
    lxdialog/dialog.h:155: syntax error before &#39;*&#39; token
    lxdialog/dialog.h:155: warning: function declaration isn&#39;t a prototype
    lxdialog/dialog.h:156: syntax error before &#39;*&#39; token
    lxdialog/dialog.h:156: warning: function declaration isn&#39;t a prototype
    lxdialog/dialog.h:157: syntax error before &#39;*&#39; token
    lxdialog/dialog.h:158: warning: function declaration isn&#39;t a prototype
    lxdialog/dialog.h:159: syntax error before &#39;*&#39; token
    lxdialog/dialog.h:159: warning: function declaration isn&#39;t a prototype
    lxdialog/dialog.h:133: warning: array `attributes&#39; assumed to have one element
    make: ***  Error 1
    make: Leaving directory `/home/MFM/buildroot/package/config&#39;
    make: ***  Error 2
    $

    I&#39;m under FC5 and I installed and linked the gcc32.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by mfm@May 4 2006, 10:41 AM

    hi hippo,

    i&#39;m retrying with the updated version of your buildroot.

    following your instruction, i cut from line 44 (including make) and pasted in a new file.

    i executed the build script, ok.

    in ~/buildroot/ i entered make menuconfig and this is what i&#39;ve got

    $ make menuconfig
    make -c package/config ncurses conf mconf
    make: entering directory `/home/mfm/buildroot/package/config&#39;
    make: `conf&#39; is up to date.
    gcc -wall -wstrict-prototypes -o2 -fomit-frame-pointer -dcurses_loc="<curses.h>" -i. -c mconf.c -o mconf.o
    in file included from mconf.c:26:
    lxdialog/dialog.h:33:20: curses.h: no such file or directory
    $

    i&#39;m under fc5 and i installed and linked the gcc32.

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=15057)</div>

    --- Quote End ---

    Have you installed the ncurses-devel package?

    - slacker
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    <div class='quotetop'>QUOTE </div>

    --- Quote Start ---

    Have you installed the ncurses-devel package?[/b]

    --- Quote End ---

    Not even heard about, and the buildroot doesn&#39;t indicate that we must install it.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Right, but I&#39;d bet that a fair number of systems out there have it installed, as part of the "development" installation option.

    make menuconfig certainly needs it.

    - slacker
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by mfm@May 4 2006, 05:06 PM

    <div class='quotetop'>quote

    --- quote end ---

    --- quote start ---

    have you installed the ncurses-devel package?

    --- Quote End ---

    Not even heard about, and the buildroot doesn&#39;t indicate that we must install it.

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=15064)</div>

    [/b]

    --- Quote End ---

    It is impossible to list all the packages required right down to the base ones... ncurses is a typical package, as well as ncurses-dev. All the menuconfig stuff uses ncurses, so I wouldn&#39;t be surprised if it&#39;s required.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi,

    sorry guys, I forgot to thank you, so thanks, I installed the ncurses-devel package and things get fixed.