#11 Build Fail For Cygwin 2.194.2.24

open
nobody
ports (3)
5
2014-08-14
2002-04-22
Anonymous
No

Below is the messages generated from the command
./configure
and
make

Please anyone help

Best Regards,

Vito

==============================================
Administrator@BN-PRODUCT ~
$ cd npadmin

Administrator@BN-PRODUCT ~/npadmin
$ dir
npadmin-0.8.4 npadmin-0.8.4.tar

Administrator@BN-PRODUCT ~/npadmin
$ cd npadmin-0.8.4

Administrator@BN-PRODUCT ~/npadmin/npadmin-0.8.4
$ dir
AUTHORS aclocal.m4 getopt.c
npadmin.spec session.C
COPYING argflags.h getopt.h
npadmin.spec.in session.h
ChangeLog ber.C getopt1.c
npahelpers.C snmpsock.C
INSTALL ber.h install-sh
npahelpers.h snmpsock.h
Makefile.am beroid.C memcmp.c
npaoids.h snprintf.c
Makefile.in berseq.C missing
npastructs.h stamp-h.in
NEWS compat.h mkinstalldirs
oidseq.C structfill.C
README config.h.in npaconsts.h
oidseq.h structfill.h
TODO configure npadmin.1 printmib.C
acconfig.h configure.in npadmin.C printmib.h

Administrator@BN-PRODUCT ~/npadmin/npadmin-0.8.4
$ ./configure
creating cache ./config.cache
checking for a BSD compatible
install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for a BSD compatible
install... /usr/bin/install -c
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-
compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for c++... c++
checking whether the C++ compiler (c++ ) works... yes
checking whether the C++ compiler (c++ ) is a cross-
compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking whether compiler handles exceptions... yes
checking how to run the C++ preprocessor... c++ -E
checking for ANSI C header files... yes
checking for arpa/inet.h... yes
checking for assert.h... yes
checking for errno.h... yes
checking for fcntl.h... yes
checking for limits.h... yes
checking for netdb.h... yes
checking for netinet/in.h... yes
checking for stdarg.h... yes
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for sys/socket.h... yes
checking for sys/stat.h... yes
checking for sys/time.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for pthread.h... yes
checking for working const... no
checking for inline... no
checking whether time.h and sys/time.h may both be
included... yes
checking for 8-bit clean memcmp... yes
checking for select... yes
checking for strdup... yes
checking for strstr... yes
checking for strtol... yes
checking for getopt_long... yes
checking for snprintf... yes
checking for socket... yes
using libc's socket
checking for inet_addr... yes
using libc's inet_addr
checking for getopt_long... (cached) yes
using libc's getopt_long
checking for pthread_join... yes
using libc's pthread_join
updating cache ./config.cache
creating ./config.status
creating Makefile
creating npadmin.spec
creating config.h

Administrator@BN-PRODUCT ~/npadmin/npadmin-0.8.4
$ make
c++ -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c ber.C
c++ -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c beroid.C
c++ -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c berseq.C
c++ -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c npadmin.C
In file included from npadmin.C:7:
/usr/include/string.h:25: warning: declaration of `int
memcmp(void *, void *, un
signed int)'
/usr/include/string.h:25: warning: conflicts with
built-in declaration `int memc
mp(const void *, const void *, unsigned int)'
/usr/include/string.h:26: warning: declaration of
`void * memcpy(void *, void *,
unsigned int)'
/usr/include/string.h:26: warning: conflicts with
built-in declaration `void * m
emcpy(void *, const void *, unsigned int)'
/usr/include/string.h:31: warning: declaration of `int
strcmp(char *, char *)'
/usr/include/string.h:31: warning: conflicts with
built-in declaration `int strc
mp(const char *, const char *)'
/usr/include/string.h:33: warning: declaration of
`char * strcpy(char *, char *)
'
/usr/include/string.h:33: warning: conflicts with
built-in declaration `char * s
trcpy(char *, const char *)'
/usr/include/string.h:36: warning: declaration of
`size_t strlen(char *)'
/usr/include/string.h:36: warning: conflicts with
built-in declaration `unsigned
int strlen(const char *)'
c++ -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c
npahelpers.C
npahelpers.C: In function `void do_hppriv_get
(SNMP_session &, long unsigned int
*, long unsigned int &)':
npahelpers.C:123: passing `const char *' as argument 1
of `SNMP_structFiller::ap
pend(char *, Tags, unsigned int)' discards qualifiers
npahelpers.C:126: passing `const char *' as argument 1
of `SNMP_structFiller::ap
pend(char *, Tags, unsigned int)' discards qualifiers
npahelpers.C: In function `void do_hppriv_set
(SNMP_session &, long unsigned int
*, long unsigned int &, char **)':
npahelpers.C:157: passing `const char *' as argument 1
of `OidSeq::append(char *
, Tags, long int)' discards qualifiers
npahelpers.C:161: passing `const char *' as argument 1
of `OidSeq::append(char *
, Tags, long int)' discards qualifiers
npahelpers.C:162: passing `const char *' as argument 1
of `OidSeq::append(char *
, Tags, void *, unsigned int)' discards qualifiers
npahelpers.C:162: passing `const char *' as argument 3
of `OidSeq::append(char *
, Tags, void *, unsigned int)' discards qualifiers
npahelpers.C:180: passing `const char *' as argument 1
of `OidSeq::append(char *
, Tags, void *, unsigned int)' discards qualifiers
npahelpers.C:182: passing `const char *' as argument 1
of `OidSeq::append(char *
, Tags, void *, unsigned int)' discards qualifiers
npahelpers.C: In function `void do_general_get
(SNMP_session &, long unsigned int
*, long unsigned int &, char **)':
npahelpers.C:197: passing `const char *' as argument 1
of `SNMP_structFiller::ap
pend(char *, Tags, unsigned int)' discards qualifiers
npahelpers.C:200: passing `const char *' as argument 1
of `SNMP_structFiller::ap
pend(char *, Tags, unsigned int)' discards qualifiers
npahelpers.C:202: passing `const char *' as argument 1
of `SNMP_structFiller::ap
pend(char *, Tags, unsigned int)' discards qualifiers
npahelpers.C:207: passing `const char *' as argument 1
of `SNMP_structFiller::ap
pend(char *, Tags, unsigned int)' discards qualifiers
npahelpers.C:208: passing `const char *' as argument 1
of `SNMP_structFiller::ap
pend(char *, Tags, unsigned int)' discards qualifiers
npahelpers.C:209: passing `const char *' as argument 1
of `SNMP_structFiller::ap
pend(char *, Tags, unsigned int)' discards qualifiers
npahelpers.C:232: passing `const char *' as argument 1
of `SNMP_error_oid::opera
tor ==(char *)' discards qualifiers
npahelpers.C:233: passing `const char *' as argument 1
of `SNMP_structFiller::re
move(char *)' discards qualifiers
npahelpers.C:235: passing `const char *' as argument 1
of `SNMP_error_oid::opera
tor ==(char *)' discards qualifiers
npahelpers.C:243: passing `const char *' as argument 1
of `SNMP_error_oid::opera
tor ==(char *)' discards qualifiers
npahelpers.C:243: passing `const char *' as argument 1
of `SNMP_error_oid::opera
tor ==(char *)' discards qualifiers
npahelpers.C:244: passing `const char *' as argument 1
of `SNMP_structFiller::re
move(char *)' discards qualifiers
npahelpers.C:245: passing `const char *' as argument 1
of `SNMP_structFiller::re
move(char *)' discards qualifiers
npahelpers.C:250: passing `const char *' as argument 1
of `SNMP_error_oid::opera
tor ==(char *)' discards qualifiers
npahelpers.C:268: passing `const char *' as argument 1
of `SNMP_structFiller::ap
pend(char *, Tags, unsigned int)' discards qualifiers
npahelpers.C:269: passing `const char *' as argument 1
of `SNMP_structFiller::ap
pend(char *, Tags, unsigned int)' discards qualifiers
npahelpers.C:347: passing `const char *' as argument 1
of `OidSeq::value(char *)
' discards qualifiers
npahelpers.C:489: passing `const char *' as argument 1
of `OidSeq::remove(char *
)' discards qualifiers
npahelpers.C:490: passing `const char *' as argument 1
of `OidSeq::append(char *
)' discards qualifiers
npahelpers.C:500: passing `const char *' as argument 1
of `OidSeq::value(char *)
' discards qualifiers
npahelpers.C:513: passing `const char *' as argument 1
of `OidSeq::value(char *)
' discards qualifiers
npahelpers.C: In function `void do_hostmib_get
(SNMP_session &, long unsigned int
*, long unsigned int &)':
npahelpers.C:713: passing `const char *' as argument 1
of `SNMP_structFiller::ap
pend(char *, Tags, unsigned int)' discards qualifiers
npahelpers.C:716: passing `const char *' as argument 1
of `SNMP_structFiller::ap
pend(char *, Tags, unsigned int)' discards qualifiers
npahelpers.C:727: passing `const char *' as argument 1
of `SNMP_error_oid::opera
tor ==(char *)' discards qualifiers
npahelpers.C:730: passing `const char *' as argument 1
of `SNMP_structFiller::re
move(char *)' discards qualifiers
npahelpers.C:732: passing `const char *' as argument 1
of `SNMP_structFiller::ap
pend(char *, Tags, unsigned int)' discards qualifiers
npahelpers.C:734: passing `const char *' as argument 1
of `SNMP_error_oid::opera
tor ==(char *)' discards qualifiers
npahelpers.C:735: passing `const char *' as argument 1
of `SNMP_structFiller::re
move(char *)' discards qualifiers
npahelpers.C:764: passing `const char *' as argument 1
of `SNMP_structFiller::ap
pend(char *, Tags, unsigned int)' discards qualifiers
npahelpers.C:766: passing `const char *' as argument 1
of `SNMP_structFiller::ap
pend(char *, Tags, unsigned int)' discards qualifiers
npahelpers.C:768: passing `const char *' as argument 1
of `SNMP_structFiller::ap
pend(char *, Tags, unsigned int)' discards qualifiers
npahelpers.C:770: passing `const char *' as argument 1
of `SNMP_structFiller::ap
pend(char *, Tags, unsigned int)' discards qualifiers
npahelpers.C:772: passing `const char *' as argument 1
of `SNMP_structFiller::ap
pend(char *, Tags, unsigned int)' discards qualifiers
make: *** [npahelpers.o] Error 1

Administrator@BN-PRODUCT ~/npadmin/npadmin-0.8.4
$

Discussion