LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: "chas williams - CONTRACTOR" <chas@cmf.nrl.navy.mil>
To: Andrew Walrond <andrew@walrond.org>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: Kernel headers - linux-atm userspace build broken by recent change; __be16 undefined
Date: Thu, 18 Jan 2007 16:51:14 -0500	[thread overview]
Message-ID: <200701182151.l0ILpEnF024936@cmf.nrl.navy.mil> (raw)
In-Reply-To: <45AFE52C.30308@walrond.org>

it might be that the userspace code shouldnt be including if_arp.h.
can you try that instead?

In message <45AFE52C.30308@walrond.org>,Andrew Walrond writes:
>Don't know exactly when this change went in, but it's not in 2.6.18.3 
>and is in 2.6.19.2+
>
>  $ diff linux/include/linux/if_arp.h linux-2.6/include/linux/if_arp.h
>133,134c133,134
><       unsigned short  ar_hrd;         /* format of hardware address   */
><       unsigned short  ar_pro;         /* format of protocol address   */
>---
> >       __be16          ar_hrd;         /* format of hardware address   */
> >       __be16          ar_pro;         /* format of protocol address   */
>137c137
><       unsigned short  ar_op;          /* ARP opcode (command)         */
>---
> >       __be16          ar_op;          /* ARP opcode (command)         */
>
>
>This causes the linux-atm userspace compile to fail like this:
>
>In file included from arp.c:19:
>/usr/include/linux/if_arp.h:133: error: expected 
>specifier-qualifier-list before '__be16'
>
>I guess if_arp.h needs to include include/linux/byteorder/big_endian.h?
>
>Andrew Walrond

  reply	other threads:[~2007-01-18 22:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-18 21:22 Andrew Walrond
2007-01-18 21:51 ` chas williams - CONTRACTOR [this message]
2007-01-19 14:37 ` Adrian Bunk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200701182151.l0ILpEnF024936@cmf.nrl.navy.mil \
    --to=chas@cmf.nrl.navy.mil \
    --cc=andrew@walrond.org \
    --cc=chas3@users.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    --subject='Re: Kernel headers - linux-atm userspace build broken by recent change; __be16 undefined' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).