make -C modem all
make[1]: Entering directory `/home/kam_e/slmodem-2.9.7/modem'
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_main.o -c modem_main.c
modem_main.c:45:20: unistd.h: No such file or directory
modem_main.c:46:20: stdlib.h: No such file or directory
modem_main.c:47:19: stdio.h: No such file or directory
modem_main.c:48:20: string.h: No such file or directory
modem_main.c:49:19: errno.h: No such file or directory
modem_main.c:50:21: termios.h: No such file or directory
modem_main.c:51:19: fcntl.h: No such file or directory
modem_main.c:52:23: sys/types.h: No such file or directory
modem_main.c:53:22: sys/stat.h: No such file or directory
modem_main.c:54:23: sys/ioctl.h: No such file or directory
modem_main.c:55:22: sys/mman.h: No such file or directory
modem_main.c:56:19: sched.h: No such file or directory
modem_main.c:57:20: signal.h: No such file or directory
In file included from /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/include/syslimits.h:7,
                 from /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/include/limits.h:11,
                 from modem_main.c:58:
/usr/lib/gcc-lib/i386-redhat-linux/3.3.3/include/limits.h:122:75: limits.h: No such file or directory
modem_main.c:59:17: grp.h: No such file or directory
In file included from modem_main.c:67:
modem.h:44:20: stdlib.h: No such file or directory
modem.h:45:20: string.h: No such file or directory
modem.h:46:23: sys/types.h: No such file or directory
modem.h:47:21: termios.h: No such file or directory
In file included from modem.h:49,
                 from modem_main.c:67:
modem_defs.h:48:23: sys/types.h: No such file or directory
In file included from modem.h:49,
                 from modem_main.c:67:
modem_defs.h:50: error: syntax error before "u8"
modem_defs.h:50: warning: type defaults to `int' in declaration of `u8'
modem_defs.h:50: warning: data definition has no type or storage class
modem_defs.h:51: error: syntax error before "u16"
modem_defs.h:51: warning: type defaults to `int' in declaration of `u16'
modem_defs.h:51: warning: data definition has no type or storage class
modem_defs.h:52: error: syntax error before "u32"
modem_defs.h:52: warning: type defaults to `int' in declaration of `u32'
modem_defs.h:52: warning: data definition has no type or storage class
modem_defs.h:54: error: syntax error before "s8"
modem_defs.h:54: warning: type defaults to `int' in declaration of `s8'
modem_defs.h:54: warning: data definition has no type or storage class
modem_defs.h:55: error: syntax error before "s16"
modem_defs.h:55: warning: type defaults to `int' in declaration of `s16'
modem_defs.h:55: warning: data definition has no type or storage class
modem_defs.h:56: error: syntax error before "s32"
modem_defs.h:56: warning: type defaults to `int' in declaration of `s32'
modem_defs.h:56: warning: data definition has no type or storage class
In file included from modem.h:50,
                 from modem_main.c:67:
