Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: ubuntu 8.04 and buildroot
PostPosted: Thu May 01, 2008 11:01 am 
Offline

Joined: Sat Oct 07, 2006 12:06 am
Posts: 21
Hi,

What exactly do I need to install to be able to build buildroot amongst other things? I'm using ubuntu 8.04. Everytime I try to run make menuconfig in buildroot I get a whole bunch of errors.

I have not installed anything so I'm guessing I need to install some files.

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 01, 2008 6:40 pm 
Offline

Joined: Thu May 10, 2007 4:01 am
Posts: 16
From http://docwiki.gumstix.org/Buildroot_on_Ubuntu:
* build-essential - this installs a complete build environment
o This gets you all the necessary packages to build software, like gcc,autoconf,automake,libtool etc.
* openssl-dev (on Ubuntu 7.04 or 7.10, libssl-dev is needed instead)
* libncurses-dev
* bison
* flex
* texinfo
* zlib1g-dev
* gettext
* autoconf

That being said, I just installed Buildroot on Hardy and it checks for the necessary packages at the start of the build, alerting you of any needed packages. If you're getting error messages further into the build, you may have other problems.

Alex


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 01, 2008 11:48 pm 
Offline

Joined: Sat Oct 07, 2006 12:06 am
Posts: 21
Hi,

Thanks that worked.

Now, is there a tutorial available somewhere for what everything in buildroot means? Like an idiots guide to buildroot, step by step ?

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 02, 2008 8:06 pm 
Offline

Joined: Thu May 10, 2007 4:01 am
Posts: 16
To get a decent overview of how Buildroot works, you should definitely read this guide: http://buildroot.uclibc.org/buildroot.html

The closest thing to a step-by-step guide can be found on linux4sam.com here: http://www.linux4sam.org/twiki/bin/view ... /BuildRoot

You can also get help on the Buildroot mailing list.

Best,
Alex


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 06, 2008 2:45 am 
Offline

Joined: Sat Oct 07, 2006 12:06 am
Posts: 21
Now I am running into this problem:

atd.c:498:2: error: #error "No mail command specified."
make[1]: *** [atd.o] Error 1
make[1]: *** Waiting for unfinished jobs....
parsetime.y:10: warning: ‘svnid’ defined but not used
make[1]: Leaving directory `/home/ra/Desktop/buildroot/build_arm/at-3.1.10'
make: *** [/home/ra/Desktop/buildroot/build_arm/at-3.1.10/at] Error 2

Then I installed various packages I don't even know what and now I get past that and get stuck here:

../avahi-common/.libs/libavahi-common.so: undefined reference to `libintl_bindtextdomain'
../avahi-common/.libs/libavahi-common.so: undefined reference to `libintl_dgettext'
../avahi-common/.libs/libavahi-common.so: undefined reference to `libintl_bind_textdomain_codeset'
collect2: ld returned 1 exit status
make[3]: *** [avahi-daemon] Error 1
make[3]: Leaving directory `/home/ra/Desktop/buildroot/build_arm/avahi-0.6.22/avahi-daemon'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/ra/Desktop/buildroot/build_arm/avahi-0.6.22'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/ra/Desktop/buildroot/build_arm/avahi-0.6.22'
make: *** [/home/ra/Desktop/buildroot/build_arm/avahi-0.6.22/.compiled] Error 2


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 17, 2008 1:32 am 
Offline

Joined: Sat Jul 16, 2005 2:42 am
Posts: 1
I just removed the AT package (among others like setserial, etc. etc) in buildroot.

I went in through "make menuconfig" to remove packages until I got it building, then I would add back in stuff that I thought I would need.

and removed a ton of stuff to get it to build. There are some stale links in the buildroot image to stuff over at Debian having to do with lockfiles as well. I'm not sure if there are bugs issued over at buildroot, but there are definitely a few.

HTH


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: