Hello, Gil Bahat!

can you help with troubleshooting?

I created some basic cygwin CI:

https://github.com/chipitsine/haproxy/blob/master/.travis.yml#L25-L30

it fails with

src/ev_poll.c:16:10: fatal error: poll.h: No such file or directory
 #include <poll.h>
          ^~~~~~~~
compilation terminated.
make: *** [Makefile:830: src/ev_poll.o] Error 1

(full log: https://travis-ci.com/chipitsine/haproxy/builds/114061737 )

do you know which package does "poll.h" belongs to ?


пн, 6 мая 2019 г. в 14:57, Gil Bahat <[email protected]>:

> Hi,
>
> is cygwin still supported anymore? the target seems to be present in the
> Makefiles and I'd love to be able to use it. I'm running into what seems to
> be a workable linker error:
>
> $ make TARGET=cygwin
>   LD      haproxy
> src/http_act.o:http_act.c:(.rdata+0x340): multiple definition of
> `.weak.ist_uc.'
> src/ev_poll.o:ev_poll.c:(.rdata+0x20): first defined here
> src/http_act.o:http_act.c:(.rdata+0x440): multiple definition of
> `.weak.ist_lc.'
> src/ev_poll.o:ev_poll.c:(.rdata+0x120): first defined here
> src/raw_sock.o:raw_sock.c:(.rdata+0x0): multiple definition of
> `.weak.ist_uc.'
> src/ev_poll.o:ev_poll.c:(.rdata+0x20): first defined here
> src/raw_sock.o:raw_sock.c:(.rdata+0x100): multiple definition of
> `.weak.ist_lc.'
> src/ev_poll.o:ev_poll.c:(.rdata+0x120): first defined here
> src/proto_uxst.o:proto_uxst.c:(.rdata+0x560): multiple definition of
> `.weak.ist_uc.___chkstk_ms'
> src/mux_h2.o:mux_h2.c:(.rdata+0x800): first defined here
> src/proto_uxst.o:proto_uxst.c:(.rdata+0x660): multiple definition of
> `.weak.ist_lc.___chkstk_ms'
> src/mux_h2.o:mux_h2.c:(.rdata+0x900): first defined here
> src/ev_select.o:ev_select.c:(.rdata+0x20): multiple definition of
> `.weak.ist_uc.'
> src/ev_poll.o:ev_poll.c:(.rdata+0x20): first defined here
> src/ev_select.o:ev_select.c:(.rdata+0x120): multiple definition of
> `.weak.ist_lc.'
> src/ev_poll.o:ev_poll.c:(.rdata+0x120): first defined here
> src/http_conv.o:http_conv.c:(.rdata+0x60): multiple definition of
> `.weak.ist_uc.'
> src/ev_poll.o:ev_poll.c:(.rdata+0x20): first defined here
> src/http_conv.o:http_conv.c:(.rdata+0x160): multiple definition of
> `.weak.ist_lc.'
> src/ev_poll.o:ev_poll.c:(.rdata+0x120): first defined here
> src/http_acl.o:http_acl.c:(.rdata+0x280): multiple definition of
> `.weak.ist_uc.'
> src/ev_poll.o:ev_poll.c:(.rdata+0x20): first defined here
> src/http_acl.o:http_acl.c:(.rdata+0x380): multiple definition of
> `.weak.ist_lc.'
> src/ev_poll.o:ev_poll.c:(.rdata+0x120): first defined here
> collect2: error: ld returned 1 exit status
> make: *** [Makefile:994: haproxy] Error 1
>
> it feels like it's something trivial but I'm not versed enough to get a
> hold on it. any help would be appreciated.
>
> Regards,
>
> Gil
>

Reply via email to