Wireshark mailing list archives

Re: compilation problem


From: ronnie sahlberg <ronniesahlberg () gmail com>
Date: Tue, 12 Sep 2017 19:16:23 +1000

Add "-I.."  to your compiler flags.

On Tue, Sep 12, 2017 at 7:12 PM, Sadik Sikder <sadiksikder () gmail com> wrote:
Hello all
i am trying to compile a file like packet-ssl-utils.c. the compilation
command is below

ssikder@ssikder:~/Desktop/wireshark_source_code/epan/dissectors$  gcc -o foo
packet-ssl-utils.c `libgcrypt-config --cflags --libs`

In returns it gives --
ssikder@ssikder:~/Desktop/wireshark_source_code/epan/dissectors$
packet-ssl-utils.h:29:18: fatal error: epan/packet.h: No such file or
directory compilation terminated.

Since the epan/packet.h file is available in the certain folder, although it
could not find. it gives error.

my question is regarding this scenerio...

is one such specific file compilation valid ?
is there any false command in my compilation ?


Thanks in advance...




Kind Regards,

Samsuddin Sikder


___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: