(unknown charset) ranlib: warning: elf_strptr failed: Invalid argument

From: (unknown charset) Andriy Gapon <avg_at_FreeBSD.org>
Date: Sat, 20 Oct 2012 13:26:42 +0300
I am getting the following while executing make toolchain TARGET=pc98:
building static roken library
ranlib libroken.a
ranlib: warning: elf_strptr failed: Invalid argument
ranlib: warning: elf_strptr failed: Invalid argument
ranlib: warning: elf_strptr failed: Invalid argument
ranlib: warning: elf_strptr failed: Invalid argument
ranlib: warning: elf_strptr failed: Invalid argument
ranlib: warning: elf_strptr failed: Invalid argument
ranlib: warning: elf_strptr failed: Invalid argument
ranlib: warning: elf_strptr failed: Invalid argument
ranlib: warning: elf_strptr failed: Invalid argument
ranlib: warning: elf_strptr failed: Invalid argument
ranlib: warning: elf_strptr failed: Invalid argument
ranlib: warning: elf_strptr failed: Invalid argument
ranlib: warning: elf_strptr failed: Invalid argument
ranlib: warning: elf_strptr failed: Invalid argument
ranlib: warning: elf_strptr failed: Invalid argument
ranlib: warning: elf_nextscn failed: Invalid argument
ranlib: warning: can't find .strtab section
...
cc -O2 -pipe
-I/usr/devel/svn/base/head/kerberos5/tools/asn1_compile/../../../crypto/heimdal/lib/roken
-I/usr/devel/svn/base/head/kerberos5/tools/asn1_compile/../../../crypto/heimdal/lib/asn1
-I. -DHAVE_CONFIG_H
-I/usr/devel/svn/base/head/kerberos5/tools/asn1_compile/../../include -std=gnu99
  -I/usr/obj/pc98.i386/usr/devel/svn/base/head/tmp/legacy/usr/include  -static
-L/usr/obj/pc98.i386/usr/devel/svn/base/head/tmp/legacy/usr/lib -o asn1_compile
asn1parse.o gen.o gen_copy.o gen_decode.o gen_encode.o gen_free.o gen_glue.o
gen_length.o gen_seq.o gen_template.o hash.o lex.o main.o symbol.o
/usr/obj/pc98.i386/usr/devel/svn/base/head/tmp/usr/devel/svn/base/head/kerberos5/tools/asn1_compile/../../lib/libroken/libroken.a
/usr/obj/pc98.i386/usr/devel/svn/base/head/tmp/usr/devel/svn/base/head/kerberos5/tools/asn1_compile/../../lib/libvers/libvers.a
-legacy
main.o: In function `usage':
main.c:(.text+0x17): undefined reference to `arg_printusage'
main.o: In function `main':
main.c:(.text+0x77): undefined reference to `getarg'
main.c:(.text+0x1f6): undefined reference to `getarg'

Ruuning nm on libroken.a gives:
nm: getarg.o: File format not recognized


Any ideas?

-- 
Andriy Gapon
Received on Sat Oct 20 2012 - 08:26:46 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:31 UTC