We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Please look in this console output there are errors during compilation.
gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/mysql -g -O2 -MT sql.o -MD -MP -MF .deps/sql.Tpo -c -o sql.o sql.c mv -f .deps/sql.Tpo .deps/sql.Po
gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/mysql -g -O2 -MT spine.o -MD -MP -MF .deps/spine.Tpo -c -o spine.o spine.c spine.c: In function ‘main’: spine.c:484:23: warning: assignment makes integer from pointer without a cast debug_devices[i+1] = NULL; ^ spine.c:489:20: warning: comparison between pointer and integer debug_devices[0] == NULL; ^ mv -f .deps/spine.Tpo .deps/spine.Po gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/mysql -g -O2 -MT util.o -MD -MP -MF .deps/util.Tpo -c -o util.o util.c util.c: In function ‘is_debug_device’: util.c:225:24: warning: comparison between pointer and integer if (debug_devices[i] == NULL) break; ^ util.c: In function ‘is_numeric’: util.c:900:23: warning: passing argument 1 of ‘trim’ discards ‘const’ qualifier from pointer target type length = strlen(trim(string)); ^ In file included from spine.h:511:0, from util.c:35: util.h:64:14: note: expected ‘char *’ but argument is of type ‘const char *’ extern char *trim(char *str); ^ mv -f .deps/util.Tpo .deps/util.Po gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/mysql -g -O2 -MT snmp.o -MD -MP -MF .deps/snmp.Tpo -c -o snmp.o snmp.c
mv -f .deps/snmp.Tpo .deps/snmp.Po gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/mysql -g -O2 -MT locks.o -MD -MP -MF .deps/locks.Tpo -c -o locks.o locks.c
mv -f .deps/locks.Tpo .deps/locks.Po gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/mysql -g -O2 -MT poller.o -MD -MP -MF .deps/poller.Tpo -c -o poller.o poller.c poller.c: In function ‘child’: poller.c:77:78: warning: passing argument 6 of ‘poll_host’ makes pointer from integer without a cast poll_host(host_id, host_thread, last_host_thread, host_data_ids, host_time, host_errors, host_time_double); ^ In file included from spine.h:504:0, from poller.c:35: poller.h:35:13: note: expected ‘int ’ but argument is of type ‘int’ extern void poll_host(int host_id, int host_thread, int last_host_thread, int host_data_ids, char host_time, int* host_errors, double host_time_double); ^ mv -f .deps/poller.Tpo .deps/poller.Po gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/mysql -g -O2 -MT nft_popen.o -MD -MP -MF .deps/nft_popen.Tpo -c -o nft_popen.o nft_popen.c mv -f .deps/nft_popen.Tpo .deps/nft_popen.Po gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/mysql -g -O2 -MT php.o -MD -MP -MF .deps/php.Tpo -c -o php.o php.c mv -f .deps/php.Tpo .deps/php.Po gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/mysql -g -O2 -MT ping.o -MD -MP -MF .deps/ping.Tpo -c -o ping.o ping.c mv -f .deps/ping.Tpo .deps/ping.Po gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/mysql -g -O2 -MT keywords.o -MD -MP -MF .deps/keywords.Tpo -c -o keywords.o keywords.c mv -f .deps/keywords.Tpo .deps/keywords.Po gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/mysql -g -O2 -MT error.o -MD -MP -MF .deps/error.Tpo -c -o error.o error.c mv -f .deps/error.Tpo .deps/error.Po /bin/bash ./libtool --tag=CC --mode=link gcc -I/usr/include/mysql -g -O2 -lpthread -lssl -lm -o spine sql.o spine.o util.o snmp.o locks.o poller.o nft_popen.o php.o ping.o keywords.o error.o -lnetsnmp -lmysqlclient libtool: link: gcc -I/usr/include/mysql -g -O2 -o spine sql.o spine.o util.o snmp.o locks.o poller.o nft_popen.o php.o ping.o keywords.o error.o -lpthread -lssl -lm -lnetsnmp -lmysqlclient
Will Spine work properly after compiling with those errors?
Regards. JK
The text was updated successfully, but these errors were encountered:
I have enabled issues tracking the cacti_spine repo, please re-create this issue in that issue tracker.
Sorry, something went wrong.
No branches or pull requests
Please look in this console output there are errors during compilation.
make
gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/mysql -g -O2 -MT sql.o -MD -MP -MF .deps/sql.Tpo -c -o sql.o sql.c
mv -f .deps/sql.Tpo .deps/sql.Po
gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/mysql -g -O2 -MT spine.o -MD -MP -MF .deps/spine.Tpo -c -o spine.o spine.c
spine.c: In function ‘main’:
spine.c:484:23: warning: assignment makes integer from pointer without a cast
debug_devices[i+1] = NULL;
^
spine.c:489:20: warning: comparison between pointer and integer
debug_devices[0] == NULL;
^
mv -f .deps/spine.Tpo .deps/spine.Po
gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/mysql -g -O2 -MT util.o -MD -MP -MF .deps/util.Tpo -c -o util.o util.c
util.c: In function ‘is_debug_device’:
util.c:225:24: warning: comparison between pointer and integer
if (debug_devices[i] == NULL) break;
^
util.c: In function ‘is_numeric’:
util.c:900:23: warning: passing argument 1 of ‘trim’ discards ‘const’ qualifier from pointer target type
length = strlen(trim(string));
^
In file included from spine.h:511:0,
from util.c:35:
util.h:64:14: note: expected ‘char *’ but argument is of type ‘const char *’
extern char *trim(char *str);
^
mv -f .deps/util.Tpo .deps/util.Po
gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/mysql -g -O2 -MT snmp.o -MD -MP -MF .deps/snmp.Tpo -c -o snmp.o snmp.c
mv -f .deps/snmp.Tpo .deps/snmp.Po
gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/mysql -g -O2 -MT locks.o -MD -MP -MF .deps/locks.Tpo -c -o locks.o locks.c
mv -f .deps/locks.Tpo .deps/locks.Po
gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/mysql -g -O2 -MT poller.o -MD -MP -MF .deps/poller.Tpo -c -o poller.o poller.c
poller.c: In function ‘child’:
poller.c:77:78: warning: passing argument 6 of ‘poll_host’ makes pointer from integer without a cast
poll_host(host_id, host_thread, last_host_thread, host_data_ids, host_time, host_errors, host_time_double);
^
In file included from spine.h:504:0,
from poller.c:35:
poller.h:35:13: note: expected ‘int ’ but argument is of type ‘int’
extern void poll_host(int host_id, int host_thread, int last_host_thread, int host_data_ids, char host_time, int* host_errors, double host_time_double);
^
mv -f .deps/poller.Tpo .deps/poller.Po
gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/mysql -g -O2 -MT nft_popen.o -MD -MP -MF .deps/nft_popen.Tpo -c -o nft_popen.o nft_popen.c
mv -f .deps/nft_popen.Tpo .deps/nft_popen.Po
gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/mysql -g -O2 -MT php.o -MD -MP -MF .deps/php.Tpo -c -o php.o php.c
mv -f .deps/php.Tpo .deps/php.Po
gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/mysql -g -O2 -MT ping.o -MD -MP -MF .deps/ping.Tpo -c -o ping.o ping.c
mv -f .deps/ping.Tpo .deps/ping.Po
gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/mysql -g -O2 -MT keywords.o -MD -MP -MF .deps/keywords.Tpo -c -o keywords.o keywords.c
mv -f .deps/keywords.Tpo .deps/keywords.Po
gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/mysql -g -O2 -MT error.o -MD -MP -MF .deps/error.Tpo -c -o error.o error.c
mv -f .deps/error.Tpo .deps/error.Po
/bin/bash ./libtool --tag=CC --mode=link gcc -I/usr/include/mysql -g -O2 -lpthread -lssl -lm -o spine sql.o spine.o util.o snmp.o locks.o poller.o nft_popen.o php.o ping.o keywords.o error.o -lnetsnmp -lmysqlclient
libtool: link: gcc -I/usr/include/mysql -g -O2 -o spine sql.o spine.o util.o snmp.o locks.o poller.o nft_popen.o php.o ping.o keywords.o error.o -lpthread -lssl -lm -lnetsnmp -lmysqlclient
Will Spine work properly after compiling with those errors?
Regards.
JK
The text was updated successfully, but these errors were encountered: