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.
binutils Compile Problems.
-
- Posts: 10
- Joined: Mon Jun 27, 2011 3:34 pm
binutils Compile Problems.
- Attachments
-
- config.txt
- Config Log
- (23.07 KiB) Downloaded 62 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!
Re: binutils Compile Problems.
It seems like the $TARGET and $PREFIX are not setyour config.txt file wrote: $ ../pack/binutils/configure --target= --prefix= --disable-nls
If a trainstation is where trains stop, what is a workstation ?
-
- Posts: 10
- Joined: Mon Jun 27, 2011 3:34 pm
Re: binutils Compile Problems.
I know, I actually noticed that before compiling and reconfigured. I'll upload the new config.gerryg400 wrote:It seems like the $TARGET and $PREFIX are not setyour config.txt file wrote: $ ../pack/binutils/configure --target= --prefix= --disable-nls
Sorry Linker, but your function is in another file!
Re: binutils Compile Problems.
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.
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.
-
- Posts: 10
- Joined: Mon Jun 27, 2011 3:34 pm
Re: binutils Compile Problems.
It does seem so: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.
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
Sorry Linker, but your function is in another file!
-
- Posts: 10
- Joined: Mon Jun 27, 2011 3:34 pm
Re: binutils Compile Problems.
Ok, it seems to work now. Thanks for the help
Sorry Linker, but your function is in another file!