Docsis_Server on CentOS 5 | docsis.org

You are here

Docsis_Server on CentOS 5

20 posts / 0 new
Last post
perse0
Docsis_Server on CentOS 5

Hello im trying to install docsis_server-2.0.4 on CentOS 5....

when i do a MAKE the system prompts me this:

root@localhost docsis-server-2.0.4]# make
make -C docsis_lib
make[1]: Entering directory `/root/docsis-server-2.0.4/docsis_lib'
gcc -g -O2 -fPIC -I. -c -o docsis_lex.o docsis_lex.c
docsis_lex.c: In function ‘yylex’:
docsis_lex.c:5209: warning: incompatible implicit declaration of built-in function ‘memcpy’
docsis_lex.c:5213: warning: incompatible implicit declaration of built-in function ‘memcpy’
docsis_lex.c:5217: warning: incompatible implicit declaration of built-in function ‘memcpy’
docsis_lex.c:5221: warning: incompatible implicit declaration of built-in function ‘memcpy’
docsis_lex.c:5225: warning: incompatible implicit declaration of built-in function ‘memcpy’
docsis_lex.c:5229: warning: incompatible implicit declaration of built-in function ‘memcpy’
docsis_lex.c:5233: warning: incompatible implicit declaration of built-in function ‘memcpy’
docsis_lex.c:5237: warning: incompatible implicit declaration of built-in function ‘memcpy’
docsis_lex.c:5245: warning: incompatible implicit declaration of built-in function ‘strlen’
docsis_lex.c:5257: warning: incompatible implicit declaration of built-in function ‘strlen’
docsis_lex.c:5339: warning: incompatible implicit declaration of built-in function ‘strlen’
docsis_lex.c:5366: warning: incompatible implicit declaration of built-in function ‘strlen’
docsis_lex.c:5379: warning: incompatible implicit declaration of built-in function ‘memset’
docsis_lex.c:5390: warning: incompatible implicit declaration of built-in function ‘strlen’
docsis_lex.c:5398: warning: incompatible implicit declaration of built-in function ‘strlen’
docsis_lex.c:5405: warning: incompatible implicit declaration of built-in function ‘strlen’
docsis_lex.c:5412: warning: incompatible implicit declaration of built-in function ‘strlen’
docsis_lex.c:5428: warning: incompatible implicit declaration of built-in function ‘strlen’
docsis_lex.c:5446: warning: incompatible implicit declaration of built-in function ‘strlen’
docsis_lex.c:5474: warning: incompatible implicit declaration of built-in function ‘memcpy’
docsis_lex.c:5478: warning: incompatible implicit declaration of built-in function ‘memcpy’
docsis_lex.c:5482: warning: incompatible implicit declaration of built-in function ‘memcpy’
docsis_lex.c:5488: warning: incompatible implicit declaration of built-in function ‘strlen’
gcc -g -O2 -fPIC -I. -c -o docsis_yy.tab.o docsis_yy.tab.c
gcc -g -O2 -fPIC -I. -c -o util_ethermac.o util_ethermac.c
gcc -g -O2 -fPIC -I. -c -o util_hmac_md5.o util_hmac_md5.c
gcc -g -O2 -fPIC -I. -c -o util_md5.o util_md5.c
gcc -g -O2 -fPIC -I. -c -o libdocsis.o libdocsis.c
gcc -g -O2 -fPIC -I. -c -o docsis_symtable.o docsis_symtable.c
docsis_symtable.c: In function ‘find_symbol_by_name’:
docsis_symtable.c:255: warning: incompatible implicit declaration of built-in function ‘alloca’
gcc -g -O2 -fPIC -I. -c -o docsis_decode.o docsis_decode.c
docsis_decode.c: In function ‘decode_string’:
docsis_decode.c:142: warning: incompatible implicit declaration of built-in function ‘alloca’
docsis_decode.c: In function ‘decode_strzero’:
docsis_decode.c:151: warning: incompatible implicit declaration of built-in function ‘alloca’
docsis_decode.c: In function ‘decode_hexstr’:
docsis_decode.c:165: warning: incompatible implicit declaration of built-in function ‘alloca’
gcc -g -O2 -fPIC -I. -c -o docsis_encode.o docsis_encode.c
gcc -g -O2 -fPIC -I. -c -o docsis_snmp.o docsis_snmp.c
gcc -shared -o libdocsis.so docsis_lex.o docsis_yy.tab.o util_ethermac.o util_hmac_md5.o util_md5.o libdocsis.o docsis_symtable.o docsis_decode.o docsis_encode.o docsis_snmp.o
gcc -g -O2 -fPIC -I. -c -o client_docsis_config.o client_docsis_config.c
client_docsis_config.c: In function ‘usage’:
client_docsis_config.c:50: warning: incompatible implicit declaration of built-in function ‘exit’
client_docsis_config.c: In function ‘main’:
client_docsis_config.c:75: warning: incompatible implicit declaration of built-in function ‘exit’
client_docsis_config.c:82: warning: incompatible implicit declaration of built-in function ‘exit’
client_docsis_config.c:86: warning: incompatible implicit declaration of built-in function ‘exit’
client_docsis_config.c:91: warning: incompatible implicit declaration of built-in function ‘exit’
client_docsis_config.c:95: warning: incompatible implicit declaration of built-in function ‘exit’
client_docsis_config.c:100: warning: incompatible implicit declaration of built-in function ‘exit’
client_docsis_config.c: In function ‘decode_file’:
client_docsis_config.c:116: warning: incompatible implicit declaration of built-in function ‘exit’
client_docsis_config.c:120: warning: incompatible implicit declaration of built-in function ‘exit’
client_docsis_config.c: In function ‘Read_KeyFile’:
client_docsis_config.c:142: warning: incompatible implicit declaration of built-in function ‘exit’
client_docsis_config.c:146: warning: incompatible implicit declaration of built-in function ‘exit’
client_docsis_config.c:151: warning: incompatible implicit declaration of built-in function ‘exit’
client_docsis_config.c:155: warning: incompatible implicit declaration of built-in function ‘exit’
client_docsis_config.c: In function ‘encode_file’:
client_docsis_config.c:176: warning: incompatible implicit declaration of built-in function ‘exit’
client_docsis_config.c:180: warning: incompatible implicit declaration of built-in function ‘exit’
client_docsis_config.c:207: warning: incompatible implicit declaration of built-in function ‘exit’
gcc -shared -o client_docsis_config client_docsis_config.o
make[1]: Leaving directory `/root/docsis-server-2.0.4/docsis_lib'
gcc -g -Wall -DCHROOT_PATH="\"/tmp\"" -DLOGFILE="\"docsis_server.log\"" -c -o super_server.o super_server.c
gcc -g -Wall -DCHROOT_PATH="\"/tmp\"" -DLOGFILE="\"docsis_server.log\"" -c -o src-dhcpd/dhcpd.o src-dhcpd/dhcpd.c
src-dhcpd/dhcpd.c: In function ‘send_positive_message’:
src-dhcpd/dhcpd.c:303: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness
src-dhcpd/dhcpd.c:304: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
src-dhcpd/dhcpd.c: In function ‘send_Query_ACK’:
src-dhcpd/dhcpd.c:400: warning: pointer targets in passing argument 3 of ‘addOpt’ differ in signedness
src-dhcpd/dhcpd.c:401: warning: pointer targets in passing argument 3 of ‘addOpt’ differ in signedness
gcc -g -Wall -DCHROOT_PATH="\"/tmp\"" -DLOGFILE="\"docsis_server.log\"" -c -o src-dhcpd/options.o src-dhcpd/options.c
gcc -g -Wall -DCHROOT_PATH="\"/tmp\"" -DLOGFILE="\"docsis_server.log\"" -c -o src-dhcpd/socket.o src-dhcpd/socket.c
src-dhcpd/socket.c: In function ‘getPacket’:
src-dhcpd/socket.c:127: warning: pointer targets in passing argument 6 of ‘recvfrom’ differ in signedness
gcc -g -Wall -DCHROOT_PATH="\"/tmp\"" -DLOGFILE="\"docsis_server.log\"" -c -o src-tftpd/tftpd.o src-tftpd/tftpd.c
src-tftpd/tftpd.c: In function ‘tftp_server’:
src-tftpd/tftpd.c:270: warning: pointer targets in passing argument 6 of ‘recvfrom’ differ in signedness
src-tftpd/tftpd.c: In function ‘validate_access’:
src-tftpd/tftpd.c:474: warning: pointer targets in passing argument 2 of ‘read_dynamic_file’ differ in signedness
src-tftpd/tftpd.c:491: warning: pointer targets in passing argument 2 of ‘read_static_file’ differ in signedness
src-tftpd/tftpd.c: In function ‘sendfile’:
src-tftpd/tftpd.c:573: warning: pointer targets in passing argument 4 of ‘read_block’ differ in signedness
gcc -g -Wall -DCHROOT_PATH="\"/tmp\"" -DLOGFILE="\"docsis_server.log\"" -c -o src-tftpd/file_cache.o src-tftpd/file_cache.c
gcc -g -Wall -DCHROOT_PATH="\"/tmp\"" -DLOGFILE="\"docsis_server.log\"" -c -o src-timed/time.o src-timed/time.c
src-timed/time.c: In function ‘getTimePacket’:
src-timed/time.c:149: warning: pointer targets in passing argument 6 of ‘recvfrom’ differ in signedness
gcc -g -Wall -DCHROOT_PATH="\"/tmp\"" -DLOGFILE="\"docsis_server.log\"" -c -o src-syslogd/syslog.o src-syslogd/syslog.c
src-syslogd/syslog.c: In function ‘getSLogPacket’:
src-syslogd/syslog.c:134: warning: pointer targets in passing argument 6 of ‘recvfrom’ differ in signedness
src-syslogd/syslog.c:139: warning: pointer targets in passing argument 2 of ‘my_LogSyslog’ differ in signedness
gcc -g -Wall -DCHROOT_PATH="\"/tmp\"" -DLOGFILE="\"docsis_server.log\"" -c -o src-config/config_file.o src-config/config_file.c
gcc -g -Wall -DCHROOT_PATH="\"/tmp\"" -DLOGFILE="\"docsis_server.log\"" -c -o src-mysql/my_sql.o src-mysql/my_sql.c
src-mysql/my_sql.c:49:25: error: mysql/mysql.h: No such file or directory
src-mysql/my_sql.c:50:29: error: mysql/mysql_com.h: No such file or directory
src-mysql/my_sql.c:51:33: error: mysql/mysql_version.h: No such file or directory
src-mysql/my_sql.c:66: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘my_sql’
src-mysql/my_sql.c: In function ‘InitSQLconnection’:
src-mysql/my_sql.c:75: warning: implicit declaration of function ‘mysql_init’
src-mysql/my_sql.c:75: error: ‘my_sql’ undeclared (first use in this function)
src-mysql/my_sql.c:75: error: (Each undeclared identifier is reported only once
src-mysql/my_sql.c:75: error: for each function it appears in.)
src-mysql/my_sql.c:80: error: ‘my_sock’ undeclared (first use in this function)
src-mysql/my_sql.c:80: warning: implicit declaration of function ‘mysql_real_connect’
src-mysql/my_sql.c: In function ‘CloseSQLconnection’:
src-mysql/my_sql.c:100: warning: implicit declaration of function ‘mysql_close’
src-mysql/my_sql.c:100: error: ‘my_sock’ undeclared (first use in this function)
In file included from src-mysql/my_sql.c:241:
src-mysql/my_sql_mcache.1: In function ‘my_MCACHE_Load’:
src-mysql/my_sql_mcache.1:52: error: ‘MYSQL_RES’ undeclared (first use in this function)
src-mysql/my_sql_mcache.1:52: error: ‘res’ undeclared (first use in this function)
src-mysql/my_sql_mcache.1:53: error: ‘MYSQL_ROW’ undeclared (first use in this function)
src-mysql/my_sql_mcache.1:53: error: expected ‘;’ before ‘myrow’
src-mysql/my_sql_mcache.1:79: warning: implicit declaration of function ‘mysql_ping’
src-mysql/my_sql_mcache.1:79: error: ‘my_sock’ undeclared (first use in this function)
src-mysql/my_sql_mcache.1:80: warning: implicit declaration of function ‘mysql_error’
src-mysql/my_sql_mcache.1:80: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
src-mysql/my_sql_mcache.1:83: warning: implicit declaration of function ‘mysql_query’
src-mysql/my_sql_mcache.1:85: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
src-mysql/my_sql_mcache.1:88: warning: implicit declaration of function ‘mysql_store_result’
src-mysql/my_sql_mcache.1:90: error: ‘myrow’ undeclared (first use in this function)
src-mysql/my_sql_mcache.1:90: warning: implicit declaration of function ‘mysql_fetch_row’
src-mysql/my_sql_mcache.1:117: warning: implicit declaration of function ‘mysql_free_result’
src-mysql/my_sql.c: In function ‘my_findMAC_CM’:
src-mysql/my_sql.c:275: error: ‘MYSQL_RES’ undeclared (first use in this function)
src-mysql/my_sql.c:275: error: ‘res’ undeclared (first use in this function)
src-mysql/my_sql.c:276: error: ‘MYSQL_ROW’ undeclared (first use in this function)
src-mysql/my_sql.c:276: error: expected ‘;’ before ‘myrow’
src-mysql/my_sql.c:286: error: ‘my_sock’ undeclared (first use in this function)
src-mysql/my_sql.c:287: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
src-mysql/my_sql.c:292: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
src-mysql/my_sql.c:298: warning: implicit declaration of function ‘mysql_num_rows’
src-mysql/my_sql.c:301: error: ‘myrow’ undeclared (first use in this function)
src-mysql/my_sql.c:304: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
src-mysql/my_sql.c: In function ‘my_findMAC_CPE’:
src-mysql/my_sql.c:330: error: ‘MYSQL_RES’ undeclared (first use in this function)
src-mysql/my_sql.c:330: error: ‘res’ undeclared (first use in this function)
src-mysql/my_sql.c:331: error: ‘MYSQL_ROW’ undeclared (first use in this function)
src-mysql/my_sql.c:331: error: expected ‘;’ before ‘myrow’
src-mysql/my_sql.c:342: error: ‘my_sock’ undeclared (first use in this function)
src-mysql/my_sql.c:343: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
src-mysql/my_sql.c:348: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
src-mysql/my_sql.c:357: error: ‘myrow’ undeclared (first use in this function)
src-mysql/my_sql.c:360: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
src-mysql/my_sql.c: In function ‘my_findIP_QUERY’:
src-mysql/my_sql.c:443: error: ‘MYSQL_RES’ undeclared (first use in this function)
src-mysql/my_sql.c:443: error: ‘res’ undeclared (first use in this function)
src-mysql/my_sql.c:444: error: ‘MYSQL_ROW’ undeclared (first use in this function)
src-mysql/my_sql.c:444: error: expected ‘;’ before ‘myrow’
src-mysql/my_sql.c:446: error: ‘my_sock’ undeclared (first use in this function)
src-mysql/my_sql.c:447: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
src-mysql/my_sql.c:452: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
src-mysql/my_sql.c:458: error: ‘myrow’ undeclared (first use in this function)
In file included from src-mysql/my_sql.c:500:
src-mysql/my_sql_subnets.1: In function ‘my_Load_Opts’:
src-mysql/my_sql_subnets.1:80: error: ‘MYSQL_RES’ undeclared (first use in this function)
src-mysql/my_sql_subnets.1:80: error: ‘res’ undeclared (first use in this function)
src-mysql/my_sql_subnets.1:81: error: ‘MYSQL_ROW’ undeclared (first use in this function)
src-mysql/my_sql_subnets.1:81: error: expected ‘;’ before ‘myrow’
src-mysql/my_sql_subnets.1:93: warning: pointer targets in assignment differ in signedness
src-mysql/my_sql_subnets.1:102: error: ‘my_sock’ undeclared (first use in this function)
src-mysql/my_sql_subnets.1:103: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
src-mysql/my_sql_subnets.1:108: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
src-mysql/my_sql_subnets.1:113: error: ‘myrow’ undeclared (first use in this function)
src-mysql/my_sql_subnets.1: In function ‘my_Load_Nets’:
src-mysql/my_sql_subnets.1:241: error: ‘MYSQL_RES’ undeclared (first use in this function)
src-mysql/my_sql_subnets.1:241: error: ‘res’ undeclared (first use in this function)
src-mysql/my_sql_subnets.1:242: error: ‘MYSQL_ROW’ undeclared (first use in this function)
src-mysql/my_sql_subnets.1:242: error: expected ‘;’ before ‘myrow’
src-mysql/my_sql_subnets.1:265: error: ‘my_sock’ undeclared (first use in this function)
src-mysql/my_sql_subnets.1:266: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
src-mysql/my_sql_subnets.1:271: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
src-mysql/my_sql_subnets.1:276: error: ‘myrow’ undeclared (first use in this function)
src-mysql/my_sql_subnets.1: In function ‘Update_Network_Full_Flag’:
src-mysql/my_sql_subnets.1:569: error: ‘my_sock’ undeclared (first use in this function)
src-mysql/my_sql_subnets.1:570: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
src-mysql/my_sql_subnets.1:575: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
src-mysql/my_sql.c: In function ‘my_CheckIP’:
src-mysql/my_sql.c:630: error: ‘MYSQL_RES’ undeclared (first use in this function)
src-mysql/my_sql.c:630: error: ‘res’ undeclared (first use in this function)
src-mysql/my_sql.c:631: error: ‘MYSQL_ROW’ undeclared (first use in this function)
src-mysql/my_sql.c:631: error: expected ‘;’ before ‘myrow’
src-mysql/my_sql.c:642: error: ‘my_sock’ undeclared (first use in this function)
src-mysql/my_sql.c:643: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
src-mysql/my_sql.c:648: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
src-mysql/my_sql.c:653: error: ‘myrow’ undeclared (first use in this function)
src-mysql/my_sql.c:661: warning: control reaches end of non-void function
src-mysql/my_sql.c: In function ‘my_Count_Allowed_IPs’:
src-mysql/my_sql.c:665: error: ‘MYSQL_RES’ undeclared (first use in this function)
src-mysql/my_sql.c:665: error: ‘res’ undeclared (first use in this function)
src-mysql/my_sql.c:666: error: ‘MYSQL_ROW’ undeclared (first use in this function)
src-mysql/my_sql.c:666: error: expected ‘;’ before ‘myrow’
src-mysql/my_sql.c:674: error: ‘my_sock’ undeclared (first use in this function)
src-mysql/my_sql.c:675: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
src-mysql/my_sql.c:680: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
src-mysql/my_sql.c:685: error: ‘myrow’ undeclared (first use in this function)
src-mysql/my_sql.c: In function ‘my_Count_Used_IPs’:
src-mysql/my_sql.c:696: error: ‘MYSQL_RES’ undeclared (first use in this function)
src-mysql/my_sql.c:696: error: ‘res’ undeclared (first use in this function)
src-mysql/my_sql.c:697: error: ‘MYSQL_ROW’ undeclared (first use in this function)
src-mysql/my_sql.c:697: error: expected ‘;’ before ‘myrow’
src-mysql/my_sql.c:710: error: ‘my_sock’ undeclared (first use in this function)
src-mysql/my_sql.c:711: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
src-mysql/my_sql.c:716: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
src-mysql/my_sql.c:721: error: ‘myrow’ undeclared (first use in this function)
src-mysql/my_sql.c: In function ‘my_WriteNewLease’:
src-mysql/my_sql.c:750: error: ‘my_sock’ undeclared (first use in this function)
src-mysql/my_sql.c:751: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
src-mysql/my_sql.c:756: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
src-mysql/my_sql.c: In function ‘my_UpdateLease’:
src-mysql/my_sql.c:771: error: ‘my_sock’ undeclared (first use in this function)
src-mysql/my_sql.c:772: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
src-mysql/my_sql.c:777: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
src-mysql/my_sql.c:787: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
src-mysql/my_sql.c:792: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
src-mysql/my_sql.c:803: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
src-mysql/my_sql.c:808: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
src-mysql/my_sql.c:819: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
src-mysql/my_sql.c:824: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
src-mysql/my_sql.c:837: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
src-mysql/my_sql.c:842: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
src-mysql/my_sql.c: In function ‘my_UpdateTime’:
src-mysql/my_sql.c:861: error: ‘my_sock’ undeclared (first use in this function)
src-mysql/my_sql.c:862: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
src-mysql/my_sql.c:867: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
src-mysql/my_sql.c: In function ‘my_DeleteLease’:
src-mysql/my_sql.c:887: error: ‘my_sock’ undeclared (first use in this function)
src-mysql/my_sql.c:888: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
src-mysql/my_sql.c:893: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
src-mysql/my_sql.c:907: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
src-mysql/my_sql.c:912: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
In file included from src-mysql/my_sql.c:931:
src-mysql/my_sql_misc_lease.1: In function ‘my_CountOLDIP’:
src-mysql/my_sql_misc_lease.1:79: error: ‘MYSQL_RES’ undeclared (first use in this function)
src-mysql/my_sql_misc_lease.1:79: error: ‘res’ undeclared (first use in this function)
src-mysql/my_sql_misc_lease.1:80: error: ‘MYSQL_ROW’ undeclared (first use in this function)
src-mysql/my_sql_misc_lease.1:80: error: expected ‘;’ before ‘myrow’
src-mysql/my_sql_misc_lease.1:92: error: ‘my_sock’ undeclared (first use in this function)
src-mysql/my_sql_misc_lease.1:95: error: ‘myrow’ undeclared (first use in this function)
src-mysql/my_sql_misc_lease.1: In function ‘my_DeleteOldestLease’:
src-mysql/my_sql_misc_lease.1:127: error: ‘MYSQL_RES’ undeclared (first use in this function)
src-mysql/my_sql_misc_lease.1:127: error: ‘res’ undeclared (first use in this function)
src-mysql/my_sql_misc_lease.1:128: error: ‘MYSQL_ROW’ undeclared (first use in this function)
src-mysql/my_sql_misc_lease.1:128: error: expected ‘;’ before ‘myrow’
src-mysql/my_sql_misc_lease.1:142: error: ‘my_sock’ undeclared (first use in this function)
src-mysql/my_sql_misc_lease.1:142: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
src-mysql/my_sql_misc_lease.1:144: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
src-mysql/my_sql_misc_lease.1:145: error: ‘myrow’ undeclared (first use in this function)
src-mysql/my_sql_misc_lease.1:152: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
src-mysql/my_sql_misc_lease.1:157: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
src-mysql/my_sql_misc_lease.1: In function ‘Print_Log_Entries’:
src-mysql/my_sql_misc_lease.1:171: error: ‘MYSQL_RES’ undeclared (first use in this function)
src-mysql/my_sql_misc_lease.1:171: error: ‘res’ undeclared (first use in this function)
src-mysql/my_sql_misc_lease.1:172: error: ‘MYSQL_ROW’ undeclared (first use in this function)
src-mysql/my_sql_misc_lease.1:172: error: expected ‘;’ before ‘myrow’
src-mysql/my_sql_misc_lease.1:221: error: ‘my_sock’ undeclared (first use in this function)
src-mysql/my_sql_misc_lease.1:221: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
src-mysql/my_sql_misc_lease.1:223: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
src-mysql/my_sql_misc_lease.1:224: error: ‘myrow’ undeclared (first use in this function)
In file included from src-mysql/my_sql.c:940:
src-mysql/my_sql_modem_update.1: In function ‘my_UpdateAgent’:
src-mysql/my_sql_modem_update.1:115: error: ‘my_sock’ undeclared (first use in this function)
src-mysql/my_sql_modem_update.1:116: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
src-mysql/my_sql_modem_update.1:121: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
src-mysql/my_sql_modem_update.1: In function ‘my_findAgent_QUERY’:
src-mysql/my_sql_modem_update.1:165: error: ‘MYSQL_RES’ undeclared (first use in this function)
src-mysql/my_sql_modem_update.1:165: error: ‘res’ undeclared (first use in this function)
src-mysql/my_sql_modem_update.1:166: error: ‘MYSQL_ROW’ undeclared (first use in this function)
src-mysql/my_sql_modem_update.1:166: error: expected ‘;’ before ‘myrow’
src-mysql/my_sql_modem_update.1:168: error: ‘my_sock’ undeclared (first use in this function)
src-mysql/my_sql_modem_update.1:169: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
src-mysql/my_sql_modem_update.1:174: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
src-mysql/my_sql_modem_update.1:179: error: ‘myrow’ undeclared (first use in this function)
In file included from src-mysql/my_sql.c:949:
src-mysql/my_sql_tftp_filegen.1: In function ‘my_Check_for_New_Configs’:
src-mysql/my_sql_tftp_filegen.1:51: error: ‘MYSQL_RES’ undeclared (first use in this function)
src-mysql/my_sql_tftp_filegen.1:51: error: ‘res’ undeclared (first use in this function)
src-mysql/my_sql_tftp_filegen.1:52: error: ‘MYSQL_ROW’ undeclared (first use in this function)
src-mysql/my_sql_tftp_filegen.1:52: error: expected ‘;’ before ‘myrow’
src-mysql/my_sql_tftp_filegen.1:65: error: ‘my_sock’ undeclared (first use in this function)
src-mysql/my_sql_tftp_filegen.1:66: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
src-mysql/my_sql_tftp_filegen.1:71: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
src-mysql/my_sql_tftp_filegen.1:77: error: ‘myrow’ undeclared (first use in this function)
src-mysql/my_sql_tftp_filegen.1:80: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
src-mysql/my_sql_tftp_filegen.1: In function ‘my_CONFIG_Load’:
src-mysql/my_sql_tftp_filegen.1:103: error: ‘MYSQL_RES’ undeclared (first use in this function)
src-mysql/my_sql_tftp_filegen.1:103: error: ‘res’ undeclared (first use in this function)
src-mysql/my_sql_tftp_filegen.1:104: error: ‘MYSQL_ROW’ undeclared (first use in this function)
src-mysql/my_sql_tftp_filegen.1:104: error: expected ‘;’ before ‘myrow’
src-mysql/my_sql_tftp_filegen.1:134: error: ‘my_sock’ undeclared (first use in this function)
src-mysql/my_sql_tftp_filegen.1:135: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
src-mysql/my_sql_tftp_filegen.1:140: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
src-mysql/my_sql_tftp_filegen.1:143: warning: implicit declaration of function ‘mysql_use_result’
src-mysql/my_sql_tftp_filegen.1:146: error: ‘myrow’ undeclared (first use in this function)
src-mysql/my_sql_tftp_filegen.1:147: warning: implicit declaration of function ‘mysql_fetch_lengths’
src-mysql/my_sql_tftp_filegen.1:147: warning: assignment makes pointer from integer without a cast
src-mysql/my_sql_tftp_filegen.1: In function ‘gen_Config_File’:
src-mysql/my_sql_tftp_filegen.1:293: warning: pointer targets in passing argument 4 of ‘docsis_add_cmts_mic’ differ in signedness
src-mysql/my_sql_tftp_filegen.1: In function ‘my_Check_New_Configs’:
src-mysql/my_sql_tftp_filegen.1:304: error: ‘MYSQL_RES’ undeclared (first use in this function)
src-mysql/my_sql_tftp_filegen.1:304: error: ‘res’ undeclared (first use in this function)
src-mysql/my_sql_tftp_filegen.1:305: error: ‘MYSQL_ROW’ undeclared (first use in this function)
src-mysql/my_sql_tftp_filegen.1:305: error: expected ‘;’ before ‘myrow’
src-mysql/my_sql_tftp_filegen.1:314: error: ‘my_sock’ undeclared (first use in this function)
src-mysql/my_sql_tftp_filegen.1:315: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
src-mysql/my_sql_tftp_filegen.1:320: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
src-mysql/my_sql_tftp_filegen.1:326: error: ‘myrow’ undeclared (first use in this function)
src-mysql/my_sql_tftp_filegen.1:345: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
src-mysql/my_sql_tftp_filegen.1:350: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
src-mysql/my_sql_tftp_filegen.1: In function ‘encode_config_morsel’:
src-mysql/my_sql_tftp_filegen.1:367: warning: pointer targets in passing argument 2 of ‘docsis_encode_part’ differ in signedness
src-mysql/my_sql_tftp_filegen.1:372: warning: implicit declaration of function ‘mysql_real_escape_string’
src-mysql/my_sql_tftp_filegen.1:372: error: ‘my_sock’ undeclared (first use in this function)
src-mysql/my_sql_tftp_filegen.1:379: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
src-mysql/my_sql_tftp_filegen.1:384: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
src-mysql/my_sql_tftp_filegen.1: In function ‘Config_StressTest’:
src-mysql/my_sql_tftp_filegen.1:394: error: ‘MYSQL_RES’ undeclared (first use in this function)
src-mysql/my_sql_tftp_filegen.1:394: error: ‘res’ undeclared (first use in this function)
src-mysql/my_sql_tftp_filegen.1:395: error: ‘MYSQL_ROW’ undeclared (first use in this function)
src-mysql/my_sql_tftp_filegen.1:395: error: expected ‘;’ before ‘myrow’
src-mysql/my_sql_tftp_filegen.1:406: error: ‘my_sock’ undeclared (first use in this function)
src-mysql/my_sql_tftp_filegen.1:407: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
src-mysql/my_sql_tftp_filegen.1:412: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
src-mysql/my_sql_tftp_filegen.1:419: error: ‘myrow’ undeclared (first use in this function)
src-mysql/my_sql_tftp_filegen.1:422: warning: pointer targets in passing argument 2 of ‘gen_Config_File’ differ in signedness
src-mysql/my_sql_tftp_filegen.1: In function ‘my_Modem_Settings_Load’:
src-mysql/my_sql_tftp_filegen.1:455: error: ‘MYSQL_RES’ undeclared (first use in this function)
src-mysql/my_sql_tftp_filegen.1:455: error: ‘res’ undeclared (first use in this function)
src-mysql/my_sql_tftp_filegen.1:456: error: ‘MYSQL_ROW’ undeclared (first use in this function)
src-mysql/my_sql_tftp_filegen.1:456: error: expected ‘;’ before ‘myrow’
src-mysql/my_sql_tftp_filegen.1:492: error: ‘my_sock’ undeclared (first use in this function)
src-mysql/my_sql_tftp_filegen.1:493: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
src-mysql/my_sql_tftp_filegen.1:498: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
src-mysql/my_sql_tftp_filegen.1:503: error: ‘myrow’ undeclared (first use in this function)
src-mysql/my_sql_tftp_filegen.1: In function ‘my_queryModem_Settings’:
src-mysql/my_sql_tftp_filegen.1:636: error: ‘MYSQL_RES’ undeclared (first use in this function)
src-mysql/my_sql_tftp_filegen.1:636: error: ‘res’ undeclared (first use in this function)
src-mysql/my_sql_tftp_filegen.1:637: error: ‘MYSQL_ROW’ undeclared (first use in this function)
src-mysql/my_sql_tftp_filegen.1:637: error: expected ‘;’ before ‘myrow’
src-mysql/my_sql_tftp_filegen.1:663: error: ‘my_sock’ undeclared (first use in this function)
src-mysql/my_sql_tftp_filegen.1:664: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
src-mysql/my_sql_tftp_filegen.1:669: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
src-mysql/my_sql_tftp_filegen.1:678: error: ‘myrow’ undeclared (first use in this function)
src-mysql/my_sql_tftp_filegen.1:681: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
In file included from src-mysql/my_sql.c:961:
src-mysql/my_sql_syslog.1: In function ‘my_LogSyslog’:
src-mysql/my_sql_syslog.1:68: error: ‘my_sock’ undeclared (first use in this function)
src-mysql/my_sql_syslog.1:69: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
src-mysql/my_sql_syslog.1:73: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
In file included from src-mysql/my_sql.c:969:
src-mysql/my_sql_conversion.1: In function ‘cv_addrmac’:
src-mysql/my_sql_conversion.1:84: warning: pointer targets in assignment differ in signedness
src-mysql/my_sql_conversion.1:101: warning: pointer targets in assignment differ in signedness
src-mysql/my_sql_conversion.1: In function ‘my_flush_SQL’:
src-mysql/my_sql_conversion.1:193: error: ‘my_sock’ undeclared (first use in this function)
src-mysql/my_sql_conversion.1: In function ‘Save_SQL_Update’:
src-mysql/my_sql_conversion.1:241: error: ‘my_sock’ undeclared (first use in this function)
src-mysql/my_sql_conversion.1:253: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
src-mysql/my_sql_conversion.1:266: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
In file included from src-mysql/my_sql.c:976:
src-mysql/my_sql_summerize.1: In function ‘Summerize_Logs’:
src-mysql/my_sql_summerize.1:33: error: ‘my_sock’ undeclared (first use in this function)
src-mysql/my_sql_summerize.1:34: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
src-mysql/my_sql_summerize.1: In function ‘Delete_Logs’:
src-mysql/my_sql_summerize.1:41: error: ‘my_sock’ undeclared (first use in this function)
src-mysql/my_sql_summerize.1:42: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
make: *** [src-mysql/my_sql.o] Error 1

how can i install this one on CentOS based systems???

exist an other version of Docsis_Server??

thanks!!!!!

husamaga
try this

try this version
http://users.accesscomm.ca/docsis_server/docsis-server-current.tar.bz2

i try it on debian etch and it works fine

perse0
Docsis-server

thanks,

this version has the same dependencies? can i install it with mysql 5?

im new with this, which one could be the specified procedure to install this version (docsis-server-3.5) on a CentOS 5 system??

thank you!!!!!

husamaga
You must made some changes

You must made some changes on installation files so it could work on debian or centOS, coze its made for RH.
i'll try to give you some help:
you have to prepare your system for installation of docsis_server! Install these packets (daemon, mysql5, php5, libmysqlclient15-dev, chkconfig, apache2,ipfm)
tar zxvf docsis_server; cd docsis_server; ./configure; make; make install
cd /scripts_and_docs and install all scripts. you may check all scripts first for destinations of some software.
mysql -u root -p mysql < INSTALL.mysql_1_users
mysql -u root -p mysql < INSTALL.mysql_2_dhcp_tables
mysql -u root -p mysql < INSTALL.mysql_3_pdns_tables
cp -f ./docsisd--Redhat_Startup_Script /etc/rc.d/init.d/docsisd /etc/init.d/docsisd
sh INSTALL.Usefull_Scripts
pico /etc/init.d/docsisd and remove all /rc.d/ from the script (on debian)
cp docsis/src/docsis.server to /etc/init.d/

hope i help you!
cheers

perse0
thanks

thank you, i followed yours instructions and i think is going well!!!

but in the html folder; there s nothing!!!!

in this version is not able yet?

perse0
configuring!!!

can i follow the same instructions of Docsis-server-2.0.4????

or, there are an other way to configure fully the system?/?

thanks!!!!!

perse0
Web_Kit

if i found the html files, i will sent you!!

but, maybe in this mounths (nov-dec) i will be developing with php;
can you bring me info about how many things could have the system??, functions, ???

to manage, and implementing; all Cm network!!!!

thanks!!

in other way; these are the logs of my centos box, after i install the docsis-server:

tail /var/spool/mail/root

Auto-Submitted: auto-generated
X-Cron-Env:
X-Cron-Env:
X-Cron-Env:
X-Cron-Env:
X-Cron-Env:

Can't locate Net/Telnet.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /usr/sbin/docsis_daemon.Watchdog line 74.
BEGIN failed--compilation aborted at /usr/sbin/docsis_daemon.Watchdog line 74.

hope this will be good!!!

husamaga
Try to install telnet on

Try to install telnet on your system id dont work try to reinstall perl, that should help.

I already have some snmp-php scripts which i edit and it works fine with CM making grafs for all users with rrdtool. if you have any thing can help to have a real-time modem view in php it will help me alot, or if you got the htmls of docsis_server.
You need to install snmp, telnet, php, mysql, perl etc... and try to make a script wich works with modems and gets the traffic, online time, Online/offline etc... and use the snmp/php script to get information from cmts. about number of online/offline modems, availability, upstreams, etc...

