This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Ar


Hi,
can you anybody help with compiling binutils ar program ?
I run Solaris 2.6 and when compiling ar program using supplied script (in
binutils/README) it ends up with error message in linking phase:
.
.
gcc -W -Wall -g -O2 -o ar arparse.o arlex.o ar.o not-ranlib.o arsup.o
rename.o bucomm.o version.o filemode.o ../bfd/aout32.o ../bfd/archive.o
../bfd/archures.o ../bfd/bfd.o ../bfd/binary.o ../bfd/cache.o
../bfd/coffgen.o ../bfd/corefile.o ../bfd/cpu-sparc.o ../bfd/dwarf1.o
../bfd/dwarf2.o ../bfd/elf.o ../bfd/elf32-gen.o ../bfd/elf32-sparc.o
../bfd/elf32.o ../bfd/elflink.o ../bfd/format.o ../bfd/hash.o ../bfd/ihex.o
../bfd/init.o ../bfd/libbfd.o ../bfd/linker.o ../bfd/opncls.o ../bfd/reloc.o
../bfd/section.o ../bfd/srec.o ../bfd/stab-syms.o ../bfd/stabs.o
../bfd/sunos.o ../bfd/syms.o ../bfd/targets.o ../bfd/tekhex.o 
Undefined                       first referenced
 symbol                             in file
_objalloc_alloc                     ../bfd/hash.o
objalloc_free_block                 ../bfd/opncls.o
_hex_value                          ../bfd/ihex.o
xexit                               ar.o
xstrerror                           ../bfd/bfd.o
objalloc_free                       ../bfd/hash.o
xmalloc_set_program_name            ar.o
hex_init                            ../bfd/ihex.o
xstrdup                             arlex.o
objalloc_create                     ../bfd/hash.o
xmalloc                             ar.o
xatexit                             ar.o
concat                              ../bfd/dwarf2.o
ld: fatal: Symbol referencing errors. No output written to ar
collect2: ld returned 1 exit status
make: *** [ar] Error 1
www-adm@sd01in01 [~/binutils-2.11] $

Can anybody help how to compile ar on Solaris 2.6 ?
Thanks.
Peter


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]