Results 1 to 5 of 5
Hi everybody,
I recently trying to install GNU binutils on my Xubuntu machine. I need them for programming avr microcontrollers. If I manage to install binutils I will continue with ...
- 01-11-2008 #1Just Joined!
- Join Date
- Jan 2008
- Posts
- 8
GNU binutils installation problem
Hi everybody,
I recently trying to install GNU binutils on my Xubuntu machine. I need them for programming avr microcontrollers. If I manage to install binutils I will continue with AVR gcc, AVR C-library and the programmer Anyway, I downloaded file binutils-2.15.tar.bz2, extracted it with "tar jxvf" command, and I typed following commands:
cd binutils-2.15/
mkdir obj-avr
cd obj-avr
../configure --target=avr --prefix=/usr/local/avr --disable-nls,
after the last command (../configure etc etc) I took the following message and it stops
loading cache ./config.cache
checking host system type... i686-pc-linux-gnulibc1
checking target system type... avr-unknown-none
checking build system type... i686-pc-linux-gnulibc1
checking for a BSD compatible install... /usr/bin/install -c
*** This configuration is not supported in the following subdirectories:
target-libiberty
(Any other directories should still work fine.)
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
*** The command 'gcc -o conftest -g -O2 conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
My personal idea is that it is looking for the file in the wrong place. Can anyone tell me what is wrong and what is the solution. Thanks in advance and sorry if it is not the right place to post such a topic.
- 01-11-2008 #2
Not sure exactly what your problem is, but the first thing I would do is make sure you have the build-essential metapackage installed.
Code:sudo apt-get install build-essential
Registered Linux user #270181
TechieMoe's Tech Rants
- 01-11-2008 #3Just Joined!
- Join Date
- Jan 2008
- Posts
- 8
Yeah I have seen some similar solution. People say that While using gcc on a newly installed system I might get that error. Proposed solution is using
apt-get install libc6-dev
Similar to your solution, however when I run this I got that:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libc6-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package libc6-dev has no installation candidate
do you have any idea how can I get apt-get to work??
- 01-11-2008 #4
Do you have an internet connection on this box?
Registered Linux user #270181
TechieMoe's Tech Rants
- 01-12-2008 #5Just Joined!
- Join Date
- Jan 2008
- Posts
- 8
Thanks for everyone replied, problem solved I have updated aptitude using synaptic package manager and problem solved.


Reply With Quote