modem_homolog.h:53: error: syntax error before "u8"
modem_homolog.h:53: warning: no semicolon at end of struct or union
modem_homolog.h:54: warning: type defaults to `int' in declaration of `PulseDialBreakTime'
modem_homolog.h:54: warning: data definition has no type or storage class
modem_homolog.h:55: error: syntax error before "PulseDialDigitPattern"
modem_homolog.h:55: warning: type defaults to `int' in declaration of `PulseDialDigitPattern'
modem_homolog.h:55: warning: data definition has no type or storage class
modem_homolog.h:56: error: syntax error before "DTMFHighToneLevel"
modem_homolog.h:56: warning: type defaults to `int' in declaration of `DTMFHighToneLevel'
modem_homolog.h:56: warning: data definition has no type or storage class
modem_homolog.h:57: error: syntax error before "DTMFDialSpeed"
modem_homolog.h:57: warning: type defaults to `int' in declaration of `DTMFDialSpeed'
modem_homolog.h:57: warning: data definition has no type or storage class
modem_homolog.h:58: error: syntax error before "MinBusyCadenceOnTime"
modem_homolog.h:58: warning: type defaults to `int' in declaration of `MinBusyCadenceOnTime'
modem_homolog.h:58: warning: data definition has no type or storage class
modem_homolog.h:59: error: syntax error before "MaxBusyCadenceOnTime"
modem_homolog.h:59: warning: type defaults to `int' in declaration of `MaxBusyCadenceOnTime'
modem_homolog.h:59: warning: data definition has no type or storage class
modem_homolog.h:60: error: syntax error before "BusyDetectionCyclesNumber"
modem_homolog.h:60: warning: type defaults to `int' in declaration of `BusyDetectionCyclesNumber'
modem_homolog.h:60: warning: data definition has no type or storage class
modem_homolog.h:61: error: syntax error before "MinBusyCadenceOffTime"
modem_homolog.h:61: warning: type defaults to `int' in declaration of `MinBusyCadenceOffTime'
modem_homolog.h:61: warning: data definition has no type or storage class
modem_homolog.h:62: error: syntax error before "MaxBusyCadenceOffTime"
modem_homolog.h:62: warning: type defaults to `int' in declaration of `MaxBusyCadenceOffTime'
modem_homolog.h:62: warning: data definition has no type or storage class
modem_homolog.h:63: error: syntax error before "CallingToneFlag"
modem_homolog.h:63: warning: type defaults to `int' in declaration of `CallingToneFlag'
modem_homolog.h:63: warning: data definition has no type or storage class
modem_homolog.h:64: error: syntax error before "HookFlashTime"
modem_homolog.h:64: warning: type defaults to `int' in declaration of `HookFlashTime'
modem_homolog.h:64: warning: data definition has no type or storage class
modem_homolog.h:65: error: syntax error before "DialPauseTime"
modem_homolog.h:65: warning: type defaults to `int' in declaration of `DialPauseTime'
modem_homolog.h:65: warning: data definition has no type or storage class
modem_homolog.h:66: error: syntax error before "TransmitLevel"
modem_homolog.h:66: warning: type defaults to `int' in declaration of `TransmitLevel'
modem_homolog.h:66: warning: data definition has no type or storage class
modem_homolog.h:67: error: syntax error before "DialModifierValidation"
modem_homolog.h:67: warning: type defaults to `int' in declaration of `DialModifierValidation'
modem_homolog.h:67: warning: data definition has no type or storage class
modem_homolog.h:68: error: syntax error before "DialToneValidationTime"
modem_homolog.h:68: warning: type defaults to `int' in declaration of `DialToneValidationTime'
modem_homolog.h:68: warning: data definition has no type or storage class
modem_homolog.h:70: error: syntax error before "DTMFHighAndLowToneLevelDifference"
modem_homolog.h:70: warning: type defaults to `int' in declaration of `DTMFHighAndLowToneLevelDifference'
modem_homolog.h:70: warning: data definition has no type or storage class
modem_homolog.h:71: error: syntax error before "DialToneCallProgressFilterIndex"
modem_homolog.h:71: warning: type defaults to `int' in declaration of `DialToneCallProgressFilterIndex'
modem_homolog.h:71: warning: data definition has no type or storage class
modem_homolog.h:72: error: syntax error before "DialToneDetectionThreshold"
modem_homolog.h:72: warning: type defaults to `int' in declaration of `DialToneDetectionThreshold'
modem_homolog.h:72: warning: data definition has no type or storage class
modem_homolog.h:73: error: syntax error before "ABCDDialingPermittedFlag"
modem_homolog.h:73: warning: type defaults to `int' in declaration of `ABCDDialingPermittedFlag'
modem_homolog.h:73: warning: data definition has no type or storage class
modem_homolog.h:74: error: syntax error before "ComaPauseDurationLimit"
modem_homolog.h:74: warning: type defaults to `int' in declaration of `ComaPauseDurationLimit'
modem_homolog.h:74: warning: data definition has no type or storage class
modem_homolog.h:76: error: syntax error before "BusyToneCallProgressFilterIndex"
modem_homolog.h:76: warning: type defaults to `int' in declaration of `BusyToneCallProgressFilterIndex'
modem_homolog.h:76: warning: data definition has no type or storage class
modem_homolog.h:77: error: syntax error before "PulseBetweenDigitsInterval"
modem_homolog.h:77: warning: type defaults to `int' in declaration of `PulseBetweenDigitsInterval'
modem_homolog.h:77: warning: data definition has no type or storage class
modem_homolog.h:78: error: syntax error before "DialToneWaitTime"
modem_homolog.h:78: warning: type defaults to `int' in declaration of `DialToneWaitTime'
modem_homolog.h:78: warning: data definition has no type or storage class
modem_homolog.h:79: error: syntax error before "MinRingbackCadenceOnTime"
modem_homolog.h:79: warning: type defaults to `int' in declaration of `MinRingbackCadenceOnTime'
modem_homolog.h:79: warning: data definition has no type or storage class
modem_homolog.h:80: error: syntax error before "MaxRingbackCadenceOnTime"
modem_homolog.h:80: warning: type defaults to `int' in declaration of `MaxRingbackCadenceOnTime'
modem_homolog.h:80: warning: data definition has no type or storage class
modem_homolog.h:81: error: syntax error before "RingbackDetectionCyclesNumber"
modem_homolog.h:81: warning: type defaults to `int' in declaration of `RingbackDetectionCyclesNumber'
modem_homolog.h:81: warning: data definition has no type or storage class
modem_homolog.h:91: error: syntax error before "CallProgressSamplesBufferLength"
modem_homolog.h:91: warning: type defaults to `int' in declaration of `CallProgressSamplesBufferLength'
modem_homolog.h:91: warning: data definition has no type or storage class
modem_homolog.h:92: error: syntax error before "MustNoiseFilterBeApplied"
modem_homolog.h:92: warning: type defaults to `int' in declaration of `MustNoiseFilterBeApplied'
modem_homolog.h:92: warning: data definition has no type or storage class
modem_homolog.h:103: warning: type defaults to `int' in declaration of `u16'
modem_homolog.h:103: warning: no semicolon at end of struct or union
modem_homolog.h:103: error: syntax error before "id"
modem_homolog.h:106: error: syntax error before '}' token
In file included from modem.h:51,
                 from modem_main.c:67:
modem_dp.h:83: error: syntax error before "u8"
modem_dp.h:84: error: syntax error before "u8"
In file included from modem_main.c:67:
modem.h:134: error: syntax error before "u16"
modem.h:134: warning: no semicolon at end of struct or union
modem.h:135: warning: type defaults to `int' in declaration of `next_free'
modem.h:135: warning: data definition has no type or storage class
modem.h:136: error: syntax error before "last_matched"
modem.h:136: warning: type defaults to `int' in declaration of `last_matched'
modem.h:136: warning: data definition has no type or storage class
modem.h:137: error: syntax error before "last_added"
modem.h:137: warning: type defaults to `int' in declaration of `last_added'
modem.h:137: warning: data definition has no type or storage class
modem.h:138: error: syntax error before "cw_size"
modem.h:138: warning: type defaults to `int' in declaration of `cw_size'
modem.h:138: warning: data definition has no type or storage class
modem.h:139: error: syntax error before "threshold"
modem.h:139: warning: type defaults to `int' in declaration of `threshold'
modem.h:139: warning: data definition has no type or storage class
modem.h:140: error: syntax error before "escape_char"
modem.h:140: warning: type defaults to `int' in declaration of `escape_char'
modem.h:140: warning: data definition has no type or storage class
modem.h:144: error: syntax error before "u8"
modem.h:144: warning: no semicolon at end of struct or union
modem.h:145: warning: type defaults to `int' in declaration of `parent'
modem.h:145: warning: data definition has no type or storage class
modem.h:146: error: syntax error before "child"
modem.h:146: warning: type defaults to `int' in declaration of `child'
modem.h:146: warning: data definition has no type or storage class
modem.h:147: error: syntax error before "next"
modem.h:147: warning: type defaults to `int' in declaration of `next'
modem.h:147: warning: data definition has no type or storage class
modem.h:148: warning: type defaults to `int' in declaration of `dict'
modem.h:148: warning: data definition has no type or storage class
modem.h:151: error: syntax error before "bit_data"
modem.h:151: warning: type defaults to `int' in declaration of `bit_data'
modem.h:151: warning: data definition has no type or storage class
modem.h:154: error: syntax error before "str_data"
modem.h:154: warning: type defaults to `int' in declaration of `str_data'
modem.h:154: warning: data definition has no type or storage class
modem.h:156: error: syntax error before "cmp_last"
modem.h:156: warning: type defaults to `int' in declaration of `cmp_last'
modem.h:156: warning: data definition has no type or storage class
modem.h:157: error: syntax error before "cmp_bits"
modem.h:157: warning: type defaults to `int' in declaration of `cmp_bits'
modem.h:157: warning: data definition has no type or storage class
modem.h:158: error: syntax error before "raw_bits"
modem.h:158: warning: type defaults to `int' in declaration of `raw_bits'
modem.h:158: warning: data definition has no type or storage class
modem.h:163: error: syntax error before '}' token
modem.h:170: error: syntax error before "u8"
modem.h:171: error: syntax error before "u8"
modem.h:187: error: syntax error before "u16"
modem.h:187: warning: no semicolon at end of struct or union
modem.h:188: warning: type defaults to `int' in declaration of `buf'
modem.h:188: warning: data definition has no type or storage class
modem.h:189: error: syntax error before '}' token
modem.h:189: warning: type defaults to `int' in declaration of `frame_t'
modem.h:189: warning: data definition has no type or storage class
modem.h:215: error: syntax error before "u8"
modem.h:215: warning: no semicolon at end of struct or union
modem.h:216: warning: type defaults to `int' in declaration of `rsp_addr'
modem.h:216: warning: data definition has no type or storage class
modem.h:217: error: syntax error before "vs"
modem.h:217: warning: type defaults to `int' in declaration of `vs'
modem.h:217: warning: data definition has no type or storage class
modem.h:218: error: syntax error before "va"
modem.h:218: warning: type defaults to `int' in declaration of `va'
modem.h:218: warning: data definition has no type or storage class
modem.h:219: error: syntax error before "vr"
modem.h:219: warning: type defaults to `int' in declaration of `vr'
modem.h:219: warning: data definition has no type or storage class
modem.h:225: error: syntax error before '*' token
modem.h:225: warning: type defaults to `int' in declaration of `sent_info'
modem.h:225: warning: data definition has no type or storage class
modem.h:226: error: syntax error before '*' token
modem.h:226: warning: type defaults to `int' in declaration of `tx_info'
modem.h:226: warning: data definition has no type or storage class
modem.h:227: error: syntax error before '*' token
modem.h:227: warning: type defaults to `int' in declaration of `info_list'
modem.h:227: warning: data definition has no type or storage class
modem.h:228: error: syntax error before '*' token
modem.h:228: warning: type defaults to `int' in declaration of `tx_ctrl'
modem.h:228: warning: data definition has no type or storage class
modem.h:229: error: syntax error before '*' token
modem.h:229: warning: type defaults to `int' in declaration of `ctrl_list'
modem.h:229: warning: data definition has no type or storage class
modem.h:234: error: syntax error before "rx_buf"
modem.h:234: warning: type defaults to `int' in declaration of `rx_buf'
modem.h:234: warning: data definition has no type or storage class
modem.h:237: error: syntax error before "frame_t"
modem.h:237: warning: no semicolon at end of struct or union
modem.h:238: warning: type defaults to `int' in declaration of `ctrl'
modem.h:238: warning: data definition has no type or storage class
modem.h:239: error: syntax error before "info"
modem.h:239: warning: type defaults to `int' in declaration of `info'
modem.h:239: warning: data definition has no type or storage class
modem.h:240: error: syntax error before '}' token
modem.h:240: warning: type defaults to `int' in declaration of `info_buf'
modem.h:240: warning: data definition has no type or storage class
modem.h:242: error: syntax error before "frame_t"
modem.h:242: warning: no semicolon at end of struct or union
modem.h:243: warning: type defaults to `int' in declaration of `ctrl'
modem.h:243: warning: data definition has no type or storage class
modem.h:244: error: syntax error before "info"
modem.h:244: warning: type defaults to `int' in declaration of `info'
modem.h:244: warning: data definition has no type or storage class
modem.h:245: error: syntax error before '}' token
modem.h:245: warning: type defaults to `int' in declaration of `ctrl_buf'
modem.h:245: warning: data definition has no type or storage class
modem.h:251: error: syntax error before '}' token
modem.h:259: error: field `termios' has incomplete type
modem.h:312: error: syntax error before "u8"
modem.h:312: warning: no semicolon at end of struct or union
modem.h:312: warning: no semicolon at end of struct or union
modem.h:313: warning: type defaults to `int' in declaration of `ec_detector'
modem.h:313: warning: data definition has no type or storage class
modem.h:314: error: syntax error before "ec_tx_win_size"
modem.h:314: warning: type defaults to `int' in declaration of `ec_tx_win_size'
modem.h:314: warning: data definition has no type or storage class
modem.h:315: error: syntax error before "ec_rx_win_size"
modem.h:315: warning: type defaults to `int' in declaration of `ec_rx_win_size'
modem.h:315: warning: data definition has no type or storage class
modem.h:316: error: syntax error before "ec_tx_info_size"
modem.h:316: warning: type defaults to `int' in declaration of `ec_tx_info_size'
modem.h:316: warning: data definition has no type or storage class
modem.h:317: error: syntax error before "ec_rx_info_size"
modem.h:317: warning: type defaults to `int' in declaration of `ec_rx_info_size'
modem.h:317: warning: data definition has no type or storage class
modem.h:319: error: syntax error before "comp"
modem.h:319: warning: type defaults to `int' in declaration of `comp'
modem.h:319: warning: data definition has no type or storage class
modem.h:322: error: syntax error before '}' token
modem.h:322: warning: type defaults to `int' in declaration of `cfg'
modem.h:322: warning: data definition has no type or storage class
modem.h:333: error: syntax error before "u32"
modem.h:333: warning: no semicolon at end of struct or union
modem.h:334: warning: type defaults to `int' in declaration of `pack'
modem.h:334: warning: type defaults to `int' in declaration of `unpack'
modem.h:334: warning: data definition has no type or storage class
modem.h:335: error: syntax error before "u8"
modem.h:336: error: syntax error before "u8"
modem.h:347: error: syntax error before "u8"
modem.h:347: warning: no semicolon at end of struct or union
modem.h:347: warning: no semicolon at end of struct or union
modem.h:349: error: syntax error before "rx_pattern"
modem.h:349: warning: type defaults to `int' in declaration of `rx_pattern'
modem.h:349: warning: data definition has no type or storage class
modem.h:351: error: syntax error before '}' token
modem.h:351: warning: type defaults to `int' in declaration of `detector'
modem.h:351: warning: data definition has no type or storage class
modem.h:359: error: syntax error before "frame_t"
modem.h:360: error: syntax error before "frame_t"
modem.h:363: error: field `_rx_frame' has incomplete type
modem.h:364: error: syntax error before "u8"
modem.h:364: warning: no semicolon at end of struct or union
modem.h:365: warning: type defaults to `int' in declaration of `hdlc'
modem.h:365: warning: data definition has no type or storage class
modem.h:366: error: syntax error before '}' token
modem.h:366: warning: type defaults to `int' in declaration of `packer'
modem.h:366: warning: data definition has no type or storage class
modem.h:369: error: field `lapm' has incomplete type
modem.h:376: error: field `encoder' has incomplete type
modem.h:377: error: field `decoder' has incomplete type
modem.h:378: error: conflicting types for `comp'
modem.h:319: error: previous declaration of `comp'
modem.h:404: error: syntax error before '}' token
modem.h:426: error: syntax error before "u8"
modem.h:427: error: syntax error before "u8"
modem.h:429: error: syntax error before "u8"
modem.h:430: error: syntax error before "u8"
modem.h:432: error: syntax error before "u8"
modem.h:433: error: syntax error before "u8"
modem_main.c:93: error: syntax error before "modem_perm"
modem_main.c:93: warning: type defaults to `int' in declaration of `modem_perm'
modem_main.c:93: warning: data definition has no type or storage class
modem_main.c: In function `modemap_start':
modem_main.c:465: error: dereferencing pointer to incomplete type
modem_main.c:469: warning: implicit declaration of function `ioctl'
modem_main.c:473: warning: implicit declaration of function `memset'
modem_main.c:474: warning: implicit declaration of function `write'
modem_main.c: In function `modemap_stop':
modem_main.c:485: error: dereferencing pointer to incomplete type
modem_main.c: In function `modemap_ioctl':
modem_main.c:492: error: dereferencing pointer to incomplete type
modem_main.c:496: error: dereferencing pointer to incomplete type
modem_main.c:499: error: dereferencing pointer to incomplete type
modem_main.c: In function `mdm_device_read':
modem_main.c:516: warning: implicit declaration of function `read'
modem_main.c: In function `mdm_device_setup':
modem_main.c:530: error: storage size of `stbuf' isn't known
modem_main.c:533: warning: implicit declaration of function `stat'
modem_main.c:535: warning: implicit declaration of function `fprintf'
modem_main.c:535: error: `stderr' undeclared (first use in this function)
modem_main.c:535: error: (Each undeclared identifier is reported only once
modem_main.c:535: error: for each function it appears in.)
modem_main.c:535: warning: implicit declaration of function `strerror'
modem_main.c:535: error: `errno' undeclared (first use in this function)
modem_main.c:535: warning: format argument is not a pointer (arg 4)
modem_main.c:538: warning: implicit declaration of function `S_ISCHR'
modem_main.c:543: warning: implicit declaration of function `open'
modem_main.c:543: error: `O_RDWR' undeclared (first use in this function)
modem_main.c:545: warning: format argument is not a pointer (arg 4)
modem_main.c:549: warning: implicit declaration of function `minor'
modem_main.c:530: warning: unused variable `stbuf'
modem_main.c: In function `mdm_device_release':
modem_main.c:555: warning: implicit declaration of function `close'
modem_main.c: At top level:
modem_main.c:571: error: syntax error before "keep_running"
modem_main.c:571: warning: type defaults to `int' in declaration of `keep_running'
modem_main.c:571: warning: data definition has no type or storage class
modem_main.c: In function `modem_run':
modem_main.c:582: error: storage size of `tmo' isn't known
modem_main.c:583: error: `fd_set' undeclared (first use in this function)
modem_main.c:583: error: syntax error before "rset"
modem_main.c:584: error: storage size of `termios' isn't known
modem_main.c:592: error: dereferencing pointer to incomplete type
modem_main.c:597: warning: implicit declaration of function `FD_ZERO'
modem_main.c:597: error: `rset' undeclared (first use in this function)
modem_main.c:598: error: `eset' undeclared (first use in this function)
modem_main.c:599: error: dereferencing pointer to incomplete type
modem_main.c:600: warning: implicit declaration of function `FD_SET'
modem_main.c:605: error: dereferencing pointer to incomplete type
modem_main.c:609: error: dereferencing pointer to incomplete type
modem_main.c:609: error: dereferencing pointer to incomplete type
modem_main.c:614: warning: implicit declaration of function `select'
modem_main.c:614: error: `NULL' undeclared (first use in this function)
modem_main.c:617: error: `errno' undeclared (first use in this function)
modem_main.c:617: error: `EINTR' undeclared (first use in this function)
modem_main.c:619: error: `stderr' undeclared (first use in this function)
modem_main.c:619: warning: format argument is not a pointer (arg 3)
modem_main.c:626: warning: implicit declaration of function `FD_ISSET'
modem_main.c:637: warning: format argument is not a pointer (arg 3)
modem_main.c:647: warning: format argument is not a pointer (arg 3)
modem_main.c:655: error: dereferencing pointer to incomplete type
modem_main.c:656: error: dereferencing pointer to incomplete type
modem_main.c:659: error: dereferencing pointer to incomplete type
modem_main.c:662: error: dereferencing pointer to incomplete type
modem_main.c:663: error: dereferencing pointer to incomplete type
modem_main.c:664: error: dereferencing pointer to incomplete type
modem_main.c:665: error: dereferencing pointer to incomplete type
modem_main.c:666: error: dereferencing pointer to incomplete type
modem_main.c:672: warning: format argument is not a pointer (arg 3)
modem_main.c:679: error: dereferencing pointer to incomplete type
modem_main.c:680: error: dereferencing pointer to incomplete type
modem_main.c:681: error: dereferencing pointer to incomplete type
modem_main.c:682: error: dereferencing pointer to incomplete type
modem_main.c:684: warning: format argument is not a pointer (arg 3)
modem_main.c:688: error: dereferencing pointer to incomplete type
modem_main.c:689: error: dereferencing pointer to incomplete type
modem_main.c:694: error: dereferencing pointer to incomplete type
modem_main.c:695: error: dereferencing pointer to incomplete type
modem_main.c:700: warning: implicit declaration of function `tcgetattr'
modem_main.c:701: warning: implicit declaration of function `memcmp'
modem_main.c:701: error: dereferencing pointer to incomplete type
modem_main.c:706: error: dereferencing pointer to incomplete type
modem_main.c:706: error: dereferencing pointer to incomplete type
modem_main.c:713: error: `EAGAIN' undeclared (first use in this function)
modem_main.c:717: error: `EIO' undeclared (first use in this function)
modem_main.c:721: error: `HUPCL' undeclared (first use in this function)
modem_main.c:729: warning: format argument is not a pointer (arg 3)
modem_main.c:582: warning: unused variable `tmo'
modem_main.c:584: warning: unused variable `termios'
modem_main.c: In function `modem_main':
modem_main.c:750: error: `PATH_MAX' undeclared (first use in this function)
modem_main.c:753: error: storage size of `termios' isn't known
modem_main.c:759: warning: implicit declaration of function `basename'
modem_main.c:759: warning: passing arg 1 of `modem_debug_init' makes pointer from integer without a cast
modem_main.c:763: error: `stderr' undeclared (first use in this function)
modem_main.c:764: warning: implicit declaration of function `exit'
modem_main.c:772: warning: implicit declaration of function `getpt'
modem_main.c:773: warning: implicit declaration of function `grantpt'
modem_main.c:773: warning: implicit declaration of function `unlockpt'
modem_main.c:774: error: `errno' undeclared (first use in this function)
modem_main.c:774: warning: format argument is not a pointer (arg 3)
modem_main.c:780: warning: implicit declaration of function `cfmakeraw'
modem_main.c:781: warning: implicit declaration of function `cfsetispeed'
modem_main.c:781: error: `B115200' undeclared (first use in this function)
modem_main.c:782: warning: implicit declaration of function `cfsetospeed'
modem_main.c:784: warning: implicit declaration of function `tcsetattr'
modem_main.c:784: error: `TCSANOW' undeclared (first use in this function)
modem_main.c:786: warning: format argument is not a pointer (arg 3)
modem_main.c:790: warning: implicit declaration of function `fcntl'
modem_main.c:790: error: `F_SETFL' undeclared (first use in this function)
modem_main.c:790: error: `O_NONBLOCK' undeclared (first use in this function)
modem_main.c:792: warning: implicit declaration of function `ptsname'
modem_main.c:792: warning: assignment makes pointer from integer without a cast
modem_main.c:795: warning: implicit declaration of function `getgrnam'
modem_main.c:795: warning: initialization makes pointer from integer without a cast
modem_main.c:797: warning: format argument is not a pointer (arg 4)
modem_main.c:801: warning: implicit declaration of function `chown'
modem_main.c:801: error: dereferencing pointer to incomplete type
modem_main.c:803: warning: format argument is not a pointer (arg 5)
modem_main.c:809: warning: implicit declaration of function `chmod'
modem_main.c:811: warning: format argument is not a pointer (arg 5)
modem_main.c:815: warning: passing arg 2 of `modem_create' makes pointer from integer without a cast
modem_main.c:816: error: dereferencing pointer to incomplete type
modem_main.c:817: error: dereferencing pointer to incomplete type
modem_main.c:818: error: dereferencing pointer to incomplete type
modem_main.c:819: error: dereferencing pointer to incomplete type
modem_main.c:820: error: dereferencing pointer to incomplete type
modem_main.c:823: error: dereferencing pointer to incomplete type
modem_main.c:823: error: dereferencing pointer to incomplete type
modem_main.c:826: warning: implicit declaration of function `sprintf'
modem_main.c:827: warning: implicit declaration of function `unlink'
modem_main.c:828: warning: implicit declaration of function `symlink'
modem_main.c:829: warning: format argument is not a pointer (arg 5)
modem_main.c:838: warning: format argument is not a pointer (arg 3)
modem_main.c:839: error: dereferencing pointer to incomplete type
modem_main.c:842: error: storage size of `prm' isn't known
modem_main.c:843: warning: implicit declaration of function `mlockall'
modem_main.c:843: error: `MCL_CURRENT' undeclared (first use in this function)
modem_main.c:843: error: `MCL_FUTURE' undeclared (first use in this function)
modem_main.c:844: warning: format argument is not a pointer (arg 3)
modem_main.c:846: warning: implicit declaration of function `sched_get_priority_max'
modem_main.c:846: error: `SCHED_FIFO' undeclared (first use in this function)
modem_main.c:847: warning: implicit declaration of function `sched_setscheduler'
modem_main.c:848: warning: format argument is not a pointer (arg 3)
modem_main.c:842: warning: unused variable `prm'
modem_main.c:853: warning: implicit declaration of function `signal'
modem_main.c:853: error: `SIGINT' undeclared (first use in this function)
modem_main.c:854: error: `SIGTERM' undeclared (first use in this function)
modem_main.c:862: error: dereferencing pointer to incomplete type
modem_main.c:868: warning: implicit declaration of function `usleep'
modem_main.c:750: warning: unused variable `link_name'
modem_main.c:751: warning: unused variable `path_name'
modem_main.c:753: warning: unused variable `termios'
make[1]: *** [modem_main.o] Error 1
make[1]: Leaving directory `/home/kam_e/slmodem-2.9.7/modem'
make: *** [modem] Error 2
