Advertisement
Guest User

Untitled

a guest
Jun 19th, 2018
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.07 KB | None | 0 0
  1. ## comiling Heartbeat-3-0-958e11be8686
  2.  
  3. gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../linux-ha -I../linux-ha -I../libltdl -I../libltdl -I/usr/include/heartbeat -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -fPIC -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-qual -Wcast-align -Wbad-function-cast -Winline -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing -Werror -ggdb3 -funsigned-char -O2 -fPIC -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-qual -Wcast-align -Wbad-function-cast -Winline -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing -Werror -ggdb3 -funsigned-char -c -o heartbeat-heartbeat.o `test -f 'heartbeat.c' || echo './'`heartbeat.c
  4. heartbeat.c: In function 'master_control_process':
  5. heartbeat.c:1649:20: error: passing argument 1 of 'ipc_set_pollfunc' from incompatible pointer type [-Werror=incompatible-pointer-types]
  6. ipc_set_pollfunc(cl_poll);
  7. ^
  8. In file included from heartbeat.c:234:0:
  9. /usr/include/clplumbing/ipc.h:702:13: note: expected 'int (*)(struct pollfd *, nfds_t, int) {aka int (*)(struct pollfd *, long unsigned int, int)}' but argument is of type 'int (*)(struct pollfd *, unsigned int, int)'
  10. extern void ipc_set_pollfunc(int (*)(struct pollfd*, nfds_t, int));
  11. ^
  12. cc1: all warnings being treated as errors
  13. Makefile:772: recipe for target 'heartbeat-heartbeat.o' failed
  14. gmake[2]: *** [heartbeat-heartbeat.o] Error 1
  15. gmake[2]: Leaving directory '/data/slackbuilds/heartbeat/Heartbeat-3-0-958e11be8686/heartbeat'
  16. Makefile:941: recipe for target 'all-recursive' failed
  17. gmake[1]: *** [all-recursive] Error 1
  18. gmake[1]: Leaving directory '/data/slackbuilds/heartbeat/Heartbeat-3-0-958e11be8686/heartbeat'
  19. Makefile:581: recipe for target 'all-recursive' failed
  20. make: *** [all-recursive] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement