problem building kernel

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

problem building kernel

matteo filippetto
Hi,

I have a system at 4.9 on i386 arch.

I'm trying to building kernel ( http://www.openbsd.org/faq/faq5.html#BldKernel )
following -current  (http://www.openbsd.org/faq/faq5.html#BldGetSrc )

But on every "make" I get

ioconf.c:1053: warning: excess elements in struct initializer
ioconf.c:1053: warning: (near initialization for 'cfdata[0]')

(see make.log for detailed error message)

Any ideas?

--
Matteo Filippetto
http://www.op83.eu

[demime 1.01d removed an attachment of type text/x-log which had a name of make.log]

[demime 1.01d removed an attachment of type application/octet-stream which had a name of dmesg.boot]

Reply | Threaded
Open this post in threaded view
|

Re: problem building kernel

Carson Chittom-3
matteo filippetto <[hidden email]> writes:

> (see make.log for detailed error message)

The mailing list automatically strips attachments; you have to include
them in the body of your mail.

--
http://www.wistly.net

Reply | Threaded
Open this post in threaded view
|

Re: problem building kernel

Otto Moerbeek
In reply to this post by matteo filippetto
On Wed, Oct 12, 2011 at 05:23:11PM +0200, matteo filippetto wrote:

> Hi,
>
> I have a system at 4.9 on i386 arch.
>
> I'm trying to building kernel ( http://www.openbsd.org/faq/faq5.html#BldKernel )
> following -current  (http://www.openbsd.org/faq/faq5.html#BldGetSrc )
>
> But on every "make" I get
>
> ioconf.c:1053: warning: excess elements in struct initializer
> ioconf.c:1053: warning: (near initialization for 'cfdata[0]')
>
> (see make.log for detailed error message)
>
> Any ideas?

If you can't figue out these things yourself, upgrade to a snapshot.
Or at least read http://www.openbsd.org/faq/current.html.

        -Otto

Reply | Threaded
Open this post in threaded view
|

Re: problem building kernel

matteo filippetto
>> Any ideas?
>
> If you can't figue out these things yourself, upgrade to a snapshot.
> Or at least read http://www.openbsd.org/faq/current.html.
>
> B  B  B  B -Otto
>

ok,

i'll install a snapshot ASAP and let you know

Regards

Matteo Filippetto


--
Matteo Filippetto
http://www.op83.eu

Reply | Threaded
Open this post in threaded view
|

Re: problem building kernel

matteo filippetto
In reply to this post by Otto Moerbeek
2011/10/12 Otto Moerbeek <[hidden email]>:
> If you can't figue out these things yourself, upgrade to a snapshot.
> Or at least read http://www.openbsd.org/faq/current.html.
>

ok I miss this ....

2011/05/31 - -current config(8) required to build kernel
config(8) needs to be built and installed to avoid "excess elements in
struct initializer" errors in ioconf.o during a kernel build:.....

kernel compiled with no problem, thanks.

Regards

--
Matteo Filippetto
http://www.op83.eu