Here is part of the config.log file that contains the error, but I still
don't know how to fix the problem.
configure:38663:
/cygdrive/c/Comms/NonVitalCore/build-tools/gcc-3.3.4-glibc-2.3.2/arm-unknown-linux-gnu/bin/arm-unknown-linux-gnu-gcc
-c -fno-strict-aliasing -g -O2 -Ulinux -Dlinux=linux
-DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -g3 -fno-strict-aliasing -pipe
-fstack-protector -I/usr/local/include
-I/usr/lib/perl5/5.10/i686-cygwin/CORE conftest.c >&5
cc1: error: unrecognized option `-fstack-protector'
configure:38670: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "Net-SNMP"
| #define PACKAGE_TARNAME "net-snmp"
| #define PACKAGE_VERSION "5.6.1.1"
| #define PACKAGE_STRING "Net-SNMP 5.6.1.1"
| #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net"
| #define NETSNMP_CONFIGURE_OPTIONS " '--disable-applications'
'--with-defaults' '--disable-option-checking--disable-manuals'
'--disable-scripts' '--host=arm-linux' '--target=arm-linux'
'--without-openssl' '--with-endianness=little'
'--with-cc=/cygdrive/c/Comms/NonVitalCore/build-tools/gcc-3.3.4-glibc-2.3.2/arm-unknown-linux-gnu/bin/arm-unknown-linux-gnu-gcc'
'--with-ar=/cygdrive/c/Comms/NonVitalCore/build-tools/gcc-3.3.4-glibc-2.3.2/arm-unknown-linux-gnu/bin/arm-unknown-linux-gnu-ar'
'host_alias=arm-linux' 'target_alias=arm-linux'"
| #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1
| #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1
| #define NETSNMP_PERSISTENT_MASK 077
| #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX"
| #define NETSNMP_NO_DUMMY_VALUES 1
| #define NETSNMP_AGENTX_SOCKET "/var/agentx/master"
| #define NETSNMP_DEFAULT_SNMP_VERSION 3
| #define NETSNMP_SYS_CONTACT "@@no.where"
| #define NETSNMP_SYS_LOC "Unknown"
| #define NETSNMP_LOGFILE "/var/log/snmpd.log"
| #define NETSNMP_PERSISTENT_DIRECTORY "/var/net-snmp"
| #define UNAMEPROG "/usr/bin/uname"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h"
| #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h"
| #define SNMPLIBPATH "/usr/local/lib/snmp"
| #define SNMPDLMODPATH "/usr/local/lib/snmp/dlmod"
| #define SNMPSHAREPATH "/usr/local/share/snmp"
| #define NETSNMP_DEFAULT_MIBDIRS
"$HOME/.snmp/mibs:/usr/local/share/snmp/mibs"
| #define SNMPCONFPATH "/usr/local/etc/snmp"
| #define STDC_HEADERS 1
| #define HAVE_DIRENT_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_GETOPT_H 1
| #define HAVE_PTHREAD_H 1
| #define HAVE_REGEX_H 1
| #define HAVE_STRING_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYS_TIMEB_H 1
| #define HAVE_SYS_UN_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TIMES_H 1
| #define HAVE_SYS_UIO_H 1
| #define HAVE_SYS_UTSNAME_H 1
| #define HAVE_NETIPX_IPX_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_ERR_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_FSTAB_H 1
| #define HAVE_GRP_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_MNTENT_H 1
| #define HAVE_PWD_H 1
| #define HAVE_UTMPX_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_STATFS_H 1
| #define HAVE_SYS_STATVFS_H 1
| #define HAVE_SYS_UTSNAME_H 1
| #define HAVE_SYS_VFS_H 1
| #define HAVE_ASM_PAGE_H 1
| #define HAVE_ASM_TYPES_H 1
| #define HAVE_LINUX_HDREG_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_GRP_H 1
| #define HAVE_PWD_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SEARCH_H 1
| #define HAVE_SGTTY_H 1
| #define HAVE_SYS_POLL_H 1
| #define HAVE_SYS_SWAP_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_SYS_SYSCTL_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_SYS_MOUNT_H 1
| #define HAVE_SYS_QUEUE_H 1
| #define HAVE_SYS_SYSCTL_H 1
| #define HAVE_SYS_USER_H 1
| #define HAVE_SYS_SOCKETVAR_H 1
| #define HAVE_LINUX_NETLINK_H 1
| #define HAVE_LINUX_RTNETLINK_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_NET_IF_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_NET_IF_ARP_H 1
| #define HAVE_NETINET_IF_ETHER_H 1
| #define HAVE_NETINET_IN_SYSTM_H 1
| #define HAVE_NETINET_IP_H 1
| #define HAVE_NETINET_IP_ICMP_H 1
| #define HAVE_NETINET_TCP_H 1
| #define HAVE_NETINET_UDP_H 1
| #define HAVE_NET_ROUTE_H 1
| #define HAVE_NETINET_ICMP6_H 1
| #define HAVE_NETINET_IP6_H 1
| #define HAVE_LINUX_ETHTOOL_H 1
| #define SIZEOF_SHORT 2
| #define SIZEOF_INT 4
| #define SIZEOF_LONG 4
| #define SIZEOF_LONG_LONG 8
| #define SIZEOF_INTMAX_T 8
| #define HAVE_LONG_LONG_INT 1
| #define HAVE_INTMAX_T 1
| #define HAVE_UNSIGNED_LONG_LONG_INT 1
| #define HAVE_UINTMAX_T 1
| #define HAVE_INTPTR_T 1
| #define HAVE_UINTPTR_T 1
| #define HAVE_OFF64_T 1
| #define HAVE_NFDS_T 1
| #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1
| #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1
| #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1
| #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1
| #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1
| #define NETSNMP_TRANSPORT_UDP_DOMAIN 1
| #define NETSNMP_TRANSPORT_TCP_DOMAIN 1
| #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1
| #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1
| #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1
| #define NETSNMP_SECMOD_USM 1
| #define NETSNMP_DEFAULT_MIBS
":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:UCD-SNMP-MIB:UCD-DEMO-MIB:SNMP-TARGET-MIB:NET-SNMP-AGENT-MIB:HOST-RESOURCES-TYPES:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:SNMP-FRAMEWORK-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:IP-FORWARD-MIB:NET-SNMP-PASS-MIB:NET-SNMP-EXTEND-MIB:UCD-DLMOD-MIB:SNMP-NOTIFICATION-MIB:SNMPv2-TM:NET-SNMP-VACM-MIB"
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_DLOPEN 1
| #define NETSNMP_USE_INTERNAL_MD5 1
| #define off_t long int
| #define pid_t int
| #define C_ALLOCA 1
| #define STACK_DIRECTION 0
| #define RETSIGTYPE void
| #define HAVE_GETHOSTBYNAME 1
| #define NETSNMP_BROKEN_INLINE 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| extern unsigned char variable;
| extern size_t variable;
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:38687: result:
configure:38690: checking how to printf a size_t
configure:38696: error: underlying type of size_t not known
I'm stuck here for quite some days. Can anyone help?
Thank you.
On Thu, May 17, 2012 at 10:54 AM, lilier wei <lilier....@gmail.com> wrote:
> Here is part of the config.log file that contains the error, but I still
> don't know how to fix the problem.
>
> configure:38663:
> /cygdrive/c/Comms/NonVitalCore/build-tools/gcc-3.3.4-glibc-2.3.2/arm-unknown-linux-gnu/bin/arm-unknown-linux-gnu-gcc
> -c -fno-strict-aliasing -g -O2 -Ulinux -Dlinux=linux
> -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -g3 -fno-strict-aliasing -pipe
> -fstack-protector -I/usr/local/include
> -I/usr/lib/perl5/5.10/i686-cygwin/CORE conftest.c >&5
> cc1: error: unrecognized option `-fstack-protector'
> configure:38670: $? = 1
> configure: failed program was:
> | /* confdefs.h. */
> | #define PACKAGE_NAME "Net-SNMP"
> | #define PACKAGE_TARNAME "net-snmp"
> | #define PACKAGE_VERSION "5.6.1.1"
> | #define PACKAGE_STRING "Net-SNMP 5.6.1.1"
> | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net"
> | #define NETSNMP_CONFIGURE_OPTIONS " '--disable-applications'
> '--with-defaults' '--disable-option-checking--disable-manuals'
> '--disable-scripts' '--host=arm-linux' '--target=arm-linux'
> '--without-openssl' '--with-endianness=little'
> '--with-cc=/cygdrive/c/Comms/NonVitalCore/build-tools/gcc-3.3.4-glibc-2.3.2/arm-unknown-linux-gnu/bin/arm-unknown-linux-gnu-gcc'
> '--with-ar=/cygdrive/c/Comms/NonVitalCore/build-tools/gcc-3.3.4-glibc-2.3.2/arm-unknown-linux-gnu/bin/arm-unknown-linux-gnu-ar'
> 'host_alias=arm-linux' 'target_alias=arm-linux'"
> | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1
> | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1
> | #define NETSNMP_PERSISTENT_MASK 077
> | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX"
> | #define NETSNMP_NO_DUMMY_VALUES 1
> | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master"
> | #define NETSNMP_DEFAULT_SNMP_VERSION 3
> | #define NETSNMP_SYS_CONTACT "@@no.where"
> | #define NETSNMP_SYS_LOC "Unknown"
> | #define NETSNMP_LOGFILE "/var/log/snmpd.log"
> | #define NETSNMP_PERSISTENT_DIRECTORY "/var/net-snmp"
> | #define UNAMEPROG "/usr/bin/uname"
> | #define STDC_HEADERS 1
> | #define HAVE_SYS_TYPES_H 1
> | #define HAVE_SYS_STAT_H 1
> | #define HAVE_STDLIB_H 1
> | #define HAVE_STRING_H 1
> | #define HAVE_MEMORY_H 1
> | #define HAVE_STRINGS_H 1
> | #define HAVE_INTTYPES_H 1
> | #define HAVE_STDINT_H 1
> | #define HAVE_UNISTD_H 1
> | #define __EXTENSIONS__ 1
> | #define _ALL_SOURCE 1
> | #define _GNU_SOURCE 1
> | #define _POSIX_PTHREAD_SEMANTICS 1
> | #define _TANDEM_SOURCE 1
> | #define HAVE_DLFCN_H 1
> | #define LT_OBJDIR ".libs/"
> | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h"
> | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h"
> | #define SNMPLIBPATH "/usr/local/lib/snmp"
> | #define SNMPDLMODPATH "/usr/local/lib/snmp/dlmod"
> | #define SNMPSHAREPATH "/usr/local/share/snmp"
> | #define NETSNMP_DEFAULT_MIBDIRS
> "$HOME/.snmp/mibs:/usr/local/share/snmp/mibs"
> | #define SNMPCONFPATH "/usr/local/etc/snmp"
> | #define STDC_HEADERS 1
> | #define HAVE_DIRENT_H 1
> | #define HAVE_SYS_WAIT_H 1
> | #define HAVE_GETOPT_H 1
> | #define HAVE_PTHREAD_H 1
> | #define HAVE_REGEX_H 1
> | #define HAVE_STRING_H 1
> | #define HAVE_SYSLOG_H 1
> | #define HAVE_UNISTD_H 1
> | #define HAVE_STDINT_H 1
> | #define HAVE_INTTYPES_H 1
> | #define HAVE_SYS_PARAM_H 1
> | #define HAVE_SYS_SELECT_H 1
> | #define HAVE_SYS_SOCKET_H 1
> | #define HAVE_SYS_TIME_H 1
> | #define HAVE_SYS_TIMEB_H 1
> | #define HAVE_SYS_UN_H 1
> | #define HAVE_FCNTL_H 1
> | #define HAVE_LIMITS_H 1
> | #define HAVE_LOCALE_H 1
> | #define HAVE_SYS_FILE_H 1
> | #define HAVE_SYS_IOCTL_H 1
> | #define HAVE_SYS_STAT_H 1
> | #define HAVE_SYS_TIMES_H 1
> | #define HAVE_SYS_UIO_H 1
> | #define HAVE_SYS_UTSNAME_H 1
> | #define HAVE_NETIPX_IPX_H 1
> | #define HAVE_DLFCN_H 1
> | #define HAVE_ERR_H 1
> | #define HAVE_FCNTL_H 1
> | #define HAVE_FSTAB_H 1
> | #define HAVE_GRP_H 1
> | #define HAVE_LIMITS_H 1
> | #define HAVE_MNTENT_H 1
> | #define HAVE_PWD_H 1
> | #define HAVE_UTMPX_H 1
> | #define HAVE_SYS_FILE_H 1
> | #define HAVE_SYS_IOCTL_H 1
> | #define HAVE_SYS_STAT_H 1
> | #define HAVE_SYS_STATFS_H 1
> | #define HAVE_SYS_STATVFS_H 1
> | #define HAVE_SYS_UTSNAME_H 1
> | #define HAVE_SYS_VFS_H 1
> | #define HAVE_ASM_PAGE_H 1
> | #define HAVE_ASM_TYPES_H 1
> | #define HAVE_LINUX_HDREG_H 1
> | #define HAVE_FCNTL_H 1
> | #define HAVE_GRP_H 1
> | #define HAVE_PWD_H 1
> | #define HAVE_SYS_CDEFS_H 1
> | #define HAVE_SYS_IOCTL_H 1
> | #define HAVE_SYS_SOCKET_H 1
> | #define HAVE_SYS_TIME_H 1
> | #define HAVE_SEARCH_H 1
> | #define HAVE_SGTTY_H 1
> | #define HAVE_SYS_POLL_H 1
> | #define HAVE_SYS_SWAP_H 1
> | #define HAVE_STDLIB_H 1
> | #define HAVE_MALLOC_H 1
> | #define HAVE_SYS_SYSCTL_H 1
> | #define HAVE_MALLOC_H 1
> | #define HAVE_SYS_MOUNT_H 1
> | #define HAVE_SYS_QUEUE_H 1
> | #define HAVE_SYS_SYSCTL_H 1
> | #define HAVE_SYS_USER_H 1
> | #define HAVE_SYS_SOCKETVAR_H 1
> | #define HAVE_LINUX_NETLINK_H 1
> | #define HAVE_LINUX_RTNETLINK_H 1
> | #define HAVE_ARPA_INET_H 1
> | #define HAVE_NET_IF_H 1
> | #define HAVE_NETINET_IN_H 1
> | #define HAVE_NETDB_H 1
> | #define HAVE_NET_IF_ARP_H 1
> | #define HAVE_NETINET_IF_ETHER_H 1
> | #define HAVE_NETINET_IN_SYSTM_H 1
> | #define HAVE_NETINET_IP_H 1
> | #define HAVE_NETINET_IP_ICMP_H 1
> | #define HAVE_NETINET_TCP_H 1
> | #define HAVE_NETINET_UDP_H 1
> | #define HAVE_NET_ROUTE_H 1
> | #define HAVE_NETINET_ICMP6_H 1
> | #define HAVE_NETINET_IP6_H 1
> | #define HAVE_LINUX_ETHTOOL_H 1
> | #define SIZEOF_SHORT 2
> | #define SIZEOF_INT 4
> | #define SIZEOF_LONG 4
> | #define SIZEOF_LONG_LONG 8
> | #define SIZEOF_INTMAX_T 8
> | #define HAVE_LONG_LONG_INT 1
> | #define HAVE_INTMAX_T 1
> | #define HAVE_UNSIGNED_LONG_LONG_INT 1
> | #define HAVE_UINTMAX_T 1
> | #define HAVE_INTPTR_T 1
> | #define HAVE_UINTPTR_T 1
> | #define HAVE_OFF64_T 1
> | #define HAVE_NFDS_T 1
> | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1
> | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1
> | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1
> | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1
> | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1
> | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1
> | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1
> | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1
> | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1
> | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1
> | #define NETSNMP_SECMOD_USM 1
> | #define NETSNMP_DEFAULT_MIBS
> ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:UCD-SNMP-MIB:UCD-DEMO-MIB:SNMP-TARGET-MIB:NET-SNMP-AGENT-MIB:HOST-RESOURCES-TYPES:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:SNMP-FRAMEWORK-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:IP-FORWARD-MIB:NET-SNMP-PASS-MIB:NET-SNMP-EXTEND-MIB:UCD-DLMOD-MIB:SNMP-NOTIFICATION-MIB:SNMPv2-TM:NET-SNMP-VACM-MIB"
> | #define HAVE_GETHOSTBYNAME 1
> | #define HAVE_DLOPEN 1
> | #define NETSNMP_USE_INTERNAL_MD5 1
> | #define off_t long int
> | #define pid_t int
> | #define C_ALLOCA 1
> | #define STACK_DIRECTION 0
> | #define RETSIGTYPE void
> | #define HAVE_GETHOSTBYNAME 1
> | #define NETSNMP_BROKEN_INLINE 1
> | /* end confdefs.h. */
> | #include <stdio.h>
> | #ifdef HAVE_SYS_TYPES_H
> | # include <sys/types.h>
> | #endif
> | #ifdef HAVE_SYS_STAT_H
> | # include <sys/stat.h>
> | #endif
> | #ifdef STDC_HEADERS
> | # include <stdlib.h>
> | # include <stddef.h>
> | #else
> | # ifdef HAVE_STDLIB_H
> | # include <stdlib.h>
> | # endif
> | #endif
> | #ifdef HAVE_STRING_H
> | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
> | # include <memory.h>
> | # endif
> | # include <string.h>
> | #endif
> | #ifdef HAVE_STRINGS_H
> | # include <strings.h>
> | #endif
> | #ifdef HAVE_INTTYPES_H
> | # include <inttypes.h>
> | #endif
> | #ifdef HAVE_STDINT_H
> | # include <stdint.h>
> | #endif
> | #ifdef HAVE_UNISTD_H
> | # include <unistd.h>
> | #endif
> | extern unsigned char variable;
> | extern size_t variable;
> | int
> | main ()
> | {
> |
> | ;
> | return 0;
> | }
> configure:38687: result:
> configure:38690: checking how to printf a size_t
> configure:38696: error: underlying type of size_t not known
>
>
>
> Thank you.
>
>
> On Wed, May 16, 2012 at 11:53 PM, Magnus Fromreide
> <ma...@lysator.liu.se>wrote:
>
>> On Wed, 2012-05-16 at 11:20 -0700, lilier wei wrote:
>> > I'm using cygwin under windowsXP. I have an error when running
>> > configure command which says:
>> >
>> > "checking how to printf a size_t... configure: error: underlying type
>> > of size_t not known"
>>
>> The output of all the configure tests are in config.log, could you
>> please look there and see what error messages you get from the compiler?
>>
>> /MF
>>
>>
>>
>>
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders