using buildroot v2.1.0-rc11

Go To Last Post
18 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi , I am new in linux and I need some advice to use buildroot for avr32.
I installed ubuntu 6.06 dapper edetion on my pc.
then I go step for step through avr32linux.org
http://www.avr32linux.org/twiki/...

installed all tooll's but the got a error from AVR-STUDIO when compillig. a "__cxa_atexit" error.
find something about it in:
https://www.avrfreaks.net/index.p...

Now I want to recompile buildroot but when I run make I got following:

Checking build system dependencies:
CC clean:                                       Ok
CXX clean:                                      Ok
CPP clean:                                      Ok
CFLAGS clean:                                   Ok
INCLUDES clean:                                 Ok
CXXFLAGS clean:                                 Ok
which installed:                                Ok
sed works:                                      Ok (/bin/sed)
GNU make version '3.81beta4':                   Ok
C compiler '/usr/bin/gcc'
C compiler version '4.0.3':                     Ok
C++ compiler '/usr/bin/g++'
C++ compiler version '4.0.3':                   Ok
patch installed:                                Ok
bison installed:                                Ok
flex installed:                                 Ok
gettext installed:                              Ok
makeinfo installed:                             FALSE


Most likely some packages will fail to build their documentation
Either install 'makeinfo' on your host or fix the respective packages.
Makeinfo can usually be found in the texinfo package for your host.
curses installed:                               Ok
zlib installed:                                 FALSE

WARNING: missing zlib library.
         Consider installing the development package for zlib
         on your build system. Packages in Buildroot may fail to build
         when a zlib library is not installed.

lzo2 installed:                                 FALSE

WARNING: missing lzo2 library.
         Consider installing the development package for lzo2
         on your build system. Packages in Buildroot may fail to build
         when a lzo2 library is not installed.

Build system dependencies:                      Ok

First question is:
how can I install makeinfo , lzo2 and zlib.
(text/info package is installed)

Second question is:
where should I place compilled files to get AVR-Studio to work? I suppose thath all what I need is compiled in /build_avr32/staging_dir.

thank you in advance.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

For your compile issues, just go in Synaptic package manager in X, and search for packages texinfo, liblzo2-devel, and libzlib-devel (not sure about the names, extrapolate... ;) )and install them.. This comes from the lack of a proper linux development platform in the default ubuntu package selection...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

And AVRstudio is for native avr32 development, for linux development you use gnu tools...

You don't need to manage the source by yourself, all the build process is done by scripts, all you need to do is to configure the source, then build, and transfer to the target.. The final binaries for the filesystems will be in ./binaries.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Haa? What is the Projekt-option "managed make linux application" then for. Is this just a fake?
I've tried to port a linux-program doing some float ops, which works fine on a PC, to the NGW100 .
I got it compiled and run, but the math results are just messed up. Could it be, that the avr32studion can't properly setup the fpu-emu-enviroment because it's not meant to build linux aps?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I allrteady searched in Synaptic package manager for missing componnents buf nothing foud. Also added new sources but nothing , thath sounds like liblzo2 or zlib. I only found text2info package. Should I try another linux instalation?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I know that problem, but it worked with ver. 1.8? also without complain, alltough I got other problems with Ubuntu so I switched to Suse 10.3 they have better development enviroment I think.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

moik2001 wrote:
I know that problem, but it worked with ver. 1.8? also without complain, alltough I got other problems with Ubuntu so I switched to Suse 10.3 they have better development enviroment I think.

Using Ubuntu 7.10 - no problems after downloading the necessary packages. I don't think this is a Linux distribution problem.

Regards,
Garry Hayne

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Well thats fine for you.
Maybe you like to tell us than where to find that liblzo2 package mbury needs.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Tried "sudo aptitude install liblzo2-devel"?

Hans-Christian

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

On Debian and Ubuntu, such packages usually have names that end with -dev, not -devel. On my Debian system, I see

$ apt-cache search liblzo
liblzo-dev - data compression library (old version) (development files)
liblzo1 - data compression library (old version)
liblzo2-2 - data compression library
liblzo2-dev - data compression library (development files)

so I'm guessing liblzo2-dev is what you need.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Ubuntu:
synaptic packet manager

for makeinfo install packet texinfo

liblzo2-2
liblzo2-dev

zlib1g
zlib1g-dbg
zlib1g-dev

Regards,
Garry Hayne

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Ubuntu 6.06 doesn't have the liblzo2 available. It still uses the liblzo1. I had to upgrade to 6.10 to get everything to work.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I installed Ubuntu 7.10 and found the packages. now I will install AVRstudio and toolchain. hope it works :)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Ubuntu 7.10 is way more mature than 6.xx anyway :) It should work, since it is the platform I work on every day (except when I have to boot Wintendo).

Hans-Christian

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hey!I had the same problem before,but now it can work under ubuntu6.06,you need download lzo2_2.02.orig.tar.gz,open it,
and do this

cd /root/lzo-2.02
.configure
make
make install

If you don`t use root ,you have to plus sudo before make
Hope it can help you!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

hce wrote:
Ubuntu 7.10 is way more mature than 6.xx anyway :)
[OT] 'sept it esploded my multiple monitors *grumblegrumble* >(

openSuSE ftw! 'sept it's kinda obvious no-one at Atmel uses SuSE, the toolchain binaries are still at 1.0.3 which doesn't recognize -mno-pic and eats kernel builds [/OT]

-S.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Right, squitgit ! ;)

What about pushing this into the openSUSE buildservice !

@atmel-guys: all needed are the sources and .spec-files.

If interested i could assist.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

thank you all. Now I use Ubuntu 7.10 and all is working fine.