Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Mar 2012 22:34:08 +0100
From:      =?ISO-8859-1?Q?Fernando_Apestegu=EDa?= <fernando.apesteguia@gmail.com>
To:        Ryan Stone <rysto32@gmail.com>
Cc:        FreeBSD Hackers <freebsd-hackers@freebsd.org>
Subject:   Re: hack.So: could not read symbols
Message-ID:  <CAGwOe2YUEo-BKV7sW475JZvLRp=GEC-b_G-GkP_gTt2N8Vn8Aw@mail.gmail.com>
In-Reply-To: <CAFMmRNzMLOaGv7i5h=xO1DZoy9uTRTr25PMGmpaT46bb8OWZbg@mail.gmail.com>
References:  <CAGwOe2aUkegB_KjrUMjhmTSiE0%2BFg%2BF%2BDRu6znf8N5DMMLBjyg@mail.gmail.com> <CAFMmRNzMLOaGv7i5h=xO1DZoy9uTRTr25PMGmpaT46bb8OWZbg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Mar 13, 2012 at 12:23 AM, Ryan Stone <rysto32@gmail.com> wrote:
> 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. =A0Doing a make kernel-toolchain before make buildkernel
> fixed the issue.

Yep, that was it. Thank you!

I was able to compile the kernel but it can not mount root fs. It
reports error 19 (ENODEV). Weird. It tries to mount ada0p2 that is
properly detected if I type "?" when I get the mount prompt.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGwOe2YUEo-BKV7sW475JZvLRp=GEC-b_G-GkP_gTt2N8Vn8Aw>