Hello Adam,

W dniu 2017-09-25 07:05, Adam Baxter napisaƂ(a):
It's failing on extcap.

make[2]: Entering directory '/wireshark/extcap'
(...)
  CC       udpdump.o
udpdump.c: In function 'setup_listener':
udpdump.c:126:9: error: variable 'timeout' has initializer but incomplete
type
  struct timeval timeout = { 1, 0 };

Thanks for reporting, missing timeval definition is now fixed by https://code.wireshark.org/review/23728/

The Dockerfile I'm using for this build is as follows:

FROM alpine:latest
MAINTAINER Adam Baxter <volta...@voltagex.org>
RUN apk --update add git
RUN git clone --depth=1 https://github.com/wireshark/wireshark
RUN apk add gcc libc-dev make libtool autoconf automake python pkgconfig bison flex
RUN apk add libgcrypt-dev glib-dev libpcap-dev c-ares-dev
RUN cd wireshark && ./autogen.sh
RUN cd wireshark && ./configure --disable-wireshark --without-plugins--enable-static
RUN cd wireshark && make -j8

I can compile wireshark if I clone from official repository:

RUN git clone --depth=1 https://code.wireshark.org/review/wireshark

and if I compile shared version:

RUN cd wireshark && CFLAGS="-O0 -pipe" ./configure --disable-wireshark --without-plugins


I'd still like to know how to disable / fix the warnings-as-errors.

Missing definition is an error, not warning.
In future you can disable warnings-as-errors with: ./configure --disable-warnings-as-errors

Kind regards,
Jakub.
___________________________________________________________________________
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-requ...@wireshark.org?subject=unsubscribe

Reply via email to