linux/sock_diag.h for use with netlink sockets
yangmin zhu
zym0017d at gmail.com
Thu Aug 7 05:12:41 UTC 2014
Hi Zubin,
On Thu, Aug 7, 2014 at 12:10 PM, Zubin Mithra <zubin.mithra at gmail.com> wrote:
>
> Upon compiling my code I got the error stating :-
> fatal error: linux/sock_diag.h: No such file or directory
>
> As per instructions I found, I tried doing the following :-
> sudo ln -sfn /usr/src/linux-headers-3.8.0-29-generic /usr/src/linux
>
> However, the error seems to persist. Is there something obvious that
> I'm missing/doing wrong?
maybe you can use gcc -v to compile the source code, the option -v
will print out the
searching pathes for headers of gcc.
And then you can see why gcc could not find the sock_diag.h, I think
it's just not in the searching
path of gcc.
--
YangMin
More information about the Strace-devel
mailing list