Re: Error in including IEEE802154.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe linux-wpan" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux