[gccsdk] Compiling on FreeBSD

Matthew Hambley lists at aether.demon.co.uk
Thu Sep 4 10:48:54 PDT 2008


I'm having trouble getting GCC4-head to compile. My system is FreeBSD 
but I've installed the correct version of automake/autoconf locally so 
that shouldn't be a problem.

The tale end of the output is as follows:

/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H  -I. 
-I/home/riscos/gccsdk/gcc4/srcdir/bfd -I. -I. 
-I/home/riscos/gccsdk/gcc4/srcdir/bfd 
-I/home/riscos/gccsdk/gcc4/srcdir/bfd/../include 
-I/home/riscos/gccsdk/gcc4/srcdir/bfd/../intl -I../intl    -W -Wall 
-Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -c -o 
elf32-arm.lo /home/riscos/gccsdk/gcc4/srcdir/bfd/elf32-arm.c
gcc -DHAVE_CONFIG_H -I. -I/home/riscos/gccsdk/gcc4/srcdir/bfd -I. -I. 
-I/home/riscos/gccsdk/gcc4/srcdir/bfd 
-I/home/riscos/gccsdk/gcc4/srcdir/bfd/../include 
-I/home/riscos/gccsdk/gcc4/srcdir/bfd/../intl -I../intl -W -Wall 
-Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -c 
/home/riscos/gccsdk/gcc4/srcdir/bfd/elf32-arm.c -o elf32-arm.o
cc1: warnings being treated as errors
/home/riscos/gccsdk/gcc4/srcdir/bfd/elf32-arm.c:2142: warning: no 
previous prototype for 'bfd_elf32_arm_create_riscos_module_reloc'
/home/riscos/gccsdk/gcc4/srcdir/bfd/elf32-arm.c:2222: warning: no 
previous prototype for 'bfd_elf32_arm_allocate_riscos_module_reloc'
*** Error code 1

Stop in /home/riscos/gccsdk/gcc4/builddir-cross/bfd.
*** Error code 1

Stop in /home/riscos/gccsdk/gcc4/builddir-cross/bfd.
*** Error code 1

Stop in /home/riscos/gccsdk/gcc4/builddir-cross/bfd.
*** Error code 1

Stop in /home/riscos/gccsdk/gcc4/builddir-cross.
*** Error code 1

Stop in /home/riscos/gccsdk/gcc4/builddir-cross.
./install-env: line 41: /home/riscos/cross/bin/arm-unknown-riscos-ar: No 
such file or directory


I don't know where these missing prototypes should be defined so can't 
find out why they haven't. Has this problem been observed and/or solved 
before? Has anyone ever had any luck building on FreeBSD?

Thanks.

-- 
(\/)atthew




More information about the gcc mailing list