perse0
on debian!!!

hello, the site was down dor a few 4 days,!!!

know im trying to install on debian distro, in this case what i have to do:

cp -f ./docsisd--Redhat_Startup_Script /etc/rc.d/init.d/docsisd /etc/init.d/docsisd

which one could be the file, that i have to move to /etc/init.d/ ??????

thanks!!!

husamaga
om ,y first time

om ,y first time installation i have a problem, the make of docsis_server did not copy the docsis.server to /etc/init.d, so i had to copy it my self. just try to find docsis.server in /etc/init.d/ if not there copy it so you can start servr. copy "docsisd--Redhat_Startup_Script" from /etc/rc.d/init.d/docsisd
to /etc/init.d/docsisd

perse0
trying on Ubuntu!!

hi...

im trying to install on ubuntu 8.04, but i have a problem when the script finds /rc.d/ , because in ubuntu doesnt exist this folder,!!!!

thanks for all!!!!

husamaga
ubuntu..

I already give the constructions on top of this topic, how to install on debian etch, its same as ubuntu... it should help. you should make some changes in the scripts...

sonny
Dear Husamaga i have install

Dear Husamaga

i have install in fedora , but the docsis_server dhcp part will crash after get dhcp client request , and don't have any log , the tftp , time and syslog part is still running ....

