Fakeroot problem in buildroot

Last post
5 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello,

I've recently been trying to use the buildroot utility to create an image for the NGW100. Unfortunately i can't get it to work.
I followed the instructions from Atmels user guide but it hangs when i make.

I am using Ubuntu 6.10 running on VMware

make[3]: Entering directory `/home/johan/Desktop/linux/buildroot-poging2/toolchain_build_avr32_nofpu/fakeroot-1.8-host'
CONFIG_FILES= CONFIG_HEADERS= /bin/sh ./config.status
config.status: executing depfiles commands
config.status: executing libtool commands
/bin/sh ./libtool --tag=CC   --mode=link /usr/bin/gcc  -g -O2   -o faked faked.o libcommunicate.la -ldl 
eval: 1: libtool_args+=: not found
eval: 1: compile_command+=: not found
eval: 1: finalize_command+=: not found
eval: 1: libtool_args+=: not found
eval: 1: compile_command+=: not found
eval: 1: finalize_command+=: not found
eval: 1: libtool_args+=: not found
eval: 1: compile_command+=: not found
eval: 1: finalize_command+=: not found
eval: 1: libtool_args+=: not found
eval: 1: compile_command+=: not found
eval: 1: finalize_command+=: not found
eval: 1: libtool_args+=: not found
eval: 1: compile_command+=: not found
eval: 1: finalize_command+=: not found
eval: 1: libtool_args+=: not found
eval: 1: libtool_args+=: not found
libtool: link: /usr/bin/gcc  ./.libs/libcommunicate.a -ldl
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'
collect2: ld returned 1 exit status
make[3]: *** [faked] Error 1
make[3]: Leaving directory `/home/johan/Desktop/linux/buildroot-poging2/toolchain_build_avr32_nofpu/fakeroot-1.8-host'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/johan/Desktop/linux/buildroot-poging2/toolchain_build_avr32_nofpu/fakeroot-1.8-host'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/johan/Desktop/linux/buildroot-poging2/toolchain_build_avr32_nofpu/fakeroot-1.8-host'
make: *** [/home/johan/Desktop/linux/buildroot-poging2/toolchain_build_avr32_nofpu/fakeroot-1.8-host/faked] Error 2

I googled and searched everywhere but i can only find someone with the same problem here but he hasn't been answered :(

I think it has something to do with having the wrong version of a library or something.

I hope someone can help me... Thanks in advance!

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

Could you change to use the snapshot Buildroot for AVR32?

PS! Always state which version of Buildroot for AVR32 you are using :)

Hans-Christian

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

Thanks for the fast reply. I'm using (from atmel's website)

Buildroot for AVR32 (6.1 MB, revision 2.1.0-rc5, updated 20070924)
Release candidate, not fully tested. Some packages may not work for AVR32 architecture.
This release is base on upstream Buildroot snapshot 20070718.

=)

Downloading the latest snapshot from the site...

Edit: theres a snapshot at the bottom i see, dont have to use the one from uclib :);)

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

I could never get fakeroot 1.8* to compile either. A quick fix is to change the version number at the top of package/fakeroot/fakeroot.mk to 1.5.10, that one works just about fine.

Donno what the problem is, I haven't bothered to investigate too much.

-S.

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

The problem is some borked libtool stuff in the downloaded source code. I tried adding a patch for it which should be in the latest snapshot.

Hans-Christian