Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make -f Makefile_linux generates: make: *** [all] Error 1 #9

Open
wants to merge 130 commits into
base: master
Choose a base branch
from

Conversation

maxmuffin
Copy link

Hi, i'm trying to install control-plane but when i send:

make -f Makefile_linux i get this:

cc /.c ./*.c -o opencp -L/usr/local/lib/ -lexpat -lpthread -g -O2 -DHAVE_IPV6 -DLINUX
thr_pool/thr_pool.c: In function 'worker_thread':
thr_pool/thr_pool.c:92:5: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
pthread_cleanup_push(worker_cleanup, pool);
^
thr_pool/thr_pool.c:137:13: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
pthread_cleanup_push(job_cleanup, pool);
^
thr_pool/thr_pool.c: In function 'thr_pool_wait':
thr_pool/thr_pool.c:290:5: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
pthread_cleanup_push(pthread_mutex_unlock, &pool->pool_mutex);
^
thr_pool/thr_pool.c: In function 'thr_pool_destroy':
thr_pool/thr_pool.c:305:5: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
pthread_cleanup_push(pthread_mutex_unlock, &pool->pool_mutex);
^
./cli.c:154:17: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
.reply_add = cli_reply_add,
^
./cli.c:154:17: note: (near initialization for 'cli_fct.reply_add')
./cli.c:155:24: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
.reply_add_record = cli_reply_add_record,
^
./cli.c:155:24: note: (near initialization for 'cli_fct.reply_add_record')
./cli.c:156:25: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
.reply_add_locator = cli_reply_add_locator,
^
./cli.c:156:25: note: (near initialization for 'cli_fct.reply_add_locator')
./cli.c:157:19: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
.reply_error = cli_reply_error,
^
./cli.c:157:19: note: (near initialization for 'cli_fct.reply_error')
./cli.c:158:23: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
.reply_terminate = cli_reply_terminate,
^
./cli.c:158:23: note: (near initialization for 'cli_fct.reply_terminate')
./cli.c:159:25: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
.request_terminate = cli_request_terminate,
^
./cli.c:159:25: note: (near initialization for 'cli_fct.request_terminate')
./cli.c:160:23: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
.request_get_eid = cli_request_get_eid ,
^
./cli.c:160:23: note: (near initialization for 'cli_fct.request_get_eid')
./cli.c:161:25: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
.request_get_nonce = cli_request_get_nonce
^
./cli.c:161:25: note: (near initialization for 'cli_fct.request_get_nonce')
./cli.c: In function 'cli_start_communication':
./cli.c:189:28: warning: passing argument 1 of 'generic_process_request' makes pointer from integer without a cast [-Wint-conversion]
generic_process_request(rid, &cli_fct);
^
In file included from ./cli.c:2:0:
./lib.h:229:5: note: expected 'void *' but argument is of type 'uint32_t {aka unsigned int}'
int generic_process_request(void *data, struct communication_fct *fct);
^
In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:38:0,
from /usr/include/netinet/in.h:23,
from /usr/include/netdb.h:27,
from ./lib.h:10,
from ./udp.c:1:
./udp.c: In function 'udp_get_pk':
./udp.c:1823:33: error: invalid application of 'sizeof' to incomplete type 'struct in6_pktinfo'
char ctrdata[CMSG_SPACE(sizeof(struct in6_pktinfo))];
^
./udp.c:1827:22: error: field 'pkif6' has incomplete type
struct in6_pktinfo pkif6;
^
Makefile_linux:24: recipe for target 'all' failed
make: *** [all] Error 1

How can i solve this problem?
Thanks

extend current data structure to handle new attributes for eid and rloc
change the peer prefix configuration, make it as an attribute of
prefix-eid , since currently we support only one peer per prefix
error, change in xtr parser does not work
same issue
temporary change the make file to not overwrite the configuration file
on /etc
remove testing code
showing ingress and egress cost in log file
remove logging function, we need it latter when replying to map-request
handling message forwarding from the data plane
show ip address
test
test
wrong pointer
add the source ip address to the new lookup
update send_mr to add source eid to map request
fix error
update
fix
fix
fix
update
fix
fix
update
memcmp does not work
fix
update comment
small fix
fix the validation step
fix
handling map reply from peer with non local RLOC and local RLOC but RC
flag off
debug
fix issue
local optimize TE enable
fix
fix
update local optimize
update
update the threshold computation
fix
add timer to measure the delay from map reply received till map add
message is added to the data plane
remove unused log, focus on the timer log
log the delay directly
@hzuleger hzuleger mentioned this pull request Jul 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants