slyder

Napravljene poruke na forumu

Gledanje 1 članaka - 1 do 8 (od 8 ukupno)
  • Autor
    Članci
  • kao odgovor na: Problem oko dial up modema #65533
    slyder
    Učesnik

    evo reinstalirao sam al nista dobro. Kd sam ukucao make all to je izasao:

    main.c:530: warning: passing argument 2 of ‘logdebug’ from incompatible pointer type
    main.c:533: warning: implicit declaration of function ‘printf’
    main.c:533: warning: incompatible implicit declaration of built-in function ‘printf’
    main.c:538: warning: passing argument 1 of ‘logwarn’ from incompatible pointer type
    main.c:541: warning: incompatible implicit declaration of built-in function ‘exit’
    main.c:544: error: ‘optind’ undeclared (first use in this function)
    main.c:544: warning: comparison between pointer and integer
    main.c:545: error: array subscript is not an integer
    main.c:545: warning: assignment from incompatible pointer type
    main.c:547: warning: comparison between pointer and integer
    main.c:548: warning: passing argument 1 of ‘logwarn’ from incompatible pointer type
    main.c:554: warning: comparison between pointer and integer
    main.c:554: warning: comparison between pointer and integer
    main.c:556: error: ‘optopt’ undeclared (first use in this function)
    main.c:557: warning: comparison between pointer and integer
    main.c:557: warning: passing argument 1 of ‘optslot’ makes integer from pointer without a cast
    main.c:557: error: ‘struct ’ has no member named ‘has_arg’
    main.c:558: warning: incompatible implicit declaration of built-in function ‘fprintf’
    main.c:558: warning: passing argument 1 of ‘optslot’ makes integer from pointer without a cast
    main.c:558: error: ‘struct ’ has no member named ‘name’
    main.c:558: warning: passing argument 1 of ‘fprintf’ discards qualifiers from pointer target type
    main.c:558: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘const struct *’
    main.c:565: warning: passing argument 2 of ‘logdebug’ from incompatible pointer type
    main.c:566: warning: comparison between pointer and integer
    main.c:566: warning: comparison between pointer and integer
    main.c:569: warning: comparison between pointer and integer
    main.c:569: warning: passing argument 1 of ‘optslot’ makes integer from pointer without a cast
    main.c:569: error: ‘struct ’ has no member named ‘has_arg’
    main.c:570: warning: incompatible implicit declaration of built-in function ‘fprintf’
    main.c:570: warning: passing argument 1 of ‘optslot’ makes integer from pointer without a cast
    main.c:570: error: ‘struct ’ has no member named ‘name’
    main.c:570: warning: passing argument 1 of ‘fprintf’ discards qualifiers from pointer target type
    main.c:570: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘const struct *’
    main.c:572: warning: passing argument 1 of ‘fprintf’ discards qualifiers from pointer target type
    main.c:572: warning: format ‘%c’ expects type ‘int’, but argument 4 has type ‘const struct *’
    main.c:574: warning: implicit declaration of function ‘strncmp’
    main.c:574: error: array subscript is not an integer
    main.c:575: warning: incompatible implicit declaration of built-in function ‘fprintf’
    main.c:575: error: array subscript is not an integer
    main.c:575: warning: passing argument 1 of ‘fprintf’ discards qualifiers from pointer target type
    main.c:575: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘const struct *’
    main.c:578: warning: incompatible implicit declaration of built-in function ‘fprintf’
    main.c:578: error: array subscript is not an integer
    main.c:578: warning: passing argument 1 of ‘fprintf’ discards qualifiers from pointer target type
    main.c:578: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘const struct *’
    main.c:579: warning: passing argument 1 of ‘fprintf’ discards qualifiers from pointer target type
    main.c:330: warning: unused variable ‘options’
    main.c: In function ‘setup_pin_timer’:
    main.c:601: error: storage size of ‘ptyevent’ isn’t known
    main.c:605: warning: implicit declaration of function ‘memset’
    main.c:605: warning: incompatible implicit declaration of built-in function ‘memset’
    main.c:605: warning: passing argument 3 of ‘memset’ makes integer from pointer without a cast
    main.c:608: error: request for member ‘sigev_signo’ in something not a structure or union
    main.c:608: error: ‘SIGRTMIN’ undeclared (first use in this function)
    main.c:608: warning: statement with no effect
    main.c:611: error: request for member ‘sigev_notify’ in something not a structure or union
    main.c:611: error: ‘SIGEV_THREAD_ID’ undeclared (first use in this function)
    main.c:611: warning: statement with no effect
    main.c:612: error: request for member ‘_sigev_un’ in something not a structure or union
    main.c:612: error: request for member ‘_tid’ in something not a structure or union
    main.c:612: warning: statement with no effect
    main.c:614: warning: implicit declaration of function ‘mtimer_create’
    main.c:614: error: ‘CLOCK_REALTIME’ undeclared (first use in this function)
    main.c:616: warning: passing argument 2 of ‘logdebug’ from incompatible pointer type
    main.c:621: error: ‘mtimer_t’ has no member named ‘id’
    main.c:621: warning: passing argument 1 of ‘logwarn’ from incompatible pointer type
    main.c:622: warning: passing argument 2 of ‘logsyserror’ from incompatible pointer type
    main.c:625: warning: passing argument 3 of ‘memset’ makes integer from pointer without a cast
    main.c:628: error: request for member ‘sigev_signo’ in something not a structure or union
    main.c:628: warning: statement with no effect
    main.c:629: error: request for member ‘sigev_notify’ in something not a structure or union
    main.c:629: error: ‘SIGEV_SIGNAL’ undeclared (first use in this function)
    main.c:629: warning: statement with no effect
    main.c:636: error: ‘mtimer_t’ has no member named ‘id’
    main.c:636: warning: passing argument 1 of ‘logerr’ from incompatible pointer type
    main.c:640: warning: passing argument 2 of ‘logdebug’ from incompatible pointer type
    main.c:601: warning: unused variable ‘ptyevent’
    main.c: At top level:
    main.c:645: error: expected specifier-qualifier-list before ‘uint8_t’
    main.c:658: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘io_uart_msr’
    main.c:659: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘io_uart_status’
    main.c:663: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘dp_dsp_status’
    main.c:664: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘dp_wDspRetrainState’
    main.c: In function ‘monitor_state’:
    main.c:717: error: ‘io_uart_msr’ undeclared (first use in this function)
    main.c:717: error: ‘struct _state’ has no member named ‘io_uart_msr’
    main.c:717: warning: implicit declaration of function ‘sprintf’
    main.c:717: warning: incompatible implicit declaration of built-in function ‘sprintf’
    main.c:717: warning: incompatible implicit declaration of built-in function ‘sprintf’
    main.c:717: warning: incompatible implicit declaration of built-in function ‘sprintf’
    main.c:717: warning: implicit declaration of function ‘__STRING’
    main.c:717: error: expected ‘)’ before string constant
    main.c:717: warning: passing argument 2 of ‘sprintf’ makes pointer from integer without a cast
    main.c:717: error: ‘struct _state’ has no member named ‘io_uart_msr’
    main.c:717: warning: statement with no effect
    main.c:718: error: ‘io_uart_status’ undeclared (first use in this function)
    main.c:718: error: ‘struct _state’ has no member named ‘io_uart_status’
    main.c:718: warning: incompatible implicit declaration of built-in function ‘sprintf’
    main.c:718: warning: incompatible implicit declaration of built-in function ‘sprintf’
    main.c:718: warning: incompatible implicit declaration of built-in function ‘sprintf’
    main.c:718: error: expected ‘)’ before string constant
    main.c:718: warning: passing argument 2 of ‘sprintf’ makes pointer from integer without a cast
    main.c:718: error: ‘struct _state’ has no member named ‘io_uart_status’
    main.c:718: warning: statement with no effect
    main.c:719: error: ‘struct _state’ has no member named ‘x_modem_state’
    main.c:719: warning: comparison between pointer and integer
    main.c:719: warning: incompatible implicit declaration of built-in function ‘sprintf’
    main.c:719: warning: incompatible implicit declaration of built-in function ‘sprintf’
    main.c:719: warning: incompatible implicit declaration of built-in function ‘sprintf’
    main.c:719: error: expected ‘)’ before string constant
    main.c:719: warning: passing argument 2 of ‘sprintf’ makes pointer from integer without a cast
    main.c:719: error: ‘struct _state’ has no member named ‘x_modem_state’
    main.c:719: warning: statement with no effect
    main.c:720: error: ‘struct _state’ has no member named ‘x_modem_mode’
    main.c:720: warning: comparison between pointer and integer
    main.c:720: warning: incompatible implicit declaration of built-in function ‘sprintf’
    main.c:720: warning: incompatible implicit declaration of built-in function ‘sprintf’
    main.c:720: warning: incompatible implicit declaration of built-in function ‘sprintf’
    main.c:720: error: expected ‘)’ before string constant
    main.c:720: warning: passing argument 2 of ‘sprintf’ makes pointer from integer without a cast
    main.c:720: error: ‘struct _state’ has no member named ‘x_modem_mode’
    main.c:720: warning: statement with no effect
    main.c:721: error: ‘struct _state’ has no member named ‘x_line_rate’
    main.c:721: warning: comparison between pointer and integer
    main.c:721: warning: incompatible implicit declaration of built-in function ‘sprintf’
    main.c:721: warning: incompatible implicit declaration of built-in function ‘sprintf’
    main.c:721: warning: incompatible implicit declaration of built-in function ‘sprintf’
    main.c:721: error: expected ‘)’ before string constant
    main.c:721: warning: passing argument 2 of ‘sprintf’ makes pointer from integer without a cast
    main.c:721: error: ‘struct _state’ has no member named ‘x_line_rate’
    main.c:721: warning: statement with no effect
    main.c:722: error: ‘dp_dsp_status’ undeclared (first use in this function)
    main.c:722: error: ‘struct _state’ has no member named ‘dp_dsp_status’
    main.c:722: warning: incompatible implicit declaration of built-in function ‘sprintf’
    main.c:722: warning: incompatible implicit declaration of built-in function ‘sprintf’
    main.c:722: warning: incompatible implicit declaration of built-in function ‘sprintf’
    main.c:722: error: expected ‘)’ before string constant
    main.c:722: warning: passing argument 2 of ‘sprintf’ makes pointer from integer without a cast
    main.c:722: error: ‘struct _state’ has no member named ‘dp_dsp_status’
    main.c:722: warning: statement with no effect
    main.c:723: error: ‘struct _state’ has no member named ‘io_app_tx_count’
    main.c:723: warning: comparison between pointer and integer
    main.c:723: warning: incompatible implicit declaration of built-in function ‘sprintf’
    main.c:723: warning: incompatible implicit declaration of built-in function ‘sprintf’
    main.c:723: warning: incompatible implicit declaration of built-in function ‘sprintf’
    main.c:723: error: expected ‘)’ before string constant
    main.c:723: warning: passing argument 2 of ‘sprintf’ makes pointer from integer without a cast
    main.c:723: error: ‘struct _state’ has no member named ‘io_app_tx_count’
    main.c:723: warning: statement with no effect
    main.c:725: warning: incompatible implicit declaration of built-in function ‘sprintf’
    main.c:726: warning: passing argument 2 of ‘logdebug’ from incompatible pointer type
    main.c:730: error: ‘struct _state’ has no member named ‘io_app_tx_bytes’
    main.c:730: warning: comparison between pointer and integer
    main.c:730: warning: incompatible implicit declaration of built-in function ‘sprintf’
    main.c:730: warning: incompatible implicit declaration of built-in function ‘sprintf’
    main.c:730: warning: incompatible implicit declaration of built-in function ‘sprintf’
    main.c:730: error: ‘io_app_tx’ undeclared (first use in this function)
    main.c:730: error: expected ‘)’ before string constant
    main.c:730: warning: passing argument 2 of ‘sprintf’ makes pointer from integer without a cast
    main.c:730: error: ‘struct _state’ has no member named ‘io_app_tx_bytes’
    main.c:730: warning: statement with no effect
    main.c:731: error: ‘struct _state’ has no member named ‘io_dte_tx_bytes’
    main.c:731: warning: comparison between pointer and integer
    main.c:731: warning: incompatible implicit declaration of built-in function ‘sprintf’
    main.c:731: warning: incompatible implicit declaration of built-in function ‘sprintf’
    main.c:731: warning: incompatible implicit declaration of built-in function ‘sprintf’
    main.c:731: error: ‘io_dte_tx’ undeclared (first use in this function)
    main.c:731: error: expected ‘)’ before string constant
    main.c:731: warning: passing argument 2 of ‘sprintf’ makes pointer from integer without a cast
    main.c:731: error: ‘struct _state’ has no member named ‘io_dte_tx_bytes’
    main.c:731: warning: statement with no effect
    main.c:732: error: ‘struct _state’ has no member named ‘io_dte_rx_bytes’
    main.c:732: warning: comparison between pointer and integer
    main.c:732: warning: incompatible implicit declaration of built-in function ‘sprintf’
    main.c:732: warning: incompatible implicit declaration of built-in function ‘sprintf’
    main.c:732: warning: incompatible implicit declaration of built-in function ‘sprintf’
    main.c:732: error: ‘io_dte_rx’ undeclared (first use in this function)
    main.c:732: error: expected ‘)’ before string constant
    main.c:732: warning: passing argument 2 of ‘sprintf’ makes pointer from integer without a cast
    main.c:732: error: ‘struct _state’ has no member named ‘io_dte_rx_bytes’
    main.c:732: warning: statement with no effect
    main.c:733: error: ‘struct _state’ has no member named ‘io_dce_tx_bytes’
    main.c:733: warning: comparison between pointer and integer
    main.c:733: warning: incompatible implicit declaration of built-in function ‘sprintf’
    main.c:733: warning: incompatible implicit declaration of built-in function ‘sprintf’
    main.c:733: warning: incompatible implicit declaration of built-in function ‘sprintf’
    main.c:733: error: ‘io_dce_tx’ undeclared (first use in this function)
    main.c:733: error: expected ‘)’ before string constant
    main.c:733: warning: passing argument 2 of ‘sprintf’ makes pointer from integer without a cast
    main.c:733: error: ‘struct _state’ has no member named ‘io_dce_tx_bytes’
    main.c:733: warning: statement with no effect
    main.c:734: error: ‘struct _state’ has no member named ‘io_dce_rx_bytes’
    main.c:734: warning: comparison between pointer and integer
    main.c:734: warning: incompatible implicit declaration of built-in function ‘sprintf’
    main.c:734: warning: incompatible implicit declaration of built-in function ‘sprintf’
    main.c:734: warning: incompatible implicit declaration of built-in function ‘sprintf’
    main.c:734: error: ‘io_dce_rx’ undeclared (first use in this function)
    main.c:734: error: expected ‘)’ before string constant
    main.c:734: warning: passing argument 2 of ‘sprintf’ makes pointer from integer without a cast
    main.c:734: error: ‘struct _state’ has no member named ‘io_dce_rx_bytes’
    main.c:734: warning: statement with no effect
    main.c:736: warning: incompatible implicit declaration of built-in function ‘sprintf’
    main.c:737: warning: passing argument 2 of ‘logdebug’ from incompatible pointer type
    main.c: In function ‘setup_pin_watcher’:
    main.c:758: error: storage size of ‘timer_action’ isn’t known
    main.c:760: error: request for member ‘sa_handler’ in something not a structure or union
    main.c:760: warning: statement with no effect
    main.c:761: error: request for member ‘sa_flags’ in something not a structure or union
    main.c:761: warning: statement with no effect
    main.c:762: warning: implicit declaration of function ‘sigemptyset’
    main.c:762: error: request for member ‘sa_mask’ in something not a structure or union
    main.c:763: warning: implicit declaration of function ‘sigaction’
    main.c:763: error: ‘SIGRTMIN’ undeclared (first use in this function)
    main.c:758: warning: unused variable ‘timer_action’
    main.c:766:19: error: errno.h: No such file or directory
    main.c: At top level:
    main.c:769: error: expected ‘)’ before ‘*’ token
    main.c: In function ‘main’:
    main.c:837: error: ‘struct _config’ has no member named ‘syslog’
    main.c:840: error: ‘struct _config’ has no member named ‘daemon’
    main.c:841: warning: implicit declaration of function ‘daemon’
    main.c:841: error: ‘struct _config’ has no member named ‘logfile’
    main.c:843: warning: passing argument 2 of ‘logsyserror’ from incompatible pointer type
    main.c:844: warning: passing argument 1 of ‘logwarn’ from incompatible pointer type
    main.c:845: error: ‘struct _config’ has no member named ‘daemon’
    main.c:845: warning: statement with no effect
    main.c:848: error: ‘struct _config’ has no member named ‘daemon’
    main.c:848: error: ‘struct _config’ has no member named ‘logfile’
    main.c:849: error: ‘struct _config’ has no member named ‘syslog’
    main.c:849: warning: statement with no effect
    main.c:852: warning: passing argument 2 of ‘logdebug’ from incompatible pointer type
    main.c:862: warning: passing argument 2 of ‘logdebug’ from incompatible pointer type
    main.c:871: warning: implicit declaration of function ‘snprintf’
    main.c:871: warning: incompatible implicit declaration of built-in function ‘snprintf’
    main.c:874: warning: incompatible implicit declaration of built-in function ‘snprintf’
    main.c:878: warning: incompatible implicit declaration of built-in function ‘snprintf’
    main.c:880: warning: implicit declaration of function ‘strlen’
    main.c:880: warning: incompatible implicit declaration of built-in function ‘strlen’
    main.c:885: warning: passing argument 2 of ‘logdebug’ from incompatible pointer type
    main.c:888: error: ‘struct _config’ has no member named ‘misr’
    main.c:888: error: incompatible type for argument 1 of ‘misr_str’
    main.c:888: error: ‘struct _config’ has no member named ‘realtime’
    main.c:888: warning: passing argument 2 of ‘logdebug’ from incompatible pointer type
    main.c:909: warning: passing argument 2 of ‘mthread_create’ discards qualifiers from pointer target type
    main.c:910: warning: passing argument 1 of ‘logerr’ from incompatible pointer type
    main.c:913: warning: passing argument 2 of ‘logdebug’ from incompatible pointer type
    main.c:924: warning: passing argument 1 of ‘loginfo’ from incompatible pointer type
    main.c:928: warning: passing argument 2 of ‘logdebug’ from incompatible pointer type
    main.c:933: warning: implicit declaration of function ‘mkfifo’
    main.c:934: error: ‘errno’ undeclared (first use in this function)
    main.c:934: error: ‘EEXIST’ undeclared (first use in this function)
    main.c:935: warning: passing argument 2 of ‘logdebug’ from incompatible pointer type
    main.c:937: warning: passing argument 2 of ‘logsyserror’ from incompatible pointer type
    main.c:940: error: ‘FILE’ undeclared (first use in this function)
    main.c:940: error: ‘control’ undeclared (first use in this function)
    main.c:940: error: invalid operands to binary *
    main.c:940: warning: statement with no effect
    main.c:943: warning: implicit declaration of function ‘fopen’
    main.c:943: warning: statement with no effect
    main.c:944: error: ‘EINTR’ undeclared (first use in this function)
    main.c:950: warning: passing argument 2 of ‘logsyserror’ from incompatible pointer type
    main.c:951: warning: passing argument 1 of ‘logwarn’ from incompatible pointer type
    main.c:958: warning: implicit declaration of function ‘get_cmd’
    main.c:961: warning: passing argument 2 of ‘logdebug’ from incompatible pointer type
    main.c:962: warning: implicit declaration of function ‘fclose’
    main.c:964: warning: statement with no effect
    main.c:971: warning: passing argument 2 of ‘logsyserror’ from incompatible pointer type
    main.c:972: warning: passing argument 1 of ‘logwarn’ from incompatible pointer type
    main.c:978: warning: passing argument 1 of ‘loginfo’ from incompatible pointer type
    main.c:984: error: ‘__u32’ undeclared (first use in this function)
    main.c:984: error: expected expression before ‘)’ token
    main.c:984: error: invalid operands to binary *
    main.c:984: error: called object ‘’ is not a function
    main.c:984: error: assignment of read-only location
    main.c:984: error: incompatible types in assignment
    main.c:984: warning: statement with no effect
    main.c:985: error: ‘__u16’ undeclared (first use in this function)
    main.c:985: error: expected expression before ‘)’ token
    main.c:985: error: invalid operands to binary *
    main.c:985: error: called object ‘’ is not a function
    main.c:985: error: assignment of read-only location
    main.c:985: error: incompatible types in assignment
    main.c:985: warning: statement with no effect
    main.c:992: warning: passing argument 1 of ‘loginfo’ from incompatible pointer type
    main.c:993: warning: implicit declaration of function ‘ioctl’
    main.c:993: warning: implicit declaration of function ‘_IO’
    main.c:995: warning: passing argument 2 of ‘logsyserror’ from incompatible pointer type
    main.c:999: warning: passing argument 1 of ‘loginfo’ from incompatible pointer type
    main.c:1002: warning: passing argument 2 of ‘logsyserror’ from incompatible pointer type
    main.c:1005: warning: passing argument 2 of ‘logdebug’ from incompatible pointer type
    main.c:1013: warning: implicit declaration of function ‘pause’
    main.c: In function ‘serve_port’:
    main.c:1029: warning: passing argument 2 of ‘logdebug’ from incompatible pointer type
    main.c:1031: error: ‘struct _config’ has no member named ‘realtime’
    main.c:1041: warning: passing argument 1 of ‘logerr’ from incompatible pointer type
    main.c:1042: warning: incompatible implicit declaration of built-in function ‘exit’
    main.c:1047: warning: passing argument 1 of ‘logerr’ from incompatible pointer type
    main.c:1050: warning: passing argument 2 of ‘logdebug’ from incompatible pointer type
    main.c:1055: warning: passing argument 2 of ‘logdebug’ from incompatible pointer type
    main.c: In function ‘mexit’:
    main.c:1082: error: ‘struct _config’ has no member named ‘daemon’
    main.c:1083: warning: passing argument 1 of ‘loginfo’ from incompatible pointer type
    main.c:1085: warning: passing argument 1 of ‘loginfo’ from incompatible pointer type
    main.c:1086: warning: incompatible implicit declaration of built-in function ‘exit’
    main.c: In function ‘kbdint_handler’:
    main.c:1093: warning: passing argument 2 of ‘logdebug’ from incompatible pointer type
    main.c: In function ‘setup_kbd_interrupt’:
    main.c:1098: error: storage size of ‘timer_action’ isn’t known
    main.c:1100: error: request for member ‘sa_handler’ in something not a structure or union
    main.c:1100: warning: statement with no effect
    main.c:1101: error: request for member ‘sa_flags’ in something not a structure or union
    main.c:1101: warning: statement with no effect
    main.c:1102: error: request for member ‘sa_mask’ in something not a structure or union
    main.c:1103: error: ‘SIGINT’ undeclared (first use in this function)
    main.c:1098: warning: unused variable ‘timer_action’
    main.c: In function ‘sigterm_handler’:
    main.c:1107: warning: passing argument 2 of ‘logdebug’ from incompatible pointer type
    main.c: In function ‘setup_daemon_signals’:
    main.c:1112: error: storage size of ‘timer_action’ isn’t known
    main.c:1114: error: request for member ‘sa_handler’ in something not a structure or union
    main.c:1114: warning: statement with no effect
    main.c:1115: error: request for member ‘sa_flags’ in something not a structure or union
    main.c:1115: warning: statement with no effect
    main.c:1116: error: request for member ‘sa_mask’ in something not a structure or union
    main.c:1117: error: ‘SIGTERM’ undeclared (first use in this function)
    main.c:1112: warning: unused variable ‘timer_action’
    main.c: In function ‘setup_segv’:
    main.c:1124: error: storage size of ‘action’ isn’t known
    main.c:1126: error: request for member ‘sa_handler’ in something not a structure or union
    main.c:1126: warning: statement with no effect
    main.c:1127: error: request for member ‘sa_flags’ in something not a structure or union
    main.c:1127: warning: statement with no effect
    main.c:1128: error: request for member ‘sa_mask’ in something not a structure or union
    main.c:1129: error: ‘SIGSEGV’ undeclared (first use in this function)
    main.c:1124: warning: unused variable ‘action’
    main.c: In function ‘segv_handler’:
    main.c:1133: error: storage size of ‘action’ isn’t known
    main.c:1136: warning: incompatible implicit declaration of built-in function ‘printf’
    main.c:1138: error: request for member ‘sa_handler’ in something not a structure or union
    main.c:1138: error: ‘SIG_DFL’ undeclared (first use in this function)
    main.c:1138: warning: statement with no effect
    main.c:1139: error: request for member ‘sa_flags’ in something not a structure or union
    main.c:1139: warning: statement with no effect
    main.c:1140: error: request for member ‘sa_mask’ in something not a structure or union
    main.c:1141: error: ‘SIGSEGV’ undeclared (first use in this function)
    main.c:1133: warning: unused variable ‘action’
    make[1]: *** [main.o] Error 1
    make[1]: Leaving directory `/home/slyder/martian-full-20071011/modem’
    make: *** [install] Error 2

    kao odgovor na: Problem oko dial up modema #65532
    slyder
    Učesnik

    Nisam imao vremena, al sad cu reinstalirati Ubuntu pa videcu. Javim ako ima nesto. Ako bas ne ide probacu na suse 10.2.  😎

    kao odgovor na: Problem oko dial up modema #65525
    slyder
    Učesnik

    Opet imam probleme.
    Ne mogu da kopiram raspakovan drajver direkno u  /usr/src/modules. Kako treba da upisem u root terminal da kopira driver folder tamo? :-

    kao odgovor na: Problem oko dial up modema #65520
    slyder
    Učesnik

    Mozes ti to tacno da napises kako da instaliram ovaj driver? Skidao sam all ne razumem bas nista kako da sta da radim. Ne koristim dugo vremena linux sistem. Ako mozes molim te napisi ili tu na forum ili na moj e-mail adresu!? ???

    [email protected]

    kao odgovor na: Problem oko dial up modema #65517
    slyder
    Učesnik

    evo je kompéetan istall.txt

    =================
        Building
    =================

    In root directory run
    $ make all

    ==================
      Installation
    ==================

    In root directory run
    $ su
    # make install

    ==============
      Running
    ==============

    Load module and run martian_modem first.
    # modprobe martian_dev
    # martian_modem [Options] [Tty]

    Now Tty is the name of the device file to represent your modem. You’ll supply it to the dialer. /dev/ttySM0 if argument omitted. Left martian_modem running and start the dialer.

    See options available
    # martian_modem –help

    ==============
        Auto
    ==============

    In scripts/ directory run automate.sh.
    $ cd scripts/
    $ ./automate.sh

    You can supply the option to be passed to martian_modem on loading like
    $ ./automate –mode 0660

    See ./automate.sh –help for more options.

    ==============
        Notes
    ==============

    ‘martian_modem’ program is a crucial part of the driver. It should be running as long as you access the modem.

    For technical reasons carrier status support is not available for the modem client. Configure dialer respectively. For wvdial add “Check Carrier = No” line to the configuration file.

    x86_64 platform.
    —————-

    martian_modem is a 32-bit application. It can be built on x86_64 the way prescribed, but you need 32-bit development environment for that. Second option is to use binary built on i386.

    To compile and install module only do
    $ make -C kmodule/ modules
    $ su
    # make -C kmodule/ install

    nesto sam uspeo al jos ne radi.evo i to dokle sam stigao

    slyder@slyder-desktop:~$ cd /home/slyder/Munkaasztal/martian-full-20071011
    slyder@slyder-desktop:~/Munkaasztal/martian-full-20071011$ make all
    make -C kmodule/ modules
    make[1]: Entering directory `/home/slyder/Munkaasztal/martian-full-20071011/kmodule’
    make -C /lib/modules/2.6.22-14-generic/build M=”/home/slyder/Munkaasztal/martian-full-20071011/kmodule”  modules
    make[2]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic’
      CC [M]  /home/slyder/Munkaasztal/martian-full-20071011/kmodule/martian.o
    /home/slyder/Munkaasztal/martian-full-20071011/kmodule/martian.c: In function ‘martian_isr’:
    /home/slyder/Munkaasztal/martian-full-20071011/kmodule/martian.c:160: warning: value computed is not used
    /home/slyder/Munkaasztal/martian-full-20071011/kmodule/martian.c: In function ‘martian_add’:
    /home/slyder/Munkaasztal/martian-full-20071011/kmodule/martian.c:660: warning: ‘deprecated_irq_flag’ is deprecated (declared at include/linux/interrupt.h:66)
    /home/slyder/Munkaasztal/martian-full-20071011/kmodule/martian.c:660: warning: ‘deprecated_irq_flag’ is deprecated (declared at include/linux/interrupt.h:66)
    /home/slyder/Munkaasztal/martian-full-20071011/kmodule/martian.c:663: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
      CC [M]  /home/slyder/Munkaasztal/martian-full-20071011/kmodule/marsio.o
      CC [M]  /home/slyder/Munkaasztal/martian-full-20071011/kmodule/mfifo.o
      LD [M]  /home/slyder/Munkaasztal/martian-full-20071011/kmodule/martian_dev.o
      Building modules, stage 2.
      MODPOST 1 modules
      CC      /home/slyder/Munkaasztal/martian-full-20071011/kmodule/martian_dev.mod.o
      LD [M]  /home/slyder/Munkaasztal/martian-full-20071011/kmodule/martian_dev.ko
    make[2]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic’
    make[1]: Leaving directory `/home/slyder/Munkaasztal/martian-full-20071011/kmodule’
    make -C modem/ all
    make[1]: Entering directory `/home/slyder/Munkaasztal/martian-full-20071011/modem’
    -e    CC      main.o
    -e    CC      dumpers.o
    -e    CC      log.o
    -e    CC      session.o
    -e    CC      mport.o
    -e    CC      pty.o
    -e    CC      sysdep.o
    -e    CC      isr.o
    -e    CC      smp.o
    -e    CC      core_if.o
    -e    CC      coresubst.o
    -e    CC      link.o
    -e    CC      tweakrelocsdynamic.o
    -e    CC      coreadd.o
    -e    CC      elf386tweakrelocs
    -e    LD      marscore.o
    -e    TWEAK    marscore.o
    -e    LD      martian_modem
    make[1]: Leaving directory `/home/slyder/Munkaasztal/martian-full-20071011/modem’
    slyder@slyder-desktop:~/Munkaasztal/martian-full-20071011$ sudo make install
    [sudo] password for slyder:
    make -C kmodule/ install
    make[1]: Entering directory `/home/slyder/Munkaasztal/martian-full-20071011/kmodule’
    make -C /lib/modules/2.6.22-14-generic/build M=”/home/slyder/Munkaasztal/martian-full-20071011/kmodule” modules_install
    make[2]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic’
      INSTALL /home/slyder/Munkaasztal/martian-full-20071011/kmodule/martian_dev.ko
      DEPMOD  2.6.22-14-generic
    make[2]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic’
    if ! /sbin/modprobe -nq martian_dev ; then /sbin/depmod -a; fi
    make[1]: Leaving directory `/home/slyder/Munkaasztal/martian-full-20071011/kmodule’
    make -C modem/ install
    make[1]: Entering directory `/home/slyder/Munkaasztal/martian-full-20071011/modem’
    -e    LD      martian_modem.debug
    -e    STRIP    martian_modem.debug
    -e    STRIP    martian_modem.stripped
    -e    INSTALL  /usr/sbin/martian_modem
    -e    INSTALL  /usr/lib/debug/usr/sbin/martian_modem.debug
    make[1]: Leaving directory `/home/slyder/Munkaasztal/martian-full-20071011/modem’
    slyder@slyder-desktop:~/Munkaasztal/martian-full-20071011$ modprobe martian_dev
    slyder@slyder-desktop:~/Munkaasztal/martian-full-20071011$  martian_modem –help
    Usage: martian_modem [Options] [TTY]
    Options:
      –daemon            Run as daemon
      –log=FILE          Log to FILE
      –syslog            Use syslog for logging
      –realtime          Raise priority of threads to realtime
      –isr={kernel,core,user}    Use original isr or its implementations
                              `kernel’ to serve irqs in kernel module by rewriten isr
                              `core’ for original isr version linked into this program
                              `user’ for low-level statistics and testing of rewriten isr
                              `kernel’ is default
      –smp                True smp mode
      –user=        Give tty ownership to user
      –group=      Change tty group to
      –country=
      –no-cdclose        Keep working with client when carrier lost.
      –hide-pty          Save pty from others as soon its open. Client should notify he’s here writing to device. For callback feature.
      –debug=LEVEL        Enable debugging. LEVEL = 1..5
      –info countries    Print support info
      –help, –usage      Print this message
    TTY is the file name to access the modem, /dev/ttySM0 by default

    kao odgovor na: Problem oko dial up modema #65516
    slyder
    Učesnik

    koristio sam scenmodem.evo je rezultat:

                 

    Only plain text email is forwarded by the  [email protected] List Server,
    as HTML can contain viruses. Use as the email Subject Line:
              YourName, YourCountry  kernel 2.6.22-14-generic
    With this Subject Line cogent experts will be alerted, and useful case names left in the Archive.
    YourCountry will enable Country specific guidance. Your contry’s local Linux experts
    can be found through: http://www.linux.org/groups/index.html
    Responses from [email protected] are sometimes blocked by an Internet Provider mail filters.
    So in a day, also check the Archived responses at http://www.linmodems.org
    ————————–  System information —————————-
    CPU=i686, 
    Linux version 2.6.22-14-generic (buildd@palmer) (gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)) #1 SMP Sun Oct 14 23:05:12 GMT 2007
    scanModem update of:  2007-20-07
    The modem symbolic link is /dev/modem -> ttySL0

    There are no blacklisted modem drivers in /etc/modprobe*  files

    Potentially useful modem drivers now loaded are:
    snd_atiixp_modem
    snd_via82xx_modem
    snd_intel8x0m

    The Advanced Linux Sound Architecture (ALSA) packages providing audio support on your System,
    also includes drivers for some modems. High Definition Audio (HDA) cards can themselves host
    a softmodem chipset, with both audio+modem supported by a snd-hda-intel driver.
    The ALSA diagnostics are written during bootup to /proc/asound/ folders.

    Modem not detected though HDA card diagnostics, though not excluding
    a possible Conexant modem chip impervious to ALSA diagnostics.
    Proceeding through alternative possibilties.

    Summary card and chipset information is in:
    /proc/asound/cards:
    0 [V8235          ]: VIA8233 – VIA 8235
                          VIA 8235 with AD1980 at 0xe000, irq 18

    /proc/asound/pcm:
    00-01: VIA 8235 : VIA 8235 : playback 1 : capture 1
    00-00: VIA 8235 : VIA 8235 : playback 4 : capture 1

    A copy of /proc/asound had been copied to Modem/ALSAslyder.tgz
    USB modem not detected by lsusb

    For candidate card, firmware information and bootup diagnostics are:

    PCI slot PCI ID SubsystemID Name
    ———- ——— ——— ————–
    00:0d.0 11c1:048c 11c1:044c Communication controller: Agere Systems V.92 56K WinModem

    Modem interrupt assignment and sharing:
    — Bootup diagnostics for card in PCI slot 00:0d.0 —-

    === Finished modem firmware and bootup diagnostics section. ===
    === Next deducing cogent software ===

    There is candidate modem software.

    For candidate modem in PCI bus:  00:0d.0
      Class 0780: 11c1:048c Communication controller: Agere Systems V.92 56K WinModem
          Primary PCI_id  11c1:048c
    Support type needed or chipset: Agere.SV2P

    Vendor 11c1 is Lucent Technologies with modem technology now under LSI Inc.
    Their Linux  code developer/maintainer is Soumyendu Sarkar. Support for a chipset and its
    continued maintenance is only initiated at the request of a major chipset buyer,
    or comparable sponsor. Several different  modem chipset types  are produced:
    with varying support under Linux.
    Device ID  Support        Name          Comment
    ———  ————-  ———–    —————————–
    0480      serial drivers Venus          controller chipset 1673JV7
    0440-045d  martian        Mars/Apollo    DSP (digital signal processing) chipsets
    0462      none          56K.V90/ADSL Wildwire
    048d none            SV2P            soft modem
    048(c or f) AGRSM        SV2P            soft modem
    0600      none          soft modem, very few in the field.
    0620      AGRSM          Pinball  soft modem, in some HP desktop PCs
    062(1-3)  none          SV92PP,Pinball  soft modem, in some HP desktop PCs

    martian – At http://phep2.technion.ac.il/linmodems/packages/ltmodem/kernel-2.6/martian/

    AGRSM – At http://phep2.technion.ac.il/linmodems/packages/ltmodem/sv92/ Read Agrsm.txt
    Read Agrsm.txt
    ————– end Agere Systems section ——————-

    Completed candidate modem analyses.

    The base of the UDEV device file system is: /dev/.udev

    Versions adequately match for the compiler installed: 4.1.3
                and the compiler used in kernel assembly: 4.1.3

    Minimal compiling resources appear complete:
      make utility – /usr/bin/make
      Compiler version 4.1
      linuc_headers base folder /lib/modules/2.6.22-14-generic/build

    However some compilations and executable functions may need additional files,
    in the FileNames.h (so called kernel “h”eaders) collection installed in  /usr/include/ .
    For martian_modem, additional required packages are libc6-dev (and for Debian/Ubuntu,  linux-libc-dev). The also required headers of package libc6 are commonly installed by default.

    If a driver compilation fails, with message including some lack of some FileName.h (stdio.h for example), then
    Some additional kernel-header files need installation to /usr/include. The minimal additional packages are libc6-dev
    and any of its dependents, under Ubuntu linux-libc-dev

    If an alternate ethernet connection is available,
    $  apt-get update
    $  apt-get -s install linux-kernel-devel
    will install needed pacakage
    For Debian/Ubuntu related distributions, run the following command to display the needed package list:

    Otherwise packages have to be found through http://packages.ubuntu.com
    Once downloaded and transferred into a Linux partition,
    they can be installed alltogether with:
    $ sudo dpkg -i *.deb

    Checking pppd properties:
    -rwsr-xr– 1 root dip 269256 2007-10-04 21:57 /usr/sbin/pppd

    In case of an “error 17” “serial loopback” problem, see:
        http://phep2.technion.ac.il/linmodems/archive-sixth/msg02637.html

    To enable dialout without Root permission do:
    $ su – root  (not for Ubuntu)
            sudo chmod a+x /usr/sbin/pppd
    or under Ubuntu related Linuxes
    sudo chmod a+x /usr/sbin/pppd

    Checking settings of: /etc/ppp/options
    asyncmap 0
    noauth
    crtscts
    lock
    hide-password
    modem
    proxyarp
    lcp-echo-interval 30
    lcp-echo-failure 4
    noipx

    In case of a message like:
      Warning: Could not modify /etc/ppp/pap-secrets: Permission denied
    see http://linmodems.technion.ac.il/bigarch/archive-sixth/msg04656.html

    Don’t worry about the following, it is for the experts
    should trouble shooting be necessary.
    ==========================================================

    # start/stop the daemon when the USB modem is connected
    KERNEL==”slusb[0-9]*”, GROUP=”dialout”, RUN+=”/etc/init.d/sl-modem-daemon”
    Checking for modem support lines:
    ————————————–
        /device/modem symbolic link:  lrwxrwxrwx 1 root root 6 2007-12-04 20:10 /dev/modem -> ttySL0
    slmodemd created symbolic link /dev/ttySL0: 
        Within /etc/udev/ files:
    /etc/udev/rules.d/030_sl-modem-daemon.rules:# start/stop the daemon when the USB modem is connected
    /etc/udev/rules.d/030_sl-modem-daemon.rules:KERNEL==”slusb[0-9]*”, GROUP=”dialout”, RUN+=”/etc/init.d/sl-modem-daemon”
    /etc/udev/sl-modem-daemon.rules:# start/stop the daemon when the USB modem is connected
    /etc/udev/sl-modem-daemon.rules:KERNEL==”slusb[0-9]*”, GROUP=”dialout”, RUN+=”/etc/init.d/sl-modem-daemon”
        Within /etc/modprobe.conf files:
    /etc/modprobe.d/blacklist-modem:# Uncomment these entries in order to blacklist unwanted modem drivers
    /etc/modprobe.d/blacklist-modem:# blacklist snd-atiixp-modem
    /etc/modprobe.d/blacklist-modem:# blacklist snd-via82xx-modem
    /etc/modprobe.d/sl-modem-daemon.modutils:install slamr modprobe –ignore-install ungrab-winmodem ;  modprobe –ignore-install slamr; test -e /dev/slamr0 || (/bin/mknod -m 660 /dev/slamr0 c 242 0 2>/dev/null && chgrp dialout /dev/slamr0)
    /etc/modprobe.d/alsa-base:options snd-atiixp-modem index=-2
    /etc/modprobe.d/alsa-base:options snd-via82xx-modem index=-2
        Within any ancient /etc/devfs files:

        Within ancient kernel 2.4.n /etc/module.conf files:
    ltmodem
    ltmodem
    ——— end modem support lines ——–

    kao odgovor na: Problem oko dial up modema #65513
    slyder
    Učesnik

    =================
        Building
    =================

    In root directory run
    $ make all

    ==================
      Installation
    ==================

    In root directory run
    $ su
    # make install
    Kod driver-a ovaj gornji text pise u install.txt fajlu.
    Kad upisem u root directory ovo:
    root@slyder-desktop:/home/slyder# make install

    izbacuje sledeci text:
    make: *** No rule to make target `install’.  Stop.

    ili sam ja baksuz ili mozda nisam dobar driver skinuo!?
    nasao sam martian-full-20071011.tar.gz, jel ovaj driver dobro je za ubuntu 7.10 (gutsy)kernel Linux 2.6.22-14-generic  GNOME 2.20.0?

    kao odgovor na: Problem oko dial up modema #65511
    slyder
    Učesnik

    Hvala na pomoc, nasao sam.ali izgleda da nisam toliko pametan da instaliram. :redface:  Ako neko zna da nudi pomoc, ja bi zamolio da to meni objasni kako to da instaliram na ubuntu 7.10. ???

Gledanje 1 članaka - 1 do 8 (od 8 ukupno)