bladox.com Forum Index bladox.com
Turbo SIM Toolkit Adapter Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Linux Binutils installation

 
Post new topic   Reply to topic    bladox.com Forum Index -> Development
View previous topic :: View next topic  
Author Message
mitchy_g
Guest





PostPosted: Sun Dec 18, 2005 3:26 am    Post subject: Linux Binutils installation Reply with quote

Hi,
Im trying to compile and install binutils-2.14-turbo-1.0.2 on ubuntu 5.10. Configure runs fine, but during 'make' i get the following error:

Code:

In file included from ./targ-cpu.h:1,
                 from ./config/obj-elf.h:42,
                 from ./obj-format.h:1,
                 from ./config/te-linux.h:4,
                 from targ-env.h:1,
                 from as.h:616,
                 from app.c:30:
./config/tc-i386.h:516: error: array type has incomplete element type
make[3]: *** [app.o] Error 1
make[3]: Leaving directory `/home/mitch/bladox/binutils-2.14-turbo-1.0.2/gas'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/mitch/bladox/binutils-2.14-turbo-1.0.2/gas'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/home/mitch/bladox/binutils-2.14-turbo-1.0.2/gas'
make: *** [all-gas] Error 2


Am i doing anything wrong here? do i need to install some other packages?
Thanks for you help
Back to top
pz
Guest





PostPosted: Sun Dec 18, 2005 9:15 am    Post subject: Reply with quote

Are you sure the configuration was for AVR target? I.e. ./configure --target=avr ?

It doesn't make sense that build touches "./config/tc-i386.h" - this is for i386 platform. Something wrong went with ./configure.
Back to top
mitchy_g
Guest





PostPosted: Mon Dec 19, 2005 1:07 am    Post subject: Reply with quote

Thanks for the reply, i re-configured with ./configure --target=avr and got this error. As you said it still seems to be looking at i386 stuff, do i need to use make with a different command?

Code:
bucomm.o: In function `make_tempname':
/home/mitch/bladox/binutils-2.14-turbo-1.0.2/binutils/bucomm.c:441: warning: the use of `mktemp' is dangerous, better use `mkstemp'
../opcodes/.libs/libopcodes.a(disassemble.o): In function `disassembler':
./disassemble.c:86: undefined reference to `print_insn_i386'
collect2: ld returned 1 exit status
make[3]: *** [objdump] Error 1
make[3]: Leaving directory `/home/mitch/bladox/binutils-2.14-turbo-1.0.2/binutils'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/mitch/bladox/binutils-2.14-turbo-1.0.2/binutils'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/home/mitch/bladox/binutils-2.14-turbo-1.0.2/binutils'
make: *** [all-binutils] Error 2


Thanks again
Mitch
Back to top
pz
Guest





PostPosted: Tue Dec 20, 2005 11:57 am    Post subject: Reply with quote

Strange, very strange. Must be something wrong with autoconf in ubuntu. Could you delete whole dir and unter/configure it again? (configure leaves some cache so maybe there is a relict).
Back to top
mitchy_g
Guest





PostPosted: Tue Dec 20, 2005 1:17 pm    Post subject: Reply with quote

Thanks pz
Installation is fine now! As you said configure must leave cache

Very Happy
Back to top
Display posts from previous:   
Post new topic   Reply to topic    bladox.com Forum Index -> Development All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group