I
Intaek LIM
hi guys.
i just got a library for generating packets.
but, i can't compile the example source because of bad include path.
------------------------------------------------------------------------
D:\libnet\sample>gcc tcp1.c
In file included from tcp1.c:36:
libnet_test.h:12:31: ../include/libnet.h: No such file or directory
In file included from tcp1.c:36:
libnet_test.h:24: parse error before "enet_src"
libnet_test.h:24: warning: data definition has no type or storage class
libnet_test.h:25: parse error before "enet_dst"
libnet_test.h:25: warning: data definition has no type or storage class
libnet_test.h:26: parse error before "ip_src"
libnet_test.h:26: warning: data definition has no type or storage class
------------------------------------------------------------------------
the path of libnet.h is in D:\libnet\include\libnet.h, but gcc can't
compile tcp1.c
how can i solve this?
thanks
lim
i just got a library for generating packets.
but, i can't compile the example source because of bad include path.
------------------------------------------------------------------------
D:\libnet\sample>gcc tcp1.c
In file included from tcp1.c:36:
libnet_test.h:12:31: ../include/libnet.h: No such file or directory
In file included from tcp1.c:36:
libnet_test.h:24: parse error before "enet_src"
libnet_test.h:24: warning: data definition has no type or storage class
libnet_test.h:25: parse error before "enet_dst"
libnet_test.h:25: warning: data definition has no type or storage class
libnet_test.h:26: parse error before "ip_src"
libnet_test.h:26: warning: data definition has no type or storage class
------------------------------------------------------------------------
the path of libnet.h is in D:\libnet\include\libnet.h, but gcc can't
compile tcp1.c
how can i solve this?
thanks
lim