binutils Compile Problems.

Programming, for all ages and all languages.
Post Reply
CommunistPancake
Posts: 10
Joined: Mon Jun 27, 2011 3:34 pm

binutils Compile Problems.

Post by CommunistPancake »

I'm trying to compile binutils 2.20 with Cygwin for the GCC Cross-Compiler article. I've downloaded all the sources, but it doesn't want to compile.

Attached are the error and config logs.
Attachments
config.txt
Config Log
(23.07 KiB) Downloaded 63 times
error.txt
Error Log
(2.05 KiB) Downloaded 48 times
Last edited by CommunistPancake on Mon Jun 27, 2011 7:35 pm, edited 1 time in total.
Sorry Linker, but your function is in another file!
gerryg400
Member
Member
Posts: 1801
Joined: Thu Mar 25, 2010 11:26 pm
Location: Melbourne, Australia

Re: binutils Compile Problems.

Post by gerryg400 »

your config.txt file wrote: $ ../pack/binutils/configure --target= --prefix= --disable-nls
It seems like the $TARGET and $PREFIX are not set
If a trainstation is where trains stop, what is a workstation ?
CommunistPancake
Posts: 10
Joined: Mon Jun 27, 2011 3:34 pm

Re: binutils Compile Problems.

Post by CommunistPancake »

gerryg400 wrote:
your config.txt file wrote: $ ../pack/binutils/configure --target= --prefix= --disable-nls
It seems like the $TARGET and $PREFIX are not set
I know, I actually noticed that before compiling and reconfigured. I'll upload the new config.
Sorry Linker, but your function is in another file!
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re: binutils Compile Problems.

Post by Solar »

It croaks on the supporting Unix functions.

Is this really the topmost error? No include files not found earlier?

Right now I suspect a broken Cygwin setup.
Every good solution is obvious once you've found it.
CommunistPancake
Posts: 10
Joined: Mon Jun 27, 2011 3:34 pm

Re: binutils Compile Problems.

Post by CommunistPancake »

Solar wrote:It croaks on the supporting Unix functions.

Is this really the topmost error? No include files not found earlier?

Right now I suspect a broken Cygwin setup.
It does seem so:

Code: Select all

checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for sys/file.h... yes
checking for sys/param.h... yes
checking for limits.h... yes
checking for stdlib.h... (cached) yes
checking for malloc.h... yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for strings.h... (cached) yes
checking for sys/time.h... yes
checking for time.h... yes
checking for sys/resource.h... no
checking for sys/stat.h... (cached) yes
checking for sys/mman.h... no
checking for fcntl.h... yes
checking for alloca.h... no
checking for sys/pstat.h... no
checking for sys/sysmp.h... no
checking for sys/sysinfo.h... no
checking for machine/hal_sysinfo.h... no
checking for sys/table.h... no
checking for sys/sysctl.h... no
checking for sys/systemcfg.h... no
checking for stdint.h... (cached) yes
checking for stdio_ext.h... no
I'll try re-installing to see if that works.
Sorry Linker, but your function is in another file!
CommunistPancake
Posts: 10
Joined: Mon Jun 27, 2011 3:34 pm

Re: binutils Compile Problems.

Post by CommunistPancake »

Ok, it seems to work now. Thanks for the help :)
Sorry Linker, but your function is in another file!
Post Reply