Hi.

Have the problem with compilation.

./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr
--exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin
--sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include
--libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var/lib
--sharedstatedir=/var/lib --mandir=/usr/share/man
--infodir=/usr/share/info --disable-dependency-tracking
--without-included-gettext --with-pgsql-includes=/usr/include/pgsql
--enable-64bit --enable-threads --enable-ulog --enable-ipv6
--enable-v4-mapped --enable-mysql --disable-pgsql --disable-sqlite3

...skip...

PLATFORM ..... : i686
OS ........... : Linux 2.6.32-ovz-el-alt60 (localhost.localdomain)
COMPILER ..... : gcc
CFLAGS ....... : -O2 -pipe -Wall -g -O2 -march=i586 -mtune=i686
-DENABLE_ULOG
LIBS ......... : -lmysqlclient -lpcap  -ldl -lm -lz -lpthread
-lnfprobe_plugin -Lnfprobe_plugin/ -lsfprobe_plugin -Lsfprobe_plugin/
-lbgp -Lbgp/ -ltee_plugin -Ltee_plugin/ -lisis -Lisis/
LDFLAGS ...... : -Wl,--export-dynamic

...skip...

gmake[2]: Entering directory `/usr/src/RPM/BUILD/pmacct-0.14.0/src/bgp'
gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.14.0\" -DPROGNAME=1
-DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1
-DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1
-DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1
-DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1
-DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1
-DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1
-DHAVE_64BIT_COUNTERS=1 -DENABLE_THREADS=1 -DRETSIGTYPE=void
-DHAVE_STRLCPY=1 -DHAVE_VSNPRINTF=1  -I. -I.. -O2 -pipe -Wall -g -O2
-march=i586 -mtune=i686 -DENABLE_ULOG    -c -o bgp.o bgp.c
bgp.c: In function 'skinny_bgp_daemon':
bgp.c:113:5: warning: implicit declaration of function 'addr_to_sa'
bgp.c:165:5: warning: implicit declaration of function 'sa_to_addr'
bgp.c:166:5: warning: implicit declaration of function 'addr_to_str'
bgp.c:224:28: warning: pointer targets in passing argument 3 of 'accept'
differ in signedness
/usr/include/sys/socket.h:214:12: note: expected 'socklen_t *
__restrict__' but argument is of type 'int *'
bgp.c:228:39: warning: pointer targets in passing argument 3 of 'accept'
differ in signedness
/usr/include/sys/socket.h:214:12: note: expected 'socklen_t *
__restrict__' but argument is of type 'int *'
bgp.c:401:41: warning: unused variable 'cap_type'
bgp.c:62:20: warning: unused variable 'multi_req6'
bgp.c: In function 'bgp_update_msg':
bgp.c:701:16: warning: pointer targets in assignment differ in signedness
bgp.c:726:14: warning: pointer targets in assignment differ in signedness
bgp.c:665:20: warning: unused variable 'endp'
bgp.c:665:11: warning: unused variable 'startp'
bgp.c: In function 'bgp_attr_parse_ecommunity':
bgp.c:908:35: warning: pointer targets in passing argument 1 of
'ecommunity_parse' differ in signedness
bgp_ecommunity.h:82:24: note: expected 'u_int8_t *' but argument is of
type 'char *'
bgp.c: In function 'bgp_attr_parse_mp_reach':
bgp.c:1002:19: warning: pointer targets in assignment differ in signedness
bgp.c: In function 'bgp_attr_parse_mp_unreach':
bgp.c:1027:21: warning: pointer targets in assignment differ in signedness
bgp.c: In function 'bgp_nlri_parse':
bgp.c:1091:4: warning: suggest parentheses around '&&' within '||'
bgp.c:1134:4: warning: pointer targets in passing argument 7 of
'bgp_process_update' differ in signedness
bgp.h:159:9: note: expected 'char *' but argument is of type 'u_char *'
bgp.c:1136:4: warning: pointer targets in passing argument 7 of
'bgp_process_withdraw' differ in signedness
bgp.h:160:9: note: expected 'char *' but argument is of type 'u_char *'
bgp.c: In function 'bgp_process_update':
bgp.c:1254:2: warning: pointer targets in passing argument 1 of
'bgp_rd2str' differ in signedness
bgp.h:162:9: note: expected 'char *' but argument is of type 'u_char *'
bgp.c:1233:20: warning: unused variable 'rda4'
bgp.c:1232:20: warning: unused variable 'rda'
bgp.c:1231:20: warning: unused variable 'rdi'
bgp.c: In function 'bgp_process_withdraw':
bgp.c:1304:6: warning: pointer targets in passing argument 1 of
'bgp_rd2str' differ in signedness
bgp.h:162:9: note: expected 'char *' but argument is of type 'u_char *'
bgp.c: In function 'bgp_str2rd':
bgp.c:1368:13: warning: unused variable 'tmp16'
bgp.c: In function 'attrhash_init':
bgp.c:1598:22: warning: passing argument 2 of 'hash_create' from
incompatible pointer type
bgp_hash.h:68:18: note: expected 'int (*)(const void *, const void *)'
but argument is of type 'int (*)(void *, void *)'
bgp.c: In function 'bgp_peer_init':
bgp.c:1680:10: warning: unused variable 'safi'
bgp.c:1679:9: warning: unused variable 'afi'
bgp.c: In function 'bgp_peer_close':
bgp.c:1692:10: warning: unused variable 'safi'
bgp.c:1691:9: warning: unused variable 'afi'
bgp.c: In function 'bgp_srcdst_lookup':
bgp.c:1920:5: warning: implicit declaration of function 'sa_addr_cmp'
bgp.c: In function 'bgp_follow_nexthop_lookup':
bgp.c:2155:23: warning: pointer targets in initialization differ in
signedness
bgp.c:2223:26: warning: pointer targets in assignment differ in signedness
bgp.c:2247:26: warning: pointer targets in assignment differ in signedness
bgp.c:2271:26: warning: pointer targets in assignment differ in signedness
bgp.c:2287:18: warning: pointer targets in assignment differ in signedness
bgp.c: In function 'write_neighbors_file':
bgp.c:2319:17: warning: ignoring return value of 'fwrite', declared with
attribute warn_unused_result
bgp.c: In function 'bgp_rd2str':
bgp.c:1361:1: warning: control reaches end of non-void function
bgp.c: In function 'skinny_bgp_daemon':
bgp.c:340:11: warning: ignoring return value of 'realloc', declared with
attribute warn_unused_result
bgp.c: In function 'bgp_str2rd':
bgp.c:1369:18: warning: 'rdi' may be used uninitialized in this function
bgp.c:1371:18: warning: 'rda4' may be used uninitialized in this function
bgp.c: In function 'bgp_nlri_parse':
bgp.c:1041:7: warning: 'psize' may be used uninitialized in this function
bgp.c: In function 'evaluate_first_asn':
bgp.c:1832:23: warning: 'saved' may be used uninitialized in this function
In file included from /usr/include/string.h:658:0,
                 from ../pmacct.h:36,
                 from bgp.c:26:
In function 'memcpy',
    inlined from 'bgp_follow_nexthop_lookup' at bgp.c:2250:17:
/usr/include/bits/string3.h:52:3: error: call to __builtin___memcpy_chk
will always overflow destination buffer
bgp.c: In function 'bgp_srcdst_lookup':
bgp.c:1891:20: warning: 'info' may be used uninitialized in this function
In file included from /usr/include/string.h:658:0,
                 from ../pmacct.h:36,
                 from bgp.c:26:
In function 'memcpy',
    inlined from 'bgp_srcdst_lookup' at bgp.c:2121:21:
/usr/include/bits/string3.h:52:3: error: call to __builtin___memcpy_chk
will always overflow destination buffer
gmake[2]: *** [bgp.o] Error 1
gmake[2]: Leaving directory `/usr/src/RPM/BUILD/pmacct-0.14.0/src/bgp'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/src/RPM/BUILD/pmacct-0.14.0/src'
make: *** [all-recursive] Error 1
make: Leaving directory `/usr/src/RPM/BUILD/pmacct-0.14.0'
error: Bad exit status from /usr/src/tmp/rpm-tmp.32007 (%build)


Any ideas?


-- 
WBR,
Dubrovskiy Viacheslav



Attachment: smime.p7s
Description: Криптографическая подпись S/MIME

_______________________________________________
pmacct-discussion mailing list
http://www.pmacct.net/#mailinglists

Reply via email to