[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Help, installing softmodem driver



Hi,

>From some article about how to get the Toshiba laptop's softmodem
working, i downloaded slmodem-2.9.9.tar.gz from
http://linmodems.technion.ac.il/packages/smartlink/
I followed the instruction, and got the below msg. I know very little
about c/c++ but know that stdlib.h, stdlib.h and other are c/c++
standard file. Did i left out some packages or must set what classpath?
Really apreciate someone can help on this. Many thx.


- Rony -



# make KERNEL_DIR=/usr/src/kernel-source-2.6.8

make -C modem all
make[1]: Entering directory `/root/slmodem-2.9.9/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/i486-linux/3.3.4/include/syslimits.h:7,
                 from
/usr/lib/gcc-lib/i486-linux/3.3.4/include/limits.h:11,
                 from modem_main.c:58:
/usr/lib/gcc-lib/i486-linux/3.3.4/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: parse 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: parse 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: parse 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: parse 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: parse 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: parse 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: parse 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: parse 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: parse 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: parse 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: parse 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: parse 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: parse 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: parse 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: parse 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: parse 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: parse 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: parse 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: parse 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: parse 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: parse 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: parse 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: parse 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: parse 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: parse 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: parse 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: parse 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: parse 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: parse 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: parse 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: parse 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: parse 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: parse 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: parse 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: parse error before "id"
modem_homolog.h:106: error: parse error before '}' token
In file included from modem.h:51,
                 from modem_main.c:67:
modem_dp.h:82: error: parse error before "u8"
modem_dp.h:83: error: parse error before "u8"
In file included from modem_main.c:67:
modem.h:136: error: parse error before "u16"
modem.h:136: warning: no semicolon at end of struct or union
modem.h:137: warning: type defaults to `int' in declaration of
`next_free'
modem.h:137: warning: data definition has no type or storage class
modem.h:138: error: parse error before "last_matched"
modem.h:138: warning: type defaults to `int' in declaration of
`last_matched'
modem.h:138: warning: data definition has no type or storage class
modem.h:139: error: parse error before "last_added"
modem.h:139: warning: type defaults to `int' in declaration of
`last_added'
modem.h:139: warning: data definition has no type or storage class
modem.h:140: error: parse error before "cw_size"
modem.h:140: warning: type defaults to `int' in declaration of
`cw_size'
modem.h:140: warning: data definition has no type or storage class
modem.h:141: error: parse error before "threshold"
modem.h:141: warning: type defaults to `int' in declaration of
`threshold'
modem.h:141: warning: data definition has no type or storage class
modem.h:142: error: parse error before "escape_char"
modem.h:142: warning: type defaults to `int' in declaration of
`escape_char'
modem.h:142: warning: data definition has no type or storage class
modem.h:146: error: parse error before "u8"
modem.h:146: warning: no semicolon at end of struct or union
modem.h:147: warning: type defaults to `int' in declaration of `parent'
modem.h:147: warning: data definition has no type or storage class
modem.h:148: error: parse error before "child"
modem.h:148: warning: type defaults to `int' in declaration of `child'
modem.h:148: warning: data definition has no type or storage class
modem.h:149: error: parse error before "next"
modem.h:149: warning: type defaults to `int' in declaration of `next'
modem.h:149: warning: data definition has no type or storage class
modem.h:150: warning: type defaults to `int' in declaration of `dict'
modem.h:150: warning: data definition has no type or storage class
modem.h:153: error: parse error before "bit_data"
modem.h:153: warning: type defaults to `int' in declaration of
`bit_data'
modem.h:153: warning: data definition has no type or storage class
modem.h:156: error: parse error before "str_data"
modem.h:156: warning: type defaults to `int' in declaration of
`str_data'
modem.h:156: warning: data definition has no type or storage class
modem.h:158: error: parse error before "cmp_last"
modem.h:158: warning: type defaults to `int' in declaration of
`cmp_last'
modem.h:158: warning: data definition has no type or storage class
modem.h:159: error: parse error before "cmp_bits"
modem.h:159: warning: type defaults to `int' in declaration of
`cmp_bits'
modem.h:159: warning: data definition has no type or storage class
modem.h:160: error: parse error before "raw_bits"
modem.h:160: warning: type defaults to `int' in declaration of
`raw_bits'
modem.h:160: warning: data definition has no type or storage class
modem.h:165: error: parse error before '}' token
modem.h:172: error: parse error before "u8"
modem.h:173: error: parse error before "u8"
modem.h:189: error: parse error before "u16"
modem.h:189: warning: no semicolon at end of struct or union
modem.h:190: warning: type defaults to `int' in declaration of `buf'
modem.h:190: warning: data definition has no type or storage class
modem.h:191: error: parse error before '}' token
modem.h:191: warning: type defaults to `int' in declaration of
`frame_t'
modem.h:191: warning: data definition has no type or storage class
modem.h:217: error: parse error before "u8"
modem.h:217: warning: no semicolon at end of struct or union
modem.h:218: warning: type defaults to `int' in declaration of
`rsp_addr'
modem.h:218: warning: data definition has no type or storage class
modem.h:219: error: parse error before "vs"
modem.h:219: warning: type defaults to `int' in declaration of `vs'
modem.h:219: warning: data definition has no type or storage class
modem.h:220: error: parse error before "va"
modem.h:220: warning: type defaults to `int' in declaration of `va'
modem.h:220: warning: data definition has no type or storage class
modem.h:221: error: parse error before "vr"
modem.h:221: warning: type defaults to `int' in declaration of `vr'
modem.h:221: warning: data definition has no type or storage class
modem.h:227: error: parse error before '*' token
modem.h:227: warning: type defaults to `int' in declaration of
`sent_info'
modem.h:227: warning: data definition has no type or storage class
modem.h:228: error: parse error before '*' token
modem.h:228: warning: type defaults to `int' in declaration of
`tx_info'
modem.h:228: warning: data definition has no type or storage class
modem.h:229: error: parse error before '*' token
modem.h:229: warning: type defaults to `int' in declaration of
`info_list'
modem.h:229: warning: data definition has no type or storage class
modem.h:230: error: parse error before '*' token
modem.h:230: warning: type defaults to `int' in declaration of
`tx_ctrl'
modem.h:230: warning: data definition has no type or storage class
modem.h:231: error: parse error before '*' token
modem.h:231: warning: type defaults to `int' in declaration of
`ctrl_list'
modem.h:231: warning: data definition has no type or storage class
modem.h:236: error: parse error before "rx_buf"
modem.h:236: warning: type defaults to `int' in declaration of `rx_buf'
modem.h:236: warning: data definition has no type or storage class
modem.h:239: error: parse error before "frame_t"
modem.h:239: warning: no semicolon at end of struct or union
modem.h:240: warning: type defaults to `int' in declaration of `ctrl'
modem.h:240: warning: data definition has no type or storage class
modem.h:241: error: parse error before "info"
modem.h:241: warning: type defaults to `int' in declaration of `info'
modem.h:241: warning: data definition has no type or storage class
modem.h:242: error: parse error before '}' token
modem.h:242: warning: type defaults to `int' in declaration of
`info_buf'
modem.h:242: warning: data definition has no type or storage class
modem.h:244: error: parse error before "frame_t"
modem.h:244: warning: no semicolon at end of struct or union
modem.h:245: warning: type defaults to `int' in declaration of `ctrl'
modem.h:245: warning: data definition has no type or storage class
modem.h:246: error: parse error before "info"
modem.h:246: warning: type defaults to `int' in declaration of `info'
modem.h:246: warning: data definition has no type or storage class
modem.h:247: error: parse error before '}' token
modem.h:247: warning: type defaults to `int' in declaration of
`ctrl_buf'
modem.h:247: warning: data definition has no type or storage class
modem.h:253: error: parse error before '}' token
modem.h:261: error: field `termios' has incomplete type
modem.h:314: error: parse error before "u8"
modem.h:314: warning: no semicolon at end of struct or union
modem.h:314: warning: no semicolon at end of struct or union
modem.h:315: warning: type defaults to `int' in declaration of
`ec_detector'
modem.h:315: warning: data definition has no type or storage class
modem.h:316: error: parse error before "ec_tx_win_size"
modem.h:316: warning: type defaults to `int' in declaration of
`ec_tx_win_size'
modem.h:316: warning: data definition has no type or storage class
modem.h:317: error: parse error before "ec_rx_win_size"
modem.h:317: warning: type defaults to `int' in declaration of
`ec_rx_win_size'
modem.h:317: warning: data definition has no type or storage class
modem.h:318: error: parse error before "ec_tx_info_size"
modem.h:318: warning: type defaults to `int' in declaration of
`ec_tx_info_size'
modem.h:318: warning: data definition has no type or storage class
modem.h:319: error: parse error before "ec_rx_info_size"
modem.h:319: warning: type defaults to `int' in declaration of
`ec_rx_info_size'
modem.h:319: warning: data definition has no type or storage class
modem.h:321: error: parse error before "comp"
modem.h:321: warning: type defaults to `int' in declaration of `comp'
modem.h:321: warning: data definition has no type or storage class
modem.h:324: error: parse error before '}' token
modem.h:324: warning: type defaults to `int' in declaration of `cfg'
modem.h:324: warning: data definition has no type or storage class
modem.h:335: error: parse error before "u32"
modem.h:335: warning: no semicolon at end of struct or union
modem.h:336: warning: type defaults to `int' in declaration of `pack'
modem.h:336: warning: type defaults to `int' in declaration of `unpack'
modem.h:336: warning: data definition has no type or storage class
modem.h:337: error: parse error before "u8"
modem.h:338: error: parse error before "u8"
modem.h:349: error: parse error before "u8"
modem.h:349: warning: no semicolon at end of struct or union
modem.h:349: warning: no semicolon at end of struct or union
modem.h:351: error: parse error before "rx_pattern"
modem.h:351: warning: type defaults to `int' in declaration of
`rx_pattern'
modem.h:351: warning: data definition has no type or storage class
modem.h:353: error: parse error before '}' token
modem.h:353: warning: type defaults to `int' in declaration of
`detector'
modem.h:353: warning: data definition has no type or storage class
modem.h:361: error: parse error before "frame_t"
modem.h:362: error: parse error before "frame_t"
modem.h:365: error: field `_rx_frame' has incomplete type
modem.h:366: error: parse error before "u8"
modem.h:366: warning: no semicolon at end of struct or union
modem.h:367: warning: type defaults to `int' in declaration of `hdlc'
modem.h:367: warning: data definition has no type or storage class
modem.h:368: error: parse error before '}' token
modem.h:368: warning: type defaults to `int' in declaration of `packer'
modem.h:368: warning: data definition has no type or storage class
modem.h:371: error: field `lapm' has incomplete type
modem.h:378: error: field `encoder' has incomplete type
modem.h:379: error: field `decoder' has incomplete type
modem.h:380: error: conflicting types for `comp'
modem.h:321: error: previous declaration of `comp'
modem.h:409: error: parse error before '}' token
modem.h:431: error: parse error before "u8"
modem.h:432: error: parse error before "u8"
modem.h:434: error: parse error before "u8"
modem.h:435: error: parse error before "u8"
modem.h:437: error: parse error before "u8"
modem.h:438: error: parse error before "u8"
modem_main.c:93: error: parse 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:565: error: `PATH_MAX' undeclared here (not in a function)
modem_main.c: In function `create_pty':
modem_main.c:569: error: storage size of `termios' isn't known
modem_main.c:573: error: dereferencing pointer to incomplete type
modem_main.c:574: error: dereferencing pointer to incomplete type
modem_main.c:576: warning: implicit declaration of function `getpt'
modem_main.c:577: warning: implicit declaration of function `grantpt'
modem_main.c:577: warning: implicit declaration of function `unlockpt'
modem_main.c:578: error: `stderr' undeclared (first use in this
function)
modem_main.c:578: error: `errno' undeclared (first use in this
function)
modem_main.c:578: warning: format argument is not a pointer (arg 3)
modem_main.c:582: error: dereferencing pointer to incomplete type
modem_main.c:583: error: dereferencing pointer to incomplete type
modem_main.c:586: warning: implicit declaration of function `tcgetattr'
modem_main.c:588: warning: implicit declaration of function `cfmakeraw'
modem_main.c:589: warning: implicit declaration of function
`cfsetispeed'
modem_main.c:589: error: `B115200' undeclared (first use in this
function)
modem_main.c:590: warning: implicit declaration of function
`cfsetospeed'
modem_main.c:593: warning: implicit declaration of function `tcsetattr'
modem_main.c:593: error: `TCSANOW' undeclared (first use in this
function)
modem_main.c:595: warning: format argument is not a pointer (arg 3)
modem_main.c:599: warning: implicit declaration of function `fcntl'
modem_main.c:599: error: `F_SETFL' undeclared (first use in this
function)
modem_main.c:599: error: `O_NONBLOCK' undeclared (first use in this
function)
modem_main.c:601: warning: implicit declaration of function `ptsname'
modem_main.c:601: warning: assignment makes pointer from integer
without a cast
modem_main.c:603: error: dereferencing pointer to incomplete type
modem_main.c:604: error: dereferencing pointer to incomplete type
modem_main.c:609: warning: implicit declaration of function `getgrnam'
modem_main.c:609: warning: initialization makes pointer from integer
without a cast
modem_main.c:611: warning: format argument is not a pointer (arg 4)
modem_main.c:615: warning: implicit declaration of function `chown'
modem_main.c:615: error: dereferencing pointer to incomplete type
modem_main.c:617: warning: format argument is not a pointer (arg 5)
modem_main.c:623: warning: implicit declaration of function `chmod'
modem_main.c:625: warning: format argument is not a pointer (arg 5)
modem_main.c:630: warning: implicit declaration of function `unlink'
modem_main.c:631: warning: implicit declaration of function `symlink'
modem_main.c:632: warning: format argument is not a pointer (arg 5)
modem_main.c:569: warning: unused variable `termios'
modem_main.c: At top level:
modem_main.c:657: error: parse error before "keep_running"
modem_main.c:657: warning: type defaults to `int' in declaration of
`keep_running'
modem_main.c:657: warning: data definition has no type or storage class
modem_main.c: In function `modem_run':
modem_main.c:668: error: storage size of `tmo' isn't known
modem_main.c:669: error: `fd_set' undeclared (first use in this
function)
modem_main.c:669: error: parse error before "rset"
modem_main.c:670: error: storage size of `termios' isn't known
modem_main.c:678: error: dereferencing pointer to incomplete type
modem_main.c:683: warning: implicit declaration of function `FD_ZERO'
modem_main.c:683: error: `rset' undeclared (first use in this function)
modem_main.c:684: error: `eset' undeclared (first use in this function)
modem_main.c:685: error: dereferencing pointer to incomplete type
modem_main.c:686: warning: implicit declaration of function `FD_SET'
modem_main.c:691: error: dereferencing pointer to incomplete type
modem_main.c:695: error: dereferencing pointer to incomplete type
modem_main.c:695: error: dereferencing pointer to incomplete type
modem_main.c:696: error: dereferencing pointer to incomplete type
modem_main.c:697: error: dereferencing pointer to incomplete type
modem_main.c:697: error: dereferencing pointer to incomplete type
modem_main.c:700: warning: implicit declaration of function `select'
modem_main.c:700: error: `NULL' undeclared (first use in this function)
modem_main.c:703: error: `errno' undeclared (first use in this
function)
modem_main.c:703: error: `EINTR' undeclared (first use in this
function)
modem_main.c:705: error: `stderr' undeclared (first use in this
function)
modem_main.c:705: warning: format argument is not a pointer (arg 3)
modem_main.c:712: warning: implicit declaration of function `FD_ISSET'
modem_main.c:723: warning: format argument is not a pointer (arg 3)
modem_main.c:733: warning: format argument is not a pointer (arg 3)
modem_main.c:741: error: dereferencing pointer to incomplete type
modem_main.c:742: error: dereferencing pointer to incomplete type
modem_main.c:745: error: dereferencing pointer to incomplete type
modem_main.c:748: error: dereferencing pointer to incomplete type
modem_main.c:749: error: dereferencing pointer to incomplete type
modem_main.c:750: error: dereferencing pointer to incomplete type
modem_main.c:751: error: dereferencing pointer to incomplete type
modem_main.c:752: error: dereferencing pointer to incomplete type
modem_main.c:758: warning: format argument is not a pointer (arg 3)
modem_main.c:765: error: dereferencing pointer to incomplete type
modem_main.c:766: error: dereferencing pointer to incomplete type
modem_main.c:767: error: dereferencing pointer to incomplete type
modem_main.c:768: error: dereferencing pointer to incomplete type
modem_main.c:770: warning: format argument is not a pointer (arg 3)
modem_main.c:773: error: dereferencing pointer to incomplete type
modem_main.c:774: error: dereferencing pointer to incomplete type
modem_main.c:778: error: dereferencing pointer to incomplete type
modem_main.c:779: error: dereferencing pointer to incomplete type
modem_main.c:782: error: dereferencing pointer to incomplete type
modem_main.c:784: error: dereferencing pointer to incomplete type
modem_main.c:785: warning: implicit declaration of function `memcmp'
modem_main.c:785: error: dereferencing pointer to incomplete type
modem_main.c:790: error: dereferencing pointer to incomplete type
modem_main.c:790: error: dereferencing pointer to incomplete type
modem_main.c:795: error: dereferencing pointer to incomplete type
modem_main.c:797: error: `EAGAIN' undeclared (first use in this
function)
modem_main.c:801: error: `EIO' undeclared (first use in this function)
modem_main.c:804: error: `HUPCL' undeclared (first use in this
function)
modem_main.c:821: warning: format argument is not a pointer (arg 3)
modem_main.c:668: warning: unused variable `tmo'
modem_main.c:670: warning: unused variable `termios'
modem_main.c: In function `modem_main':
modem_main.c:842: error: `PATH_MAX' undeclared (first use in this
function)
modem_main.c:848: warning: implicit declaration of function `basename'
modem_main.c:848: warning: passing arg 1 of `modem_debug_init' makes
pointer from integer without a cast
modem_main.c:852: error: `stderr' undeclared (first use in this
function)
modem_main.c:853: warning: implicit declaration of function `exit'
modem_main.c:861: warning: implicit declaration of function `sprintf'
modem_main.c:863: warning: passing arg 2 of `modem_create' makes
pointer from integer without a cast
modem_main.c:864: error: dereferencing pointer to incomplete type
modem_main.c:865: error: dereferencing pointer to incomplete type
modem_main.c:866: error: dereferencing pointer to incomplete type
modem_main.c:874: error: dereferencing pointer to incomplete type
modem_main.c:874: error: dereferencing pointer to incomplete type
modem_main.c:877: warning: format argument is not a pointer (arg 3)
modem_main.c:878: error: dereferencing pointer to incomplete type
modem_main.c:881: error: storage size of `prm' isn't known
modem_main.c:882: warning: implicit declaration of function `mlockall'
modem_main.c:882: error: `MCL_CURRENT' undeclared (first use in this
function)
modem_main.c:882: error: `MCL_FUTURE' undeclared (first use in this
function)
modem_main.c:883: error: `errno' undeclared (first use in this
function)
modem_main.c:883: warning: format argument is not a pointer (arg 3)
modem_main.c:885: warning: implicit declaration of function
`sched_get_priority_max'
modem_main.c:885: error: `SCHED_FIFO' undeclared (first use in this
function)
modem_main.c:886: warning: implicit declaration of function
`sched_setscheduler'
modem_main.c:887: warning: format argument is not a pointer (arg 3)
modem_main.c:881: warning: unused variable `prm'
modem_main.c:892: warning: implicit declaration of function `signal'
modem_main.c:892: error: `SIGINT' undeclared (first use in this
function)
modem_main.c:893: error: `SIGTERM' undeclared (first use in this
function)
modem_main.c:895: error: dereferencing pointer to incomplete type
modem_main.c:901: error: dereferencing pointer to incomplete type
modem_main.c:903: error: dereferencing pointer to incomplete type
modem_main.c:906: warning: implicit declaration of function `usleep'
modem_main.c:842: warning: unused variable `path_name'
modem_main.c: At top level:
modem_main.c:565: error: storage size of `link_name' isn't known
modem_main.c:565: warning: `link_name' defined but not used
make[1]: *** [modem_main.o] Error 1
make[1]: Leaving directory `/root/slmodem-2.9.9/modem'
make: *** [modem] Error 2




		
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com



Reply to: