Tim, With the SLMODEMD.gcc4 package nothing has to be "made" $ lsshould display a slmodemd and other files.Just$ sudo cp slmodemd /usr/sbin/Then$ sudo modprobe snd-intel8x0minstalls the modem driver for your---------- Class 0703: 1039:7013 Modem: Silicon Integrated Systems [SiS] AC'97Modem Controller Primary PCI_id 1039:7013 Subsystem PCI_id 1584:4003 Softmodem codec or Vendor from diagnostics: SIL22, a Smartlink type.------------$ sudo slmodemd -c USA --alsa modem:1should create modem ports with message including /dev/ttySL0 --> /dev/pts/N , N some number Then open a 2nd console within which$ sudo wvdialconf /etc/wvdial.confshould report finding the modem If so edit in your personal information at the < > symbols with$ sudo gedit /etc/wvdial.confremoving the < > symbols and adding a line$ Carrier Check = no Save the edit and try a dialout with:$ sudo wvdial Please read the Smartlink.txt for understanding of what is happerning MarvS On 2/12/07, Tim Vasby-Burnie <tim@xxxxxxxxxxxxxx> wrote:> (Re-sent message with re-named file)> Thanks so much for the reply and help.>> Following the instructions in the README file, I got as far as number 3 (review and> edit 'makefile') and could not identify any changes I needed to make. (But then I'm pretty> ignorant...) Moving to step 4 (entering $ make) yielded the output which is in the> attached 'result_of_make' file. Given the number of error messages, I decided to stop at this> point!>> Any advice?>> While I'm asking, when I get to step 5 (install) does this mean entering> $ sudo make install>> Also while writing, I'll own up to being rather intimidated by step 6 (what does it mean to use> AT+GCI= command... and I assume I replace "country code" with b4 for the UK).>> Please excuse my less-than-elementary understanding. I'm determined though to make the move from> Windows, and this modem is the only thing in my way!>> Many thanks in advance,>> Tim>> On Mon Feb 12 13:38 , 'Marvin Stodolsky' <marvin.stodolsky@xxxxxxxxx> sent:>> >TIm> >> >Continue with> >$ tar xf SLMODED.gcc4.tar> >Which will open a folder SLMODED.gcc4/> >> >You can browse the contents therein for details> >> >MarvS> >> >> >On 2/11/07, Tim Vasby-Burnie tim@xxxxxxxxxxxxxx> wrote:> >> Hi,> >> I'm a bit stuck. I've downloaded and unzipped SLMODED.gcc4.tar.gz and slmodem-2.9.11-> >> 20070204.tar.gz but don't know what to do next. I'm completely new to linux and ubuntu.> >>> >>> >> Thanks in advance for your great help!> >>> >> Tim> >>> >> Only plain text email is forwarded by the DISCUSS@xxxxxxxxxxxxx List Server.> >> Do use the following as the email Subject Line:> >> SomeName, YourCountry Ubuntu 6.10 kernel 2.6.17-10-generic> >> This will alert cogent experts, and distinguish cases in the Archives.> >> YourCountry will enable Country Code guidance.> >> Occassionally responses are blocked by an Internet Provider mail filters.> >> So in a day, also check the Archived responses at http://www.linmodems.org .> >> Local Linux experts can be found through: http://www.linux.org/groups/index.html> >> -------------------------- System information ----------------------------> >> CPU=i686, Ubuntu 6.10> >> Linux version 2.6.17-10-generic (root@vernadsky) (gcc version 4.1.2 20060928 (prerelease)> (Ubuntu 4.1.1-13ubuntu5)) #2 SMP Fri Oct 13 18:45:35 UTC 2006 (Ubuntu 2.6.17-10.33-generic)> >> scanModem update of: 2007_Jan_22> >>> >>> >> USB modem not detected by lsusb> >>> >> Modem or host audio card candidates have firmware information:> >>> >> PCI slot PCI ID SubsystemID Name> >> ---------- --------- --------- --------------> >> 00:01.6 1039:7013 1584:4003 Modem: Silicon Integrated Systems [SiS] AC'97> Modem Controller> >>> >> Modem interrupt assignment and sharing:> >> 10: 0 XT-PIC eth0> >>> >> --- Bootup diagnositcs for card in PCI slot 00:01.6 ----> >> [ 22.244695] PCI: Found IRQ 10 for device 0000:00:01.6> >> [ 47.634745] PCI: Sharing IRQ 10 with 0000:00:01.6> >>> >> === Finished modem firmware and bootup diagnostics section. ===> >> === Next deducing cogent software ===> >>> >> ALSAversion 1.0.11> >> A candidate driver could not be identified.> >> For candidate modem in PCI bus: 00:01.6> >> Class 0703: 1039:7013 Modem: Silicon Integrated Systems [SiS] AC'97 Modem Controller> >> Primary PCI_id 1039:7013> >> Subsystem PCI_id 1584:4003> >> Softmodem codec or Vendor from diagnostics: SIL22, a Smartlink type.> >> from Archives: SIL22, a Smartlink type.> >>> >>> >> Lacking a dsp (digital signal processing) chip, the modem is a software> >> intensive or "softmodem" type. Its primary controller manages the traffic> >> with the CPU. But the software needed is specified in the Subsystem.> >> -----------------------------------------> >> Support type needed or chipset: slmodemd> >>> >> An ALSA (Advanced Linux Sound Architecture) modem driver:> >> provides Low Level support enabling contact with the modem hardware.> >> For all BUT Conexant chip soft modems (using hsfmodem software)> >> complementary High Level support is through a Smartlink utility: slmodemd> >>> >> Download from http://linmodems.technion.ac.il/packages/smartlink/> >> the package SLMODEMD.gcc4.tar.gz having a compiled slmodemd. Unpack under Linux with:> >> $ tar zxf SLMODEMD.gcc4.tar.gz> >> and read instructions therein. But briefly, the modem is setup with command:> >> sudo slmodemd -c YOUR_COUNTRY --alsa> >> reporting dynamic creation of ports:> >> /dev/ttySL0 --> /dev/pts/N , with N some number> >> Read Smartlink.txt and Modem/YourSystem.txt for follow through guidance.> >>> >>> >> The diagnostic outputs for this softmodem section have their raw information in> >> folders and text files under /proc/asound/ which you can browse. The information> >> is from files:> >> /proc/asound/pcm> >> -------------------------------> >> 00-01: trident_dx_nx IEC958 : Trident 4DWave IEC958 : playback 1> >> 00-00: trident_dx_nx : Trident 4DWave : playback 32 : capture 1> >>> >> /proc/asound/modules> >> -------------------------------> >> 0 snd_trident> >> /proc/asound/card0/codec97#0/mc97#1-1+regs> >> -------------------------------> >> 0:7c = 5349 and 0:7e = 4c22> >> which were translated from hexadecimal code into: SIL22> >>> >> /proc/asound/card0/codec97#0/mc97#1-1> >> -------------------------------> >> Extended modem ID: codec=1 LIN1> >>> >> and from the command:> >> aplay -l | grep -i modem> >>> >>> >> ----------------end Softmodem section --------------> >> Writing Smartlink.txt> >> ============ end Smartlink section =====================> >>> >> Completed candidate modem analyses.> >>> >> The base of the UDEV device file system is: /dev/.udev> >>> >> Versions adequately match for the compiler installed: 4.1.2> >> and the compiler used in kernel assembly: 4.1.2> >>> >>> >>> >> Compiling resources appear complete:> >> make utility - /usr/bin/make> >> Compiler version 4.1> >> kernel_headers base folder /lib/modules/2.6.17-10-generic/build> >>> >>> >> Checking pppd properties:> >> -rwsr-xr-- 1 root dip 260920 2006-07-10 20:13 /usr/sbin/pppd> >>> >> In case of an "error 17" "serial loopback" problem, see:> >> http://phep2.technion.ac.il/linmodems/archive-sixth/msg02637.html> >>> >> To enable dialout without Root permission do:> >> $ su - root (not for Ubuntu)> >> sudo chmod a+x /usr/sbin/pppd> >> or under Ubuntu related Linuxes> >> sudo chmod a+x /usr/sbin/pppd> >>> >> Checking settings of: /etc/ppp/options> >> asyncmap 0> >> auth> >> crtscts> >> lock> >> hide-password> >> modem> >> proxyarp> >> lcp-echo-interval 30> >> lcp-echo-failure 4> >> noipx> >>> >> In case of a message like:> >> Warning: Could not modify /etc/ppp/pap-secrets: Permission denied> >> see http://linmodems.technion.ac.il/bigarch/archive-sixth/msg04656.html> >>> >> Read Modem/YourSystem.txt concerning other COMM channels: eth0> >> Which can interfere with Browser naviagation.> >>> >> Don't worry about the following, it is for the experts> >> should trouble shooting be necessary.> >> ==========================================================> >>> >> Checking for modem support lines:> >> --------------------------------------> >> /device/modem symbolic link:> >> slmodemd created symbolic link /dev/ttySL0:> >> Within /etc/udev/ files:> >> /etc/udev/rules.d/60-symlinks.rules:# Create /dev/modem symlink> >> /etc/udev/rules.d/60-symlinks.rules:KERNEL=="ttyLTM[0-9]*", SYMLINK+="modem"> >> Within /etc/modprobe.conf files:> >> /etc/modprobe.d/alsa-base:options snd-atiixp-modem index=-2> >> /etc/modprobe.d/alsa-base:options snd-via82xx-modem index=-2> >> /etc/modprobe.d/blacklist-modem:# Uncomment these entries in order to blacklist unwanted modem> drivers> >> /etc/modprobe.d/blacklist-modem:# blacklist snd-atiixp-modem> >> /etc/modprobe.d/blacklist-modem:# blacklist snd-via82xx-modem> >> Within any ancient /etc/devfs files:> >>> >> Within ancient kernel 2.4.n /etc/module.conf files:> >>> >> --------- end modem support lines --------> >>> >>> >> Only plain text email is forwarded by the DISCUSS@xxxxxxxxxxxxx List Server.> >> Do use the following as the email Subject Line:> >> SomeName, YourCountry Ubuntu 6.10 kernel 2.6.17-10-generic> >> This will alert cogent experts, and distinguish cases in the Archives.> >> YourCountry will enable Country Code guidance.> >> Occassionally responses are blocked by an Internet Provider mail filters.> >> So in a day, also check the Archived responses at http://www.linmodems.org .> >> Local Linux experts can be found through: http://www.linux.org/groups/index.html> >> -------------------------- System information ----------------------------> >> CPU=i686, Ubuntu 6.10> >> Linux version 2.6.17-10-generic (root@vernadsky) (gcc version 4.1.2 20060928 (prerelease)> (Ubuntu 4.1.1-13ubuntu5)) #2 SMP Fri Oct 13 18:45:35 UTC 2006 (Ubuntu 2.6.17-10.33-generic)> >> scanModem update of: 2007_Jan_22> >>> >>> >> USB modem not detected by lsusb> >>> >> Modem or host audio card candidates have firmware information:> >>> >> PCI slot PCI ID SubsystemID Name> >> ---------- --------- --------- --------------> >> 00:01.6 1039:7013 1584:4003 Modem: Silicon Integrated Systems [SiS] AC'97> Modem Controller> >>> >> Modem interrupt assignment and sharing:> >> 10: 0 XT-PIC eth0> >>> >> --- Bootup diagnositcs for card in PCI slot 00:01.6 ----> >> [ 22.244695] PCI: Found IRQ 10 for device 0000:00:01.6> >> [ 47.634745] PCI: Sharing IRQ 10 with 0000:00:01.6> >>> >> === Finished modem firmware and bootup diagnostics section. ===> >> === Next deducing cogent software ===> >>> >> ALSAversion 1.0.11> >> A candidate driver could not be identified.> >> For candidate modem in PCI bus: 00:01.6> >> Class 0703: 1039:7013 Modem: Silicon Integrated Systems [SiS] AC'97 Modem Controller> >> Primary PCI_id 1039:7013> >> Subsystem PCI_id 1584:4003> >> Softmodem codec or Vendor from diagnostics: SIL22, a Smartlink type.> >> from Archives: SIL22, a Smartlink type.> >>> >>> >> Lacking a dsp (digital signal processing) chip, the modem is a software> >> intensive or "softmodem" type. Its primary controller manages the traffic> >> with the CPU. But the software needed is specified in the Subsystem.> >> -----------------------------------------> >> Support type needed or chipset: slmodemd> >>> >> An ALSA (Advanced Linux Sound Architecture) modem driver:> >> provides Low Level support enabling contact with the modem hardware.> >> For all BUT Conexant chip soft modems (using hsfmodem software)> >> complementary High Level support is through a Smartlink utility: slmodemd> >>> >> Download from http://linmodems.technion.ac.il/packages/smartlink/> >> the package SLMODEMD.gcc4.tar.gz having a compiled slmodemd. Unpack under Linux with:> >> $ tar zxf SLMODEMD.gcc4.tar.gz> >> and read instructions therein. But briefly, the modem is setup with command:> >> sudo slmodemd -c YOUR_COUNTRY --alsa> >> reporting dynamic creation of ports:> >> /dev/ttySL0 --> /dev/pts/N , with N some number> >> Read Smartlink.txt and Modem/YourSystem.txt for follow through guidance.> >>> >>> >> The diagnostic outputs for this softmodem section have their raw information in> >> folders and text files under /proc/asound/ which you can browse. The information> >> is from files:> >> /proc/asound/pcm> >> -------------------------------> >> 00-01: trident_dx_nx IEC958 : Trident 4DWave IEC958 : playback 1> >> 00-00: trident_dx_nx : Trident 4DWave : playback 32 : capture 1> >>> >> /proc/asound/modules> >> -------------------------------> >> 0 snd_trident> >> /proc/asound/card0/codec97#0/mc97#1-1+regs> >> -------------------------------> >> 0:7c = 5349 and 0:7e = 4c22> >> which were translated from hexadecimal code into: SIL22> >>> >> /proc/asound/card0/codec97#0/mc97#1-1> >> -------------------------------> >> Extended modem ID: codec=1 LIN1> >>> >> and from the command:> >> aplay -l | grep -i modem> >>> >>> >> ----------------end Softmodem section --------------> >> Writing Smartlink.txt> >> ============ end Smartlink section =====================> >>> >> Completed candidate modem analyses.> >>> >> The base of the UDEV device file system is: /dev/.udev> >>> >> Versions adequately match for the compiler installed: 4.1.2> >> and the compiler used in kernel assembly: 4.1.2> >>> >>> >>> >> Compiling resources appear complete:> >> make utility - /usr/bin/make> >> Compiler version 4.1> >> kernel_headers base folder /lib/modules/2.6.17-10-generic/build> >>> >>> >> Checking pppd properties:> >> -rwsr-xr-- 1 root dip 260920 2006-07-10 20:13 /usr/sbin/pppd> >>> >> In case of an "error 17" "serial loopback" problem, see:> >> http://phep2.technion.ac.il/linmodems/archive-sixth/msg02637.html> >>> >> To enable dialout without Root permission do:> >> $ su - root (not for Ubuntu)> >> sudo chmod a+x /usr/sbin/pppd> >> or under Ubuntu related Linuxes> >> sudo chmod a+x /usr/sbin/pppd> >>> >> Checking settings of: /etc/ppp/options> >> asyncmap 0> >> auth> >> crtscts> >> lock> >> hide-password> >> modem> >> proxyarp> >> lcp-echo-interval 30> >> lcp-echo-failure 4> >> noipx> >>> >> In case of a message like:> >> Warning: Could not modify /etc/ppp/pap-secrets: Permission denied> >> see http://linmodems.technion.ac.il/bigarch/archive-sixth/msg04656.html> >>> >> Read Modem/YourSystem.txt concerning other COMM channels: eth0> >> Which can interfere with Browser naviagation.> >>> >> Don't worry about the following, it is for the experts> >> should trouble shooting be necessary.> >> ==========================================================> >>> >> Checking for modem support lines:> >> --------------------------------------> >> /device/modem symbolic link:> >> slmodemd created symbolic link /dev/ttySL0:> >> Within /etc/udev/ files:> >> /etc/udev/rules.d/60-symlinks.rules:# Create /dev/modem symlink> >> /etc/udev/rules.d/60-symlinks.rules:KERNEL=="ttyLTM[0-9]*", SYMLINK+="modem"> >> Within /etc/modprobe.conf files:> >> /etc/modprobe.d/alsa-base:options snd-atiixp-modem index=-2> >> /etc/modprobe.d/alsa-base:options snd-via82xx-modem index=-2> >> /etc/modprobe.d/blacklist-modem:# Uncomment these entries in order to blacklist unwanted modem> drivers> >> /etc/modprobe.d/blacklist-modem:# blacklist snd-atiixp-modem> >> /etc/modprobe.d/blacklist-modem:# blacklist snd-via82xx-modem> >> Within any ancient /etc/devfs files:> >>> >> Within ancient kernel 2.4.n /etc/module.conf files:> >>> >> --------- end modem support lines --------> >>> >>> >>>>> tim@TimVB-laptop:~$ cd slmodem-2.9.11-20070204> tim@TimVB-laptop:~/slmodem-2.9.11-20070204$ make> make -C modem all> make[1]: Entering directory `/home/tim/slmodem-2.9.11-20070204/modem'> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_main.o -c modem_main.c> modem_main.c:45:20: error: unistd.h: No such file or directory> modem_main.c:46:20: error: stdlib.h: No such file or directory> modem_main.c:47:19: error: stdio.h: No such file or directory> modem_main.c:48:20: error: string.h: No such file or directory> modem_main.c:49:19: error: errno.h: No such file or directory> modem_main.c:50:21: error: termios.h: No such file or directory> modem_main.c:51:19: error: fcntl.h: No such file or directory> modem_main.c:52:23: error: sys/types.h: No such file or directory> modem_main.c:53:22: error: sys/stat.h: No such file or directory> modem_main.c:54:23: error: sys/ioctl.h: No such file or directory> modem_main.c:55:22: error: sys/mman.h: No such file or directory> modem_main.c:56:19: error: sched.h: No such file or directory> modem_main.c:57:20: error: signal.h: No such file or directory> In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/syslimits.h:7,> from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:11,> from modem_main.c:58:> /usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:122:61: error: limits.h: No such file or directory> modem_main.c:59:17: error: grp.h: No such file or directory> In file included from ./modem.h:49,> from modem_main.c:70:> ./modem_defs.h:50: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'u8'> ./modem_defs.h:51: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'u16'> ./modem_defs.h:52: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'u32'> ./modem_defs.h:54: error: expected '=', ',', ';', 'asm' or '__attribute__' before 's8'> ./modem_defs.h:55: error: expected '=', ',', ';', 'asm' or '__attribute__' before 's16'> ./modem_defs.h:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before 's32'> In file included from ./modem.h:50,> from modem_main.c:70:> ./modem_homolog.h:53: error: expected specifier-qualifier-list before 'u8'> ./modem_homolog.h:103: error: expected ':', ',', ';', '}' or '__attribute__' before 'id'> In file included from ./modem.h:51,> from modem_main.c:70:> ./modem_dp.h:82: error: expected declaration specifiers or '...' before 'u8'> ./modem_dp.h:83: error: expected declaration specifiers or '...' before 'u8'> In file included from modem_main.c:70:> ./modem.h:138: error: expected specifier-qualifier-list before 'u16'> ./modem.h:174: error: expected declaration specifiers or '...' before 'u8'> ./modem.h:175: error: expected declaration specifiers or '...' before 'u8'> ./modem.h:191: error: expected specifier-qualifier-list before 'u16'> ./modem.h:219: error: expected specifier-qualifier-list before 'u8'> ./modem.h:263: error: field 'termios' has incomplete type> ./modem.h:319: error: expected specifier-qualifier-list before 'u8'> ./modem.h:340: error: expected specifier-qualifier-list before 'u32'> ./modem.h:342: error: expected declaration specifiers or '...' before 'u8'> ./modem.h:343: error: expected declaration specifiers or '...' before 'u8'> ./modem.h:354: error: expected specifier-qualifier-list before 'u8'> ./modem.h:371: error: expected specifier-qualifier-list before 'u8'> ./modem.h:436: error: expected declaration specifiers or '...' before 'u8'> ./modem.h:437: error: expected declaration specifiers or '...' before 'u8'> ./modem.h:439: error: expected declaration specifiers or '...' before 'u8'> ./modem.h:440: error: expected declaration specifiers or '...' before 'u8'> ./modem.h:442: error: expected declaration specifiers or '...' before 'u8'> ./modem.h:443: error: expected declaration specifiers or '...' before 'u8'> modem_main.c:98: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'modem_perm'> modem_main.c: In function 'modemap_start':> modem_main.c:555: warning: implicit declaration of function 'ioctl'> modem_main.c:559: warning: implicit declaration of function 'memset'> modem_main.c:559: warning: incompatible implicit declaration of built-in function 'memset'> modem_main.c:560: warning: implicit declaration of function 'write'> modem_main.c: In function 'mdm_device_read':> modem_main.c:602: warning: implicit declaration of function 'read'> modem_main.c: In function 'mdm_device_setup':> modem_main.c:616: error: storage size of 'stbuf' isn't known> modem_main.c:618: warning: incompatible implicit declaration of built-in function 'memset'> modem_main.c:619: warning: implicit declaration of function 'stat'> modem_main.c:621: warning: implicit declaration of function 'fprintf'> modem_main.c:621: warning: incompatible implicit declaration of built-in function 'fprintf'> modem_main.c:621: error: 'stderr' undeclared (first use in this function)> modem_main.c:621: error: (Each undeclared identifier is reported only once> modem_main.c:621: error: for each function it appears in.)> modem_main.c:621: warning: implicit declaration of function 'strerror'> modem_main.c:621: error: 'errno' undeclared (first use in this function)> modem_main.c:621: warning: format '%s' expects type 'char *', but argument 4 has type 'int'> modem_main.c:624: warning: implicit declaration of function 'S_ISCHR'> modem_main.c:625: warning: incompatible implicit declaration of built-in function 'fprintf'> modem_main.c:629: warning: implicit declaration of function 'open'> modem_main.c:629: error: 'O_RDWR' undeclared (first use in this function)> modem_main.c:631: warning: incompatible implicit declaration of built-in function 'fprintf'> modem_main.c:631: warning: format '%s' expects type 'char *', but argument 4 has type 'int'> modem_main.c:635: warning: implicit declaration of function 'minor'> modem_main.c:616: warning: unused variable 'stbuf'> modem_main.c: In function 'mdm_device_release':> modem_main.c:641: warning: implicit declaration of function 'close'> modem_main.c: At top level:> modem_main.c:651: error: 'PATH_MAX' undeclared here (not in a function)> modem_main.c: In function 'create_pty':> modem_main.c:655: error: storage size of 'termios' isn't known> modem_main.c:662: warning: implicit declaration of function 'getpt'> modem_main.c:663: warning: implicit declaration of function 'grantpt'> modem_main.c:663: warning: implicit declaration of function 'unlockpt'> modem_main.c:664: warning: incompatible implicit declaration of built-in function 'fprintf'> modem_main.c:664: error: 'stderr' undeclared (first use in this function)> modem_main.c:664: error: 'errno' undeclared (first use in this function)> modem_main.c:664: warning: format '%s' expects type 'char *', but argument 3 has type 'int'> modem_main.c:672: warning: implicit declaration of function 'tcgetattr'> modem_main.c:674: warning: implicit declaration of function 'cfmakeraw'> modem_main.c:675: warning: implicit declaration of function 'cfsetispeed'> modem_main.c:675: error: 'B115200' undeclared (first use in this function)> modem_main.c:676: warning: implicit declaration of function 'cfsetospeed'> modem_main.c:679: warning: implicit declaration of function 'tcsetattr'> modem_main.c:679: error: 'TCSANOW' undeclared (first use in this function)> modem_main.c:681: warning: incompatible implicit declaration of built-in function 'fprintf'> modem_main.c:681: warning: format '%s' expects type 'char *', but argument 3 has type 'int'> modem_main.c:685: warning: implicit declaration of function 'fcntl'> modem_main.c:685: error: 'F_SETFL' undeclared (first use in this function)> modem_main.c:685: error: 'O_NONBLOCK' undeclared (first use in this function)> modem_main.c:687: warning: implicit declaration of function 'ptsname'> modem_main.c:687: warning: assignment makes pointer from integer without a cast> modem_main.c:695: warning: implicit declaration of function 'getgrnam'> modem_main.c:695: warning: initialization makes pointer from integer without a cast> modem_main.c:697: warning: incompatible implicit declaration of built-in function 'fprintf'> modem_main.c:697: warning: format '%s' expects type 'char *', but argument 4 has type 'int'> modem_main.c:701: warning: implicit declaration of function 'chown'> modem_main.c:701: error: dereferencing pointer to incomplete type> modem_main.c:703: warning: incompatible implicit declaration of built-in function 'fprintf'> modem_main.c:703: warning: format '%s' expects type 'char *', but argument 5 has type 'int'> modem_main.c:709: warning: implicit declaration of function 'chmod'> modem_main.c:709: error: 'modem_perm' undeclared (first use in this function)> modem_main.c:711: warning: incompatible implicit declaration of built-in function 'fprintf'> modem_main.c:711: warning: format '%s' expects type 'char *', but argument 5 has type 'int'> modem_main.c:716: warning: implicit declaration of function 'unlink'> modem_main.c:717: warning: implicit declaration of function 'symlink'> modem_main.c:718: warning: incompatible implicit declaration of built-in function 'fprintf'> modem_main.c:718: warning: format '%s' expects type 'char *', but argument 5 has type 'int'> modem_main.c:723: warning: incompatible implicit declaration of built-in function 'fprintf'> modem_main.c:655: warning: unused variable 'termios'> modem_main.c: At top level:> modem_main.c:743: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'keep_running'> modem_main.c: In function 'mark_termination':> modem_main.c:748: error: 'keep_running' undeclared (first use in this function)> modem_main.c: In function 'modem_run':> modem_main.c:754: error: storage size of 'tmo' isn't known> modem_main.c:755: error: 'fd_set' undeclared (first use in this function)> modem_main.c:755: error: expected ';' before 'rset'> modem_main.c:756: error: storage size of 'termios' isn't known> modem_main.c:762: error: 'keep_running' undeclared (first use in this function)> modem_main.c:774: warning: implicit declaration of function 'FD_ZERO'> modem_main.c:774: error: 'rset' undeclared (first use in this function)> modem_main.c:775: error: 'eset' undeclared (first use in this function)> modem_main.c:777: warning: implicit declaration of function 'FD_SET'> modem_main.c:792: warning: implicit declaration of function 'select'> modem_main.c:792: error: 'NULL' undeclared (first use in this function)> modem_main.c:795: error: 'errno' undeclared (first use in this function)> modem_main.c:795: error: 'EINTR' undeclared (first use in this function)> modem_main.c:797: warning: incompatible implicit declaration of built-in function 'fprintf'> modem_main.c:797: error: 'stderr' undeclared (first use in this function)> modem_main.c:797: warning: format '%s' expects type 'char *', but argument 3 has type 'int'> modem_main.c:804: warning: implicit declaration of function 'FD_ISSET'> modem_main.c:815: warning: incompatible implicit declaration of built-in function 'fprintf'> modem_main.c:815: warning: format '%s' expects type 'char *', but argument 3 has type 'int'> modem_main.c:825: warning: incompatible implicit declaration of built-in function 'fprintf'> modem_main.c:825: warning: format '%s' expects type 'char *', but argument 3 has type 'int'> modem_main.c:850: warning: incompatible implicit declaration of built-in function 'fprintf'> modem_main.c:850: warning: format '%s' expects type 'char *', but argument 3 has type 'int'> modem_main.c:859: warning: incompatible implicit declaration of built-in function 'memset'> modem_main.c:862: warning: incompatible implicit declaration of built-in function 'fprintf'> modem_main.c:862: warning: format '%s' expects type 'char *', but argument 3 has type 'int'> modem_main.c:866: warning: incompatible implicit declaration of built-in function 'fprintf'> modem_main.c:877: warning: implicit declaration of function 'memcmp'> modem_main.c:889: error: 'EAGAIN' undeclared (first use in this function)> modem_main.c:893: error: 'EIO' undeclared (first use in this function)> modem_main.c:896: error: 'HUPCL' undeclared (first use in this function)> modem_main.c:901: warning: incompatible implicit declaration of built-in function 'fprintf'> modem_main.c:913: warning: incompatible implicit declaration of built-in function 'fprintf'> modem_main.c:913: warning: format '%s' expects type 'char *', but argument 3 has type 'int'> modem_main.c:922: warning: incompatible implicit declaration of built-in function 'fprintf'> modem_main.c:756: warning: unused variable 'termios'> modem_main.c:754: warning: unused variable 'tmo'> modem_main.c: In function 'modem_main':> modem_main.c:940: warning: implicit declaration of function 'basename'> modem_main.c:940: warning: passing argument 1 of 'modem_debug_init' makes pointer from integer without a cast> modem_main.c:944: warning: incompatible implicit declaration of built-in function 'fprintf'> modem_main.c:944: error: 'stderr' undeclared (first use in this function)> modem_main.c:945: warning: implicit declaration of function 'exit'> modem_main.c:945: warning: incompatible implicit declaration of built-in function 'exit'> modem_main.c:953: warning: implicit declaration of function 'sprintf'> modem_main.c:953: warning: incompatible implicit declaration of built-in function 'sprintf'> modem_main.c:955: warning: passing argument 2 of 'modem_create' makes pointer from integer without a cast> modem_main.c:956: warning: assignment makes pointer from integer without a cast> modem_main.c:962: warning: incompatible implicit declaration of built-in function 'fprintf'> modem_main.c:963: warning: incompatible implicit declaration of built-in function 'exit'> modem_main.c:966: warning: incompatible implicit declaration of built-in function 'fprintf'> modem_main.c:969: warning: format '%s' expects type 'char *', but argument 3 has type 'int'> modem_main.c:973: error: storage size of 'prm' isn't known> modem_main.c:974: warning: implicit declaration of function 'mlockall'> modem_main.c:974: error: 'MCL_CURRENT' undeclared (firs^�P`���OJQJo(���������^��`���o(.�������^��`���o()��p�L��p^�p`�L�.��@ ����@ ^�@ `���.������^�`���.����L���^��`�L�.��������^��`���.��������^��`���.��P�L��P^�P`�L�.q �������^��`���OJQJo(���q �������^��`���OJQJo(o�q �p����p^�p`���OJQJo(���q �@ ����@ ^�@ `���OJQJo(���q �����^�`���OJQJo(o�q �������^��`���OJQJo(���q �������^��`���OJQJo(���q �������^��`���OJQJo(o�q �P����P^�P`���OJQJo(��q �������^��`���OJQJo(���q �������^��`���OJQJo(o�q �p����p>