From owner-freebsd-current@FreeBSD.ORG Sat Oct 20 10:26:46 2012 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 487C1E39 for ; Sat, 20 Oct 2012 10:26:46 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 928748FC16 for ; Sat, 20 Oct 2012 10:26:45 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id NAA08491 for ; Sat, 20 Oct 2012 13:26:44 +0300 (EEST) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1TPWGR-000ArM-PI for freebsd-current@freebsd.org; Sat, 20 Oct 2012 13:26:43 +0300 Message-ID: <50827C62.2000605@FreeBSD.org> Date: Sat, 20 Oct 2012 13:26:42 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:16.0) Gecko/20121013 Thunderbird/16.0.1 MIME-Version: 1.0 To: FreeBSD current Subject: ranlib: warning: elf_strptr failed: Invalid argument X-Enigmail-Version: 1.4.5 Content-Type: text/plain; charset=X-VIET-VPS Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Oct 2012 10:26:46 -0000 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