failed to compile slmodem on fedora core 2
From: Angelo (schroed74_at_hotmail.com)
Date: 06/29/04
- Next message: AG: "md5sum is wrong"
- Previous message: AG: "Re: Installer can't see CD or hard drives"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 29 Jun 2004 07:13:11 -0700
Dear Sir
I am not able to compile slmodem-2.9.6.tar.gz on fedora core 2.
The same modem worked fine with redhat 9 and slmodem-2.7.1.
It seems that it is not able to find header files.
Could you please help me?
I did $make KERNEL_DIR=/lib/modules/2.6.5-1.358/build 2>err
and err file is attached.
The header files are in correctly in
/lib/modules/2.6.5-1.358/build/include/linux!
I look forward to hear from you.
Thank you in advance
Angelo
file err:
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:93: error: syntax error before
"DigitalImpairmentsMask"
modem_homolog.h:93: warning: type defaults to `int' in declaration of
`DigitalImpairmentsMask'
modem_homolog.h:93: warning: data definition has no type or storage
class
modem_homolog.h:96: error: syntax error before
"CallWaitingIntegrationTimeMiliSec"
modem_homolog.h:96: warning: type defaults to `int' in declaration of
`CallWaitingIntegrationTimeMiliSec'
modem_homolog.h:96: warning: data definition has no type or storage
class
modem_homolog.h:97: error: syntax error before
"CallWaitingThresholdPercentage"
modem_homolog.h:97: warning: type defaults to `int' in declaration of
`CallWaitingThresholdPercentage'
modem_homolog.h:97: 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:127: error: syntax error before "u16"
modem.h:127: warning: no semicolon at end of struct or union
modem.h:128: warning: type defaults to `int' in declaration of
`next_free'
modem.h:128: warning: data definition has no type or storage class
modem.h:129: error: syntax error before "last_matched"
modem.h:129: warning: type defaults to `int' in declaration of
`last_matched'
modem.h:129: warning: data definition has no type or storage class
modem.h:130: error: syntax error before "last_added"
modem.h:130: warning: type defaults to `int' in declaration of
`last_added'
modem.h:130: warning: data definition has no type or storage class
modem.h:131: error: syntax error before "cw_size"
modem.h:131: warning: type defaults to `int' in declaration of
`cw_size'
modem.h:131: warning: data definition has no type or storage class
modem.h:132: error: syntax error before "threshold"
modem.h:132: warning: type defaults to `int' in declaration of
`threshold'
modem.h:132: warning: data definition has no type or storage class
modem.h:133: error: syntax error before "escape_char"
modem.h:133: warning: type defaults to `int' in declaration of
`escape_char'
modem.h:133: warning: data definition has no type or storage class
modem.h:137: error: syntax error before "u8"
modem.h:137: warning: no semicolon at end of struct or union
modem.h:138: warning: type defaults to `int' in declaration of
`parent'
modem.h:138: warning: data definition has no type or storage class
modem.h:139: error: syntax error before "child"
modem.h:139: warning: type defaults to `int' in declaration of `child'
modem.h:139: warning: data definition has no type or storage class
modem.h:140: error: syntax error before "next"
modem.h:140: warning: type defaults to `int' in declaration of `next'
modem.h:140: warning: data definition has no type or storage class
modem.h:141: warning: type defaults to `int' in declaration of `dict'
modem.h:141: warning: data definition has no type or storage class
modem.h:144: error: syntax error before "bit_data"
modem.h:144: warning: type defaults to `int' in declaration of
`bit_data'
modem.h:144: warning: data definition has no type or storage class
modem.h:147: error: syntax error before "str_data"
modem.h:147: warning: type defaults to `int' in declaration of
`str_data'
modem.h:147: warning: data definition has no type or storage class
modem.h:149: error: syntax error before "cmp_last"
modem.h:149: warning: type defaults to `int' in declaration of
`cmp_last'
modem.h:149: warning: data definition has no type or storage class
modem.h:150: error: syntax error before "cmp_bits"
modem.h:150: warning: type defaults to `int' in declaration of
`cmp_bits'
modem.h:150: warning: data definition has no type or storage class
modem.h:151: error: syntax error before "raw_bits"
modem.h:151: warning: type defaults to `int' in declaration of
`raw_bits'
modem.h:151: warning: data definition has no type or storage class
modem.h:156: error: syntax error before '}' token
modem.h:163: error: syntax error before "u8"
modem.h:164: error: syntax error before "u8"
modem.h:180: error: syntax error before "u16"
modem.h:180: warning: no semicolon at end of struct or union
modem.h:181: warning: type defaults to `int' in declaration of `buf'
modem.h:181: warning: data definition has no type or storage class
modem.h:182: error: syntax error before '}' token
modem.h:182: warning: type defaults to `int' in declaration of
`frame_t'
modem.h:182: warning: data definition has no type or storage class
modem.h:208: error: syntax error before "u8"
modem.h:208: warning: no semicolon at end of struct or union
modem.h:209: warning: type defaults to `int' in declaration of
`rsp_addr'
modem.h:209: warning: data definition has no type or storage class
modem.h:210: error: syntax error before "vs"
modem.h:210: warning: type defaults to `int' in declaration of `vs'
modem.h:210: warning: data definition has no type or storage class
modem.h:211: error: syntax error before "va"
modem.h:211: warning: type defaults to `int' in declaration of `va'
modem.h:211: warning: data definition has no type or storage class
modem.h:212: error: syntax error before "vr"
modem.h:212: warning: type defaults to `int' in declaration of `vr'
modem.h:212: warning: data definition has no type or storage class
modem.h:218: error: syntax error before '*' token
modem.h:218: warning: type defaults to `int' in declaration of
`sent_info'
modem.h:218: warning: data definition has no type or storage class
modem.h:219: error: syntax error before '*' token
modem.h:219: warning: type defaults to `int' in declaration of
`tx_info'
modem.h:219: warning: data definition has no type or storage class
modem.h:220: error: syntax error before '*' token
modem.h:220: warning: type defaults to `int' in declaration of
`info_list'
modem.h:220: warning: data definition has no type or storage class
modem.h:221: error: syntax error before '*' token
modem.h:221: warning: type defaults to `int' in declaration of
`tx_ctrl'
modem.h:221: warning: data definition has no type or storage class
modem.h:222: error: syntax error before '*' token
modem.h:222: warning: type defaults to `int' in declaration of
`ctrl_list'
modem.h:222: warning: data definition has no type or storage class
modem.h:227: error: syntax error before "rx_buf"
modem.h:227: warning: type defaults to `int' in declaration of
`rx_buf'
modem.h:227: warning: data definition has no type or storage class
modem.h:230: error: syntax error before "frame_t"
modem.h:230: warning: no semicolon at end of struct or union
modem.h:231: warning: type defaults to `int' in declaration of `ctrl'
modem.h:231: warning: data definition has no type or storage class
modem.h:232: error: syntax error before "info"
modem.h:232: warning: type defaults to `int' in declaration of `info'
modem.h:232: warning: data definition has no type or storage class
modem.h:233: error: syntax error before '}' token
modem.h:233: warning: type defaults to `int' in declaration of
`info_buf'
modem.h:233: warning: data definition has no type or storage class
modem.h:235: error: syntax error before "frame_t"
modem.h:235: warning: no semicolon at end of struct or union
modem.h:236: warning: type defaults to `int' in declaration of `ctrl'
modem.h:236: warning: data definition has no type or storage class
modem.h:237: error: syntax error before "info"
modem.h:237: warning: type defaults to `int' in declaration of `info'
modem.h:237: warning: data definition has no type or storage class
modem.h:238: error: syntax error before '}' token
modem.h:238: warning: type defaults to `int' in declaration of
`ctrl_buf'
modem.h:238: warning: data definition has no type or storage class
modem.h:244: error: syntax error before '}' token
modem.h:252: error: field `termios' has incomplete type
modem.h:303: error: syntax error before "u8"
modem.h:303: warning: no semicolon at end of struct or union
modem.h:303: warning: no semicolon at end of struct or union
modem.h:304: warning: type defaults to `int' in declaration of
`ec_detector'
modem.h:304: warning: data definition has no type or storage class
modem.h:305: error: syntax error before "ec_tx_win_size"
modem.h:305: warning: type defaults to `int' in declaration of
`ec_tx_win_size'
modem.h:305: warning: data definition has no type or storage class
modem.h:306: error: syntax error before "ec_rx_win_size"
modem.h:306: warning: type defaults to `int' in declaration of
`ec_rx_win_size'
modem.h:306: warning: data definition has no type or storage class
modem.h:307: error: syntax error before "ec_tx_info_size"
modem.h:307: warning: type defaults to `int' in declaration of
`ec_tx_info_size'
modem.h:307: warning: data definition has no type or storage class
modem.h:308: error: syntax error before "ec_rx_info_size"
modem.h:308: warning: type defaults to `int' in declaration of
`ec_rx_info_size'
modem.h:308: warning: data definition has no type or storage class
modem.h:310: error: syntax error before "comp"
modem.h:310: warning: type defaults to `int' in declaration of `comp'
modem.h:310: warning: data definition has no type or storage class
modem.h:313: error: syntax error before '}' token
modem.h:313: warning: type defaults to `int' in declaration of `cfg'
modem.h:313: warning: data definition has no type or storage class
modem.h:324: error: syntax error before "u32"
modem.h:324: warning: no semicolon at end of struct or union
modem.h:325: warning: type defaults to `int' in declaration of `pack'
modem.h:325: warning: type defaults to `int' in declaration of
`unpack'
modem.h:325: warning: data definition has no type or storage class
modem.h:326: error: syntax error before "u8"
modem.h:327: error: syntax error before "u8"
modem.h:338: error: syntax error before "u8"
modem.h:338: warning: no semicolon at end of struct or union
modem.h:338: warning: no semicolon at end of struct or union
modem.h:340: error: syntax error before "rx_pattern"
modem.h:340: warning: type defaults to `int' in declaration of
`rx_pattern'
modem.h:340: warning: data definition has no type or storage class
modem.h:342: error: syntax error before '}' token
modem.h:342: warning: type defaults to `int' in declaration of
`detector'
modem.h:342: warning: data definition has no type or storage class
modem.h:350: error: syntax error before "frame_t"
modem.h:351: error: syntax error before "frame_t"
modem.h:354: error: field `_rx_frame' has incomplete type
modem.h:355: error: syntax error before "u8"
modem.h:355: warning: no semicolon at end of struct or union
modem.h:356: warning: type defaults to `int' in declaration of `hdlc'
modem.h:356: warning: data definition has no type or storage class
modem.h:357: error: syntax error before '}' token
modem.h:357: warning: type defaults to `int' in declaration of
`packer'
modem.h:357: warning: data definition has no type or storage class
modem.h:360: error: field `lapm' has incomplete type
modem.h:367: error: field `encoder' has incomplete type
modem.h:368: error: field `decoder' has incomplete type
modem.h:369: error: conflicting types for `comp'
modem.h:310: error: previous declaration of `comp'
modem.h:390: error: syntax error before '}' token
modem.h:412: error: syntax error before "u8"
modem.h:413: error: syntax error before "u8"
modem.h:415: error: syntax error before "u8"
modem.h:416: error: syntax error before "u8"
modem.h:418: error: syntax error before "u8"
modem.h:419: 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:470: warning: implicit declaration of function `ioctl'
modem_main.c:474: warning: implicit declaration of function `memset'
modem_main.c:475: warning: implicit declaration of function `write'
modem_main.c: In function `modemap_stop':
modem_main.c:486: error: dereferencing pointer to incomplete type
modem_main.c: In function `modemap_ioctl':
modem_main.c:494: error: dereferencing pointer to incomplete type
modem_main.c:498: error: dereferencing pointer to incomplete type
modem_main.c:501: error: dereferencing pointer to incomplete type
modem_main.c: In function `mdm_device_read':
modem_main.c:518: warning: implicit declaration of function `read'
modem_main.c: In function `mdm_device_setup':
modem_main.c:532: error: storage size of `stbuf' isn't known
modem_main.c:535: warning: implicit declaration of function `stat'
modem_main.c:537: warning: implicit declaration of function `fprintf'
modem_main.c:537: error: `stderr' undeclared (first use in this
function)
modem_main.c:537: error: (Each undeclared identifier is reported only
once
modem_main.c:537: error: for each function it appears in.)
modem_main.c:537: warning: implicit declaration of function `strerror'
modem_main.c:537: error: `errno' undeclared (first use in this
function)
modem_main.c:537: warning: format argument is not a pointer (arg 4)
modem_main.c:540: warning: implicit declaration of function `S_ISCHR'
modem_main.c:545: warning: implicit declaration of function `open'
modem_main.c:545: error: `O_RDWR' undeclared (first use in this
function)
modem_main.c:547: warning: format argument is not a pointer (arg 4)
modem_main.c:551: warning: implicit declaration of function `minor'
modem_main.c:532: warning: unused variable `stbuf'
modem_main.c: In function `mdm_device_release':
modem_main.c:557: warning: implicit declaration of function `close'
modem_main.c: At top level:
modem_main.c:573: error: syntax error before "keep_running"
modem_main.c:573: warning: type defaults to `int' in declaration of
`keep_running'
modem_main.c:573: warning: data definition has no type or storage
class
modem_main.c: In function `modem_run':
modem_main.c:584: error: storage size of `tmo' isn't known
modem_main.c:585: error: `fd_set' undeclared (first use in this
function)
modem_main.c:585: error: syntax error before "rset"
modem_main.c:586: error: storage size of `termios' isn't known
modem_main.c:594: error: dereferencing pointer to incomplete type
modem_main.c:599: warning: implicit declaration of function `FD_ZERO'
modem_main.c:599: error: `rset' undeclared (first use in this
function)
modem_main.c:600: error: `eset' undeclared (first use in this
function)
modem_main.c:602: warning: implicit declaration of function `FD_SET'
modem_main.c:611: error: dereferencing pointer to incomplete type
modem_main.c:611: error: dereferencing pointer to incomplete type
modem_main.c:616: warning: implicit declaration of function `select'
modem_main.c:616: error: `NULL' undeclared (first use in this
function)
modem_main.c:619: error: `errno' undeclared (first use in this
function)
modem_main.c:619: error: `EINTR' undeclared (first use in this
function)
modem_main.c:621: error: `stderr' undeclared (first use in this
function)
modem_main.c:621: warning: format argument is not a pointer (arg 3)
modem_main.c:628: warning: implicit declaration of function `FD_ISSET'
modem_main.c:639: warning: format argument is not a pointer (arg 3)
modem_main.c:649: warning: format argument is not a pointer (arg 3)
modem_main.c:657: error: dereferencing pointer to incomplete type
modem_main.c:658: error: dereferencing pointer to incomplete type
modem_main.c:661: 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:667: error: dereferencing pointer to incomplete type
modem_main.c:668: error: dereferencing pointer to incomplete type
modem_main.c:674: warning: format argument is not a pointer (arg 3)
modem_main.c:681: error: dereferencing pointer to incomplete type
modem_main.c:682: error: dereferencing pointer to incomplete type
modem_main.c:683: error: dereferencing pointer to incomplete type
modem_main.c:684: error: dereferencing pointer to incomplete type
modem_main.c:686: warning: format argument is not a pointer (arg 3)
modem_main.c:690: error: dereferencing pointer to incomplete type
modem_main.c:691: 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:702: warning: implicit declaration of function
`tcgetattr'
modem_main.c:703: warning: implicit declaration of function `memcmp'
modem_main.c:703: error: dereferencing pointer to incomplete type
modem_main.c:708: error: dereferencing pointer to incomplete type
modem_main.c:708: error: dereferencing pointer to incomplete type
modem_main.c:715: error: `EAGAIN' undeclared (first use in this
function)
modem_main.c:719: error: `EIO' undeclared (first use in this function)
modem_main.c:723: error: `HUPCL' undeclared (first use in this
function)
modem_main.c:731: warning: format argument is not a pointer (arg 3)
modem_main.c:584: warning: unused variable `tmo'
modem_main.c:586: warning: unused variable `termios'
modem_main.c: In function `modem_main':
modem_main.c:752: error: `PATH_MAX' undeclared (first use in this
function)
modem_main.c:755: error: storage size of `termios' isn't known
modem_main.c:761: warning: implicit declaration of function `basename'
modem_main.c:761: warning: passing arg 1 of `modem_debug_init' makes
pointer from integer without a cast
modem_main.c:765: error: `stderr' undeclared (first use in this
function)
modem_main.c:766: warning: implicit declaration of function `exit'
modem_main.c:774: warning: implicit declaration of function `getpt'
modem_main.c:775: warning: implicit declaration of function `grantpt'
modem_main.c:775: warning: implicit declaration of function `unlockpt'
modem_main.c:776: error: `errno' undeclared (first use in this
function)
modem_main.c:776: warning: format argument is not a pointer (arg 3)
modem_main.c:782: warning: implicit declaration of function
`cfmakeraw'
modem_main.c:783: warning: implicit declaration of function
`cfsetispeed'
modem_main.c:783: error: `B115200' undeclared (first use in this
function)
modem_main.c:784: warning: implicit declaration of function
`cfsetospeed'
modem_main.c:786: warning: implicit declaration of function
`tcsetattr'
modem_main.c:786: error: `TCSANOW' undeclared (first use in this
function)
modem_main.c:788: warning: format argument is not a pointer (arg 3)
modem_main.c:792: warning: implicit declaration of function `fcntl'
modem_main.c:792: error: `F_SETFL' undeclared (first use in this
function)
modem_main.c:792: error: `O_NONBLOCK' undeclared (first use in this
function)
modem_main.c:794: warning: implicit declaration of function `ptsname'
modem_main.c:794: warning: assignment makes pointer from integer
without a cast
modem_main.c:797: warning: implicit declaration of function `getgrnam'
modem_main.c:797: warning: initialization makes pointer from integer
without a cast
modem_main.c:799: warning: format argument is not a pointer (arg 4)
modem_main.c:803: warning: implicit declaration of function `chown'
modem_main.c:803: error: dereferencing pointer to incomplete type
modem_main.c:805: warning: format argument is not a pointer (arg 5)
modem_main.c:811: warning: implicit declaration of function `chmod'
modem_main.c:813: warning: format argument is not a pointer (arg 5)
modem_main.c:817: warning: passing arg 2 of `modem_create' makes
pointer from integer without a cast
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:821: error: dereferencing pointer to incomplete type
modem_main.c:822: error: dereferencing pointer to incomplete type
modem_main.c:825: error: dereferencing pointer to incomplete type
modem_main.c:825: error: dereferencing pointer to incomplete type
modem_main.c:828: warning: implicit declaration of function `sprintf'
modem_main.c:829: warning: implicit declaration of function `unlink'
modem_main.c:830: warning: implicit declaration of function `symlink'
modem_main.c:831: warning: format argument is not a pointer (arg 5)
modem_main.c:840: warning: format argument is not a pointer (arg 3)
modem_main.c:841: error: dereferencing pointer to incomplete type
modem_main.c:844: error: storage size of `prm' isn't known
modem_main.c:845: warning: implicit declaration of function `mlockall'
modem_main.c:845: error: `MCL_CURRENT' undeclared (first use in this
function)
modem_main.c:845: error: `MCL_FUTURE' undeclared (first use in this
function)
modem_main.c:846: warning: format argument is not a pointer (arg 3)
modem_main.c:848: warning: implicit declaration of function
`sched_get_priority_max'
modem_main.c:848: error: `SCHED_FIFO' undeclared (first use in this
function)
modem_main.c:849: warning: implicit declaration of function
`sched_setscheduler'
modem_main.c:850: warning: format argument is not a pointer (arg 3)
modem_main.c:844: warning: unused variable `prm'
modem_main.c:855: warning: implicit declaration of function `signal'
modem_main.c:855: error: `SIGINT' undeclared (first use in this
function)
modem_main.c:856: error: `SIGTERM' undeclared (first use in this
function)
modem_main.c:864: error: dereferencing pointer to incomplete type
modem_main.c:870: warning: implicit declaration of function `usleep'
modem_main.c:752: warning: unused variable `link_name'
modem_main.c:753: warning: unused variable `path_name'
modem_main.c:755: warning: unused variable `termios'
make[1]: *** [modem_main.o] Error 1
make: *** [modem] Error 2
- Next message: AG: "md5sum is wrong"
- Previous message: AG: "Re: Installer can't see CD or hard drives"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|