Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Oct 2012 13:26:42 +0300
From:      Andriy Gapon <avg@FreeBSD.org>
To:        FreeBSD current <freebsd-current@FreeBSD.org>
Subject:   ranlib: warning: elf_strptr failed: Invalid argument
Message-ID:  <50827C62.2000605@FreeBSD.org>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50827C62.2000605>