If you search under GBS_ROOT, you should be able to locate the file you're
looking for.  Maybe tizen puts the file in a different location...  I'm
away from my system or I'd search for it myself.

Paul


Paul Hanchett
-------------------
Infotainment Engineer
MSX on behalf of Jaguar Land Rover
One World Trade Center, 121 Southwest Salmon Street, 11th Floor, Portland,
Oregon, 97204

Email: [email protected]
-------------------

Business Details:
Jaguar Land Rover Limited
Registered Office: Abbey Road, Whitley, Coventry CV3 4LF
Registered in England No: 1672070


On Tue, Dec 10, 2013 at 10:03 AM, Joao Marinho Assis <[email protected]>wrote:

>  Hi all,
>
>
>
> I am trying to build a c test program using GBS, but it gives me this
> error:
>
>
>
> [   10s] cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
> -fmessage-length=0 -march=armv7-a -mtune=cortex-a8 -mlittle-endian
> -mfpu=vfpv3 -mfloat-abi=softfp -D__SOFTFP__ -mthumb
> -Wa,-mimplicit-it=thumb    test.c   -o cve-2013-1763
>
> [   10s] test.c:11:29: fatal error: linux/sock_diag.h: No such file or
> directory
>
> [   10s] compilation terminated.
>
>
>
> The includes I have are:
>
>
>
> #include <unistd.h>
>
> #include <sys/socket.h>
>
> #include <linux/netlink.h>
>
> #include <netinet/tcp.h>
>
> #include <errno.h>
>
> #include <linux/if.h>
>
> #include <linux/filter.h>
>
> #include <string.h>
>
> #include <stdio.h>
>
> #include <stdlib.h>
>
> *#include <linux/sock_diag.h>*
>
> #include <linux/inet_diag.h>
>
> #include <linux/unix_diag.h>
>
> #include <sys/mman.h>
>
>
>
> Does anyone can help me figure out how to make gbs use the correct kernel
> headers? How can I know the version used? I am not sure on how to do it in
> my packaging file.
>
>
>
> Thanks very much,
>
>
>
> --
> Joao Assis
>
> Samsung Electronics
>
>
>
>
>
> _______________________________________________
> General mailing list
> [email protected]
> https://lists.tizen.org/listinfo/general
>
>
_______________________________________________
General mailing list
[email protected]
https://lists.tizen.org/listinfo/general

Reply via email to