Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Mar 2012 19:23:41 -0400
From:      Ryan Stone <rysto32@gmail.com>
To:        =?ISO-8859-1?Q?Fernando_Apestegu=EDa?= <fernando.apesteguia@gmail.com>
Cc:        FreeBSD Hackers <freebsd-hackers@freebsd.org>
Subject:   Re: hack.So: could not read symbols
Message-ID:  <CAFMmRNzMLOaGv7i5h=xO1DZoy9uTRTr25PMGmpaT46bb8OWZbg@mail.gmail.com>
In-Reply-To: <CAGwOe2aUkegB_KjrUMjhmTSiE0%2BFg%2BF%2BDRu6znf8N5DMMLBjyg@mail.gmail.com>
References:  <CAGwOe2aUkegB_KjrUMjhmTSiE0%2BFg%2BF%2BDRu6znf8N5DMMLBjyg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
2012/3/12 Fernando Apestegu=EDa <fernando.apesteguia@gmail.com>:
> I'm using 9.0-RELEASE.
>
> I downloaded the snapshot "9.0-CURRENT-201012" and tried to build it's
> kernel but I get this error:
>
> hack.So: could not read symbols: File in wrong format
>
> file reports this:
>
> ELF 64-bit LSB shared object, x86-64, version 1 (FreeBSD), dynamically
> linked, not stripped
>
> I compared this file with the same file generated during the
> compilation of the 9.0-RELEASE GENERIC kernel and they are identical.
>
> What's the problem here?

I saw a similar issue trying to build a stable/8 kernel on
9.0-RELEASE.  Doing a make kernel-toolchain before make buildkernel
fixed the issue.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFMmRNzMLOaGv7i5h=xO1DZoy9uTRTr25PMGmpaT46bb8OWZbg>