do you have see the same problem ?

husamaga
hm... i don't have

hm... i don't have problems!
maybe your modem conf file is not good?? see dhcp.log in /var/log maybe there is any logs...

sonny
Dear husamaga but i don't

Dear husamaga

but i don't have docsis-server log in /var/log .....
only can find log in database , or use Listmessage can see the last 20 syslog .
also i can't find the any useful log in there...
so i use docsis-server to run , not use service docsisd to run .
when i get the error message as belw
*** stack smashing detected ***: docsis_server terminated

then docsis-server(dhcp) shutdown ....Orz

husamaga
maybe you need to make some

maybe you need to make some changes at your system! (ubuntu) see at http://en.wikipedia.org/wiki/Stack-smashing_protection or google it! i have no idea what could the problem be...

sonny
thanks husamage i have try

thanks husamage
i have try to change compiler parameter , already can disable SSP.
but i think still have problem , i have use wireshark to check the response packet , but if the option is the Char , it will not display in response packet.
i think that have some error in the source ...

can you send me your owner source code ?
thanks !

my E-mail: sonny420@gmail.com

husamaga
i forgot to post that you

i forgot to post that you should install docsis 0.9.5 make and make install! if you got an error install "flex".
then add Config_modem
mysql -u root -p mysql < config_modem
and then config the docsis-server.conf
then you can see the logs and fix problems if there is!

about the htmls, there is no htmls! i try to find them but there is nothing!

Yes you can use the 2.0.4 howto's... if you ever found the htmls please send it to me!
cheers

sonny
hi i have install

hi i have install docsis-server3.5 , in fedora
but when dhcp server get cm request , the dhcp will crash
, the tftp , time , syslog still running , i can't find any log in docsis_server .....
have anyone same with me ?

cmcaldas
dcosis server

I've always used Incognito http://www.incognito.com/ . I know there's other servers out there like http://www.broadbandprovisioner.com/ by Weird Solutions.

~Carl

Log in or register to post comments