From: Alexander Aring <alex.aring@gmail.com>
To: Matteo Petracca <matteo.petracca@sssup.it>
Cc: linux-wpan@vger.kernel.org
Subject: Re: Error in including IEEE802154.h
Date: Fri, 8 May 2015 18:53:18 +0200 [thread overview]
Message-ID: <20150508165315.GC15416@omega> (raw)
In-Reply-To: <554CABCA.7080909@sssup.it>
Hi,
On Fri, May 08, 2015 at 02:27:54PM +0200, Matteo Petracca wrote:
> Hi,
> the program that I am trying to compile is the test1.c
> in the lowpan-tools.
>
> #include <linux/sockios.h>
> #include <net/if.h>
> #include <sys/ioctl.h>
> #include <sys/socket.h>
> #include <stdio.h>
> #include <stdint.h>
> #include <string.h>
> #include <unistd.h>
>
> #include "ieee802154.h"
>
you know what this code does?
It search at first in the local dir where "test1.c" is stored for the
"ieee802154.h" header. Which means it's a local header.
A fallback behaviour of gcc will search this header in your given
include path which are given by -I and -stdinc gcc arguments.
What I can told you now that we don't deliver any headers into userspace
side with the kernel-headers. So this header comes from the lowpan-tools
package. Maybe tyoe a `find -name "ieee802154.h" $LOWPAN_TOOLS_DIR` in
your shell, to find it or whereever your include paths belongs to which
are given over "-I" of gcc call.
- Alex
prev parent reply other threads:[~2015-05-08 16:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-07 16:49 Error in including IEEE802154.h Matteo Petracca
2015-05-08 11:50 ` Alexander Aring
2015-05-08 12:27 ` Matteo Petracca
2015-05-08 16:53 ` Alexander Aring [this message]
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=20150508165315.GC15416@omega \
--to=alex.aring@gmail.com \
--cc=linux-wpan@vger.kernel.org \
--cc=matteo.petracca@sssup.it \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.