Re: compile net-snmp-5.7.1 under Cygwin reports error

Tao Zhou <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CABxXLFZ20MbJTE76WrK+fV7hpcQcZdALVVO0mEkD6jsPS1YcvQ@mail.gmail.com>
Hi Dave,

Following your two questions, please see below section from config.log for
the answer, seems that the test results are all empty!

BTW, I have tried to compile net-snmp-5.7.1 and net-snmp-5.6.1.1 on several
Windows machines, from Windows XP to Windows 7, and all got the same
failure.

-----------------------------
| #include <picl.h>
configure:17222: result: no
configure:17222: checking for picl.h
configure:17222: result: no
configure:17335: checking size of short
configure:17340: gcc -o conftest.exe -fno-strict-aliasing -g -O2 -Ucygwin
-Dcygwin=cygwin   conftest.c  >&5
configure:17340: $? = 0
configure:17340: ./conftest.exe
configure:17340: $? = 0
configure:17354: result:
configure:17368: checking size of int
configure:17373: gcc -o conftest.exe -fno-strict-aliasing -g -O2 -Ucygwin
-Dcygwin=cygwin   conftest.c  >&5
configure:17373: $? = 0
configure:17373: ./conftest.exe
configure:17373: $? = 0
configure:17387: result:
configure:17401: checking size of long
configure:17406: gcc -o conftest.exe -fno-strict-aliasing -g -O2 -Ucygwin
-Dcygwin=cygwin   conftest.c  >&5
configure:17406: $? = 0
configure:17406: ./conftest.exe
configure:17406: $? = 0
configure:17420: result:
configure:17434: checking size of long long
configure:17439: gcc -o conftest.exe -fno-strict-aliasing -g -O2 -Ucygwin
-Dcygwin=cygwin   conftest.c  >&5
configure:17439: $? = 0
configure:17439: ./conftest.exe
configure:17439: $? = 0
configure:17453: result:
configure:17467: checking size of intmax_t
configure:17472: gcc -o conftest.exe -fno-strict-aliasing -g -O2 -Ucygwin
-Dcygwin=cygwin   conftest.c  >&5
configure:17472: $? = 0
configure:17472: ./conftest.exe
configure:17472: $? = 0
configure:17486: result:
configure:17497: checking for int8_t
configure:17497: gcc -c -fno-strict-aliasing -g -O2 -Ucygwin
-Dcygwin=cygwin  conftest.c >&5
configure:17497: $? = 0
configure:17497: gcc -c -fno-strict-aliasing -g -O2 -Ucygwin
-Dcygwin=cygwin  conftest.c >&5
conftest.c: In function `main':
conftest.c:160: error: size of array `test_array' is negative
configure:17497: $? = 1
configure: failed program was:
----------------------------------

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.