Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## comiling Heartbeat-3-0-958e11be8686
- 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
- heartbeat.c: In function 'master_control_process':
- heartbeat.c:1649:20: error: passing argument 1 of 'ipc_set_pollfunc' from incompatible pointer type [-Werror=incompatible-pointer-types]
- ipc_set_pollfunc(cl_poll);
- ^
- In file included from heartbeat.c:234:0:
- /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)'
- extern void ipc_set_pollfunc(int (*)(struct pollfd*, nfds_t, int));
- ^
- cc1: all warnings being treated as errors
- Makefile:772: recipe for target 'heartbeat-heartbeat.o' failed
- gmake[2]: *** [heartbeat-heartbeat.o] Error 1
- gmake[2]: Leaving directory '/data/slackbuilds/heartbeat/Heartbeat-3-0-958e11be8686/heartbeat'
- Makefile:941: recipe for target 'all-recursive' failed
- gmake[1]: *** [all-recursive] Error 1
- gmake[1]: Leaving directory '/data/slackbuilds/heartbeat/Heartbeat-3-0-958e11be8686/heartbeat'
- Makefile:581: recipe for target 'all-recursive' failed
- make: *** [all-recursive] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement