problems running make from np-plutoplus

"Ramon Tarruella" <[email protected]> Tue, 2 Sep 2003 20:34:23 -0400
Newsgroups gmane.network.net-policy.user
Message-ID <[email protected]>
Hi i'am having some problems when running make from np-plutoplus, i'am
receiving lot of warning and error messages, here a list some of them, the
problems rusults in "make: *** [np-plutoplus] Error 1" here's what I
received:

[root@ramon2 np-plutoplus]#
./configure --with-cerberus=/usr/local/np-cerberus --with-iptables=/usr/loca
l/iptables-1.2.7a --sysconfdir=/etc

make ...

gen_payload.c: In function `genDER':
gen_payload.c:219: warning: assignment makes pointer from integer without a
cast
gen_payload.c:226: warning: assignment makes pointer from integer without a
cast

ipsec_doi.c: In function `skeyid_preshared':
ipsec_doi.c:2870: warning: passing arg 2 of `MD5Update' discards qualifiers
from pointer target type
ipsec_doi.c:2877: warning: passing arg 2 of `SHAUpdate' discards qualifiers
from pointer target type
ipsec_doi.c: In function `get_hash':
ipsec_doi.c:4084: warning: passing arg 2 of `MD5Update' from incompatible
pointer type
ipsec_doi.c:4090: warning: passing arg 2 of `MD5Update' from incompatible
pointer type
ipsec_doi.c:4176: warning: passing arg 2 of `SHAUpdate' from incompatible
pointer type
ipsec_doi.c:4182: warning: passing arg 2 of `SHAUpdate' from incompatible
pointer type

payloads.c: In function `packIDPayld':
payloads.c:1772: warning: assignment from incompatible pointer type
payloads.c: In function `packALLPaylds':
payloads.c:2554: warning: passing arg 4 of `send_notification' from
incompatible pointer type
payloads.c:2573: warning: passing arg 4 of `send_notification' from
incompatible pointer type

state.c:33:77: warning: multi-line string literals are deprecated

net-policy-pp.c: In function `netpolicy_init':
net-policy-pp.c:256: warning: passing arg 3 of `snmp_register_callback' from
incompatible pointer type

/usr/local/include/net-snmp/net-snmp-config.h:864:1: warning: this is the
location of the previous definition

policy_iterator.c: In function `register_policy_iterator':
policy_iterator.c:337: warning: assignment from incompatible pointer type
policy_iterator.c:338: warning: assignment from incompatible pointer type
policy_iterator.c: In function `free_policy_data':
policy_iterator.c:740: warning: passing arg 1 of `free' discards qualifiers
from pointer target type

container_list_ssll.c: In function `_ssll_insert':
container_list_ssll.c:119: warning: return makes integer from pointer
without a cast
container_list_ssll.c:125: warning: assignment discards qualifiers from
pointer target type
container_list_ssll.c: In function `_ssll_remove':
container_list_ssll.c:156: warning: return makes integer from pointer
without a cast
container_list_ssll.c: In function `_ssll_size':
container_list_ssll.c:193: warning: return makes integer from pointer
without a cast
container_list_ssll.c: In function `_ssll_for_each':
container_list_ssll.c:211: warning: `return' with a value, in function
returning void
container_list_ssll.c: In function `netsnmp_container_get_ssll_noalloc':
container_list_ssll.c:226: warning: assignment from incompatible pointer
type

make[1]: Leaving directory `/usr/local/np-plutoplus/mib-tables'
gcc -o np-plutoplus  cookie.o demux.o gen_payload.o sadb_util.o ipsec_doi.o
ipsec_doi_informational.o ipsec_doi_mainxchg.o ipsec_doi_quickxchg.o
kernel_comm.o log.o verifyCert.o main.o misc.o payloads.o policy.o
process_payload.o net-policy-pp.o readPayloadConf.o rnd.o server.o  state.o
timer.o key_routines.o sha.o md5.o deskey.o descbc.o 3descbc.o check_key.o
desport.o
desspc.o -L./mib-tables -lppagent -L/usr/local/lib -lnetsnmpagent -lnetsnmpm
ibs -lnetsnmphelpers -lnetsnmp -ldl
-lcrypto -lm -L/usr/local/iptables-1.2.7a/libiptc -liptc -lgmp
./mib-tables/libppagent.a(ipspIpsecProposalsTable.o)(.text+0x10b6): In
function `initialize_table_ipspIpsecProposalsTable':
/usr/local/np-plutoplus/mib-tables/ipspIpsecProposalsTable.c:1415: undefined
reference to `netsnmp_container_find_noalloc'
./mib-tables/libppagent.a(ipspCredentialSegmentTable.o)(.text+0x11b7): In
function `initialize_table_ipspCredentialSegmentTable':
/usr/local/np-plutoplus/mib-tables/ipspCredentialSegmentTable.c:1132:
undefined reference to `netsnmp_container_find_noalloc'
collect2: ld returned 1 exit status
make: *** [np-plutoplus] Error 1

Wait for your answer

Thanks

Ramon




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf