From: SourceForge.net <no...@so...> - 2012-05-15 08:30:09
|
Bugs item #3525233, was opened at 2012-05-09 11:54 Message generated for change (Comment added) made by nba You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112694&aid=3525233&group_id=12694 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: build/test Group: aix Status: Open Resolution: None Priority: 5 Private: No Submitted By: blentz (blentz) Assigned to: Niels Baggesen (nba) Summary: MSG_DONTWAIT undeclared Initial Comment: Building Net-SNMP 5.6.2rc1 on AIX 5.3 TL12 SP5 with GCC 4.2.0 results in the following error: making installlibs in /home/blentz/build/net-snmp-5.6.2.rc1/snmplib /bin/sh ../libtool --mode=compile gcc -Wl,-blibpath:/opt/local/net-snmp/lib:/usr/lib:/lib,-brtl -I../include -I. -I../snmplib -I/opt/local/net-snmp/include -fno-strict-aliasing -I/opt/local/net-snmp/include -Uaix5 -Daix5=aix5 -c -o transports/snmpUDPBaseDomain.lo transports/snmpUDPBaseDomain.c libtool: compile: gcc -Wl,-blibpath:/opt/local/net-snmp/lib:/usr/lib:/lib,-brtl -I../include -I. -I../snmplib -I/opt/local/net-snmp/include -fno-strict-aliasing -I/opt/local/net-snmp/include -Uaix5 -Daix5=aix5 -c transports/snmpUDPBaseDomain.c -DPIC -o transports/.libs/snmpUDPBaseDomain.o transports/snmpUDPBaseDomain.c: In function 'netsnmp_udpbase_sendto': transports/snmpUDPBaseDomain.c:252: error: 'MSG_DONTWAIT' undeclared (first use in this function) transports/snmpUDPBaseDomain.c:252: error: (Each undeclared identifier is reported only once transports/snmpUDPBaseDomain.c:252: error: for each function it appears in.) make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 2. Stop. ---------------------------------------------------------------------- >Comment By: Niels Baggesen (nba) Date: 2012-05-15 01:30 Message: The is some very complicated quoting in that perl system test. Coukld you post an extract og config.log around that failing test? ---------------------------------------------------------------------- Comment By: blentz (blentz) Date: 2012-05-14 20:11 Message: I will try it now. I also get this during configure: checking for python... no checking for uname... /usr/bin/uname checking whether the Perl function system() invokes a POSIX shell... syntax error at -e line 1, at EOF Execution of -e aborted due to compilation errors. ./configure[5837]: : cannot execute ./configure[5837]: "');': unknown test operator yes checking for gcc... gcc -Wl,-blibpath:/opt/local/net-snmp/lib:/usr/lib:/lib,-brtl checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no ---------------------------------------------------------------------- Comment By: Niels Baggesen (nba) Date: 2012-05-13 21:48 Message: Could you try the attached patch, backported from 5.7 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112694&aid=3525233&group_id=12694 |