config. modem SiS 7013 56k su laptop ECS G733 suse 10.0

28 risposte [Ultimo messaggio]
Ritratto di adore
adore
(Junior)
Offline
Junior
Iscritto: 31/08/2006
Messaggi: 16

vorrei caldamente usare linux invece di windows, ma necessitando di collegamento internet vorrei configurare il modem se questo è il problema.

il software Sandra mi dice che il modem è Silicon Integrated System (SiS) SiS7013 56, il computer è Elite Group.
Impostando la connessione con kppp mi segnala "MODEM BUSY".
Mi piacerebbe spere come uscirne.

P.S.:con windows me la cavo, con linux non so nemmeno come caricare un programma Sad((

grazie

Ritratto di pernix
pernix
(Guru)
Offline
Guru
Iscritto: 07/07/2006
Messaggi: 995

Leggi questo thread
http://www.suseitalia.org/modules/newbb/viewtopic.php?topic_id=8084&forum=6&post_id=40347#forumpost40347

In a world without walls and fences, who needs Windows ad Gates?

openSUSE 10.3 - KDE+Compiz
Dell Latitude D820N: Intel T7200 2GHz; 2GB RAM 667MHz; Nvidia Quadro NVS 120M 512MB

Ritratto di adore
adore
(Junior)
Offline
Junior
Iscritto: 31/08/2006
Messaggi: 16

grazie dell'informazione però:
1-yast mi vede il modem nominandolo:Elitegroup AC'97 Modem Controller
nella post indicatami yast non vedeva nessun modem
2- ho comunque scaricato il pacchetto consigliatomi in quella post ma come ho precisato non essendoci un file .exe da cliccarci sopra non so esattamente come caricarlo e quale delle mille cartelle che trovo dentro usare

vi ringrazio anticipatamente dell'aiuto

Ritratto di pernix
pernix
(Guru)
Offline
Guru
Iscritto: 07/07/2006
Messaggi: 995

Allora, in linux non esistono file exe come si intendono in windows, comunque, quello che hai scaricato è un pacchetto compresso (uno zip per intenderci), quindi devi estrarlo in questo modo:
- Apri una console nella cartella dove è contenuto il file
- digita: tar -xf <nomefile>
-esci dalla console e apri konqueror (se usi kde), se usi gnome dovrai aprire l'"esplora risorse" di gnome.
Vai nella cartella dov'era il file compresso e cerca il file readme tra quelli che hai estratto. Ora devi solo seguire le istruzioni scritte lì.

In a world without walls and fences, who needs Windows ad Gates?

openSUSE 10.3 - KDE+Compiz
Dell Latitude D820N: Intel T7200 2GHz; 2GB RAM 667MHz; Nvidia Quadro NVS 120M 512MB

Ritratto di adore
adore
(Junior)
Offline
Junior
Iscritto: 31/08/2006
Messaggi: 16

Ti ringrazio infinitamente, poiché so che può scocciare l’ennesimo neofita che sa praticamente accendere e spegnere il computer al massimo.
1-Ho provato a scrivere:

tar –xf <slmodem-20060727.tar.bz> niente
tar –xf <slmodem-20060727.tar.bz> niente (spazio tra xf e < )
tar –xf slmodem-20060727.tar.bz niente

primi due casi dice: syntax error near unexpected token ‘newline’

terzo caso dice: tar slmodem-20060727: cannot read. Is a directory
tar at beginning of tape, quitting now
tar: error is not recoverable: exiting now

2-l’ho comunque scompattato con tasto destroy “estrai”

3- ho aperto conkuerror e aperto “README” trovo:

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

1. Unpack tar.gz package file:

$ gzip -dc slmodem-2.9.X.tar.gz | tar xf -

2. 'cd' to package directory:

$ cd slmodem-2.9.X

3. Review and edit 'Makefile' (if need):

In many cases you will need to correct path to your local kernel
source tree:

KERNEL_DIR=/path/to/linux

Default KERNEL_DIR is '/lib/modules/<kerne-version>/build'. Many Linux
Distributions use directory '/usr/src/linux-<version>' also.

Note: If you are using Linux kernel 2.4, only header files should be
available for build in $(KERNEL_DIR)/include

Another way to pass right value KERNEL_DIR is to use command line
parameter while running 'make':

$ make KERNEL_DIR=/path/to/linux ...

4. Run 'make' command to compile package:

$ make

5. Install. As 'root' user run:

# make install

It will install:

- application 'slmodemd' under '/usr/sbin' directory

- hardware specific drivers (kernel modules) 'slamr' and 'slusb'
under conventional kernel modules directory

- character device nodes '/dev/slamr0-3' with major number 212
(for pci modems) and '/dev/slusb0-3' with major number 213
(for usb modems).

- config modules for autoloading (by editing file '/etc/modules.conf')
(only with 2.4 kernels)

6. Config modem country.

Use AT+GCI=<T.35 country code> command to setup country.

Also you can setup default modem country by passing command line
parameter '--country=MY_COUNTRY' to program 'slmodemd'.

See output of 'slmodemd --countrylist' for a list of supported
country names and T.35 country codes (see also 'slmodemd --help').

Note: Command ATI7 shows currently installed country setting.

8. Uninstallation.

In package directory just type:

# make uninstall

Getting Started
===============

After successful installation and configuration:

1. Load modem driver.

Load your modem hardware specific kernel module:

# modprobe slamr

if you are using AMR/CNR/PCI modem, or

# modprobe slusb

if you are using SmartUSB56 Modem.

Note: this will be done automatically when modules were
configured for 'loading on demand'

Note: this is safe to load both 'alamr' and 'slusb' modules.

2. Run soft modem application.

# /usr/sbin/slmodemd [options] <device_name>

Where device name is appropriate device node for your modem
(look at output of 'dmesg' command).
Run '/usr/sbin/slmodemd --help' for details.

Examples:

# /usr/sbin/slmodemd --country=USA /dev/slamr0

, or for SmartUSB56 Modems:

# /usr/sbin/slmodemd --country=ITALY /dev/slusb0

3. Using the modem.

When 'slmodemd' is running this creates PTY (pseudo-terminal) to
emulate modem port device, also this creates symbolic link
like '/dev/ttySL0' (shown at startup).

Config your application to use this link '/dev/ttySL0' (or PTY node
itself) as modem port.

Note: Some application want 'to know' that they are working with
pseudo-terminal and may require additional configurations.

Known application notes:

- 'wvdial' requires option 'Carrier Check = no' in config file

- some versions of 'kppp' may not work properly with devices named
like '/dev/ttySL0'. To workaround this you may create symbolic link
'/dev/modem' ( # ln -s /dev/ttySL0 /dev/modem ) and use this link
as modem device with 'kppp'

- some pci modem devices are declared as COMMUNICATION_MODEM class and
might be caught by other standard drivers - you will see "grabbed
by another driver" warning in dmesg buffer. There is no good way to
"release" it, but as silly workaround you may use 'ungrab-winmodem'
pseudo-driver from http://linmodems.technion.ac.il/packages/smartlink.
Note that you should load it before 'slamr' module.

4. Startup automation.

There are examples of startup scripts in 'scripts' directory.

ALSA mode
=========

ALSA has the built-in modem drivers included in 'alsa-driver' >= 1.0.2
and in Linux kernel >= 2.6.5. Currently there is 'intel8x0m' (snd-intel8x0m)
modem driver, which supports ICH based AC97 modems (MC97).

Recent 'alsa-driver' (>=1.0.8) has also support for NVidia NForce, SiS 630
(snd-intel8x0m), VIA686 (snd-via82xx-modem) and ATI IXP (snd-atiixp-modem)
based modems.

1. Configure your kernel and enable ALSA and ICH based modem support
( 'Device Drivers' -> 'Sound' -> 'Advanced Linux Sound Architecture' ->
'PCI devices' -> 'Intel i8x0/MX440; AMD768/8111 modems' ) .

2. Build and install kernel and modules as usual (make , make modules_install,
etc.). ICH modem driver modem module name is 'snd-intel8x0m'
(if was configured as module).

3. Build application 'slmodemd' with ALSA support. For this in
slmodem-2.9.x dir:

$ cd modem
$ make SUPPORT_ALSA=1

This will build 'slmodemd' with ALSA support. If compilation is failed
review Makefile (near ALSA_SUPPORT condition) and define right library
and/or CFLAGS .

Note: For above you need ALSA library and header files installed.

4. Use option '--alsa' when running 'slmodemd' and ALSA conventional
device name ('hw:0' or 'hw:1' for instance). If modem support in
the kernel was enabled as module module 'snd-intel8x0m' should be loaded.

Note: Recent version of 'alsa-lib' (>= 1.0.6) has built-in "modem" device
name support ('modem:0', 'modem:1', etc). It is recommended to use
those names with modems (mandatory with ATI IXP modems).

Note: When using ALSA modem driver you don't need to load other
modules ('slamr').

Troubleshooting
===============

If you get an error message during installation/configuration or loading
the modules try to see it in FAQ file.

Please report the problem to your modem provider or to us
(linux-support@smlink.com).

Feedback
========

Please send any feedbacks to Smart Link. See the Smart Link
web site for contact information (www.smlink.com) or to
linux-support@smlink.com.

A questo punto per me è arabo, ho provato ad aprire una console e digitare:

$ cd slmodem-2.9.X

Ma ovviamente dava errore… Sad

Help

PS: l'errore del modem ricordo NON è "nodial" ma "MODEM BUSY"

Ritratto di pernix
pernix
(Guru)
Offline
Guru
Iscritto: 07/07/2006
Messaggi: 995

Bene, bene, allora apri konsole e digita (dopo ogni comando premi invio Wink ):
<br />cd slmodem-20060727<br />make<br />
ora devi fare un login per diventare root quindi digita:
<br />su<br />(inserisci la password di root)<br />make install<br />
Tutto questo per installare i driver.
Per farlo funzionare, prima di ogni connessione alla rete apri konsole e loggati come root (gli utlimi passi della procedura di prima), digita:
<br />modprobe slamr<br />/usr/sbin/slmodemd /dev/slamr0<br />
a questo punto puoi finalmente entrare in rete con kinternet (o KPPP). Kinternet deve essere configurato in modo che utilizzi la periferica software che è stata creata dalla procedura di prima e che dovrebbe essere /dev/ttySL0. Se non dovesse funzionare con questa periferica potresti avere bisogno di creare un link simbolico a quell'indirizzo, in questo modo: in konsole digita (sempre da root)
<br />ln -s /dev/ttySL0 /dev/modem <br />
e usa /dev/modem come periferica.

Credo sia tutto.
Ricordati ovviamente di settare kinternet (o KPPP) con il numero di telefono e con nome e password corretti.

In a world without walls and fences, who needs Windows ad Gates?

openSUSE 10.3 - KDE+Compiz
Dell Latitude D820N: Intel T7200 2GHz; 2GB RAM 667MHz; Nvidia Quadro NVS 120M 512MB

Ritratto di adore
adore
(Junior)
Offline
Junior
Iscritto: 31/08/2006
Messaggi: 16

se ne arriviamo a capo ti propongo come San Suse:

allora...

prima ho aperto la console avendo la cartella estratta direttamente sul desktop, ma al comando “cd slmodem-20060727” mi dava “bash: cd: slmodem-20060727: No such file or directory”, l'ho quindi copiata dentro una cartella, da li ho aperto la console che mi ha dato quanto segue:
( LINUX è la cartella dove l'ho copiata)

1° step:adore@linux:~/Desktop/LINUX> cd slmodem-20060727

2°:adore@linux:~/Desktop/LINUX/slmodem-20060727> make
make -C modem all
make[1]: Entering directory `/home/adore/Desktop/LINUX/slmodem-20060727/modem'
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_main.o -c modem_main.c
make[1]: gcc: Command not found
make[1]: *** [modem_main.o] Error 127
make[1]: Leaving directory `/home/adore/Desktop/LINUX/slmodem-20060727/modem'
make: *** [modem] Error 2

3°: adore@linux:~/Desktop/LINUX/slmodem-20060727> su
Password:

4°: linux:/home/adore/Desktop/LINUX/slmodem-20060727 # make install
make -C modem all
make[1]: Entering directory `/home/adore/Desktop/LINUX/slmodem-20060727/modem'
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_main.o -c modem_main.c
make[1]: gcc: Command not found
make[1]: *** [modem_main.o] Error 127
make[1]: Leaving directory `/home/adore/Desktop/LINUX/slmodem-20060727/modem'
make: *** [modem] Error 2

5°:linux:/home/adore/Desktop/LINUX/slmodem-20060727 # modprobe slamr
FATAL: Module slamr not found.
linux:/home/adore/Desktop/LINUX/slmodem-20060727 # /usr/sbin/slmodemd /dev/slamr0
error: mdm setup: cannot open dev `/dev/slamr0': No such device or address
error: cannot setup device `/dev/slamr0'
linux:/home/adore/Desktop/LINUX/slmodem-20060727 #

Già dal 2° step noto che mi da errore, ovviamente non continuo.
va bene che non ne so niente di linux ma forse qualcosa non va, ho seguito passo passo.

aiutt................. Sad

Thinking

Ritratto di pernix
pernix
(Guru)
Offline
Guru
Iscritto: 07/07/2006
Messaggi: 995

Quote:

adore ha scritto:
2°:adore@linux:~/Desktop/LINUX/slmodem-20060727> make
make -C modem all
make[1]: Entering directory `/home/adore/Desktop/LINUX/slmodem-20060727/modem'
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_main.o -c modem_main.c
make[1]: gcc: Command not found
make[1]: *** [modem_main.o] Error 127
make[1]: Leaving directory `/home/adore/Desktop/LINUX/slmodem-20060727/modem'
make: *** [modem] Error 2

Non hai notato che hai ricevuto degli errori nella fase di compilazione?
Allora, l'errore è che ti manca il compilatore c che si chiama gcc. Devi installare da Yast o smart i pacchetti cpp, gcc, libgcc, e gcc+. Ora, la procedura per installare i pacchetti non posso spiegartela qui perché è abbastanza off topic, ma se cerchi nel forum troverai una discussione che parla proprio dell'installazione di gcc, ecc...
Una volta che hai fatto tutto, riparti dallo step 2.

In a world without walls and fences, who needs Windows ad Gates?

openSUSE 10.3 - KDE+Compiz
Dell Latitude D820N: Intel T7200 2GHz; 2GB RAM 667MHz; Nvidia Quadro NVS 120M 512MB

Ritratto di adore
adore
(Junior)
Offline
Junior
Iscritto: 31/08/2006
Messaggi: 16

1°-da yast ho installato le librerie “libstdc” e “glibc” necessarie per installare tutte le gcc mancanti
2°-ho scaricato le gcc dal mirror http://mirror.switch.ch/ftp/mirror/opensuse/distribution/SL-10.0-OSS/inst-source/
3°- le ho installate (tasto destro installa con Yast semplicissimo)
4°- ho interrogato la console che mi da:
/usr/bin/gcc
adore@linux:~> whereis gcc
gcc: /usr/bin/gcc /usr/lib/gcc /usr/share/man/man1/gcc.1.gz
adore@linux:~> rpm -ql gcc
/usr/bin/cc
/usr/bin/gcc
/usr/bin/gccbug
/usr/bin/gcov
/usr/bin/protoize
/usr/bin/unprotoize
/usr/lib/gcc
/usr/lib/gcc/i586-suse-linux
/usr/lib/gcc/i586-suse-linux/4.0.2
/usr/lib/gcc/i586-suse-linux/4.0.2/SYSCALLS.c.X
/usr/lib/gcc/i586-suse-linux/4.0.2/collect2
/usr/lib/gcc/i586-suse-linux/4.0.2/crtbegin.o
/usr/lib/gcc/i586-suse-linux/4.0.2/crtbeginS.o
/usr/lib/gcc/i586-suse-linux/4.0.2/crtbeginT.o
/usr/lib/gcc/i586-suse-linux/4.0.2/crtend.o
/usr/lib/gcc/i586-suse-linux/4.0.2/crtendS.o
/usr/lib/gcc/i586-suse-linux/4.0.2/include
/usr/lib/gcc/i586-suse-linux/4.0.2/include/README
/usr/lib/gcc/i586-suse-linux/4.0.2/include/emmintrin.h
/usr/lib/gcc/i586-suse-linux/4.0.2/include/float.h
/usr/lib/gcc/i586-suse-linux/4.0.2/include/iso646.h
/usr/lib/gcc/i586-suse-linux/4.0.2/include/limits.h
/usr/lib/gcc/i586-suse-linux/4.0.2/include/mm3dnow.h
/usr/lib/gcc/i586-suse-linux/4.0.2/include/mm_malloc.h
/usr/lib/gcc/i586-suse-linux/4.0.2/include/mmintrin.h
/usr/lib/gcc/i586-suse-linux/4.0.2/include/pmmintrin.h
/usr/lib/gcc/i586-suse-linux/4.0.2/include/stdarg.h
/usr/lib/gcc/i586-suse-linux/4.0.2/include/stdbool.h
/usr/lib/gcc/i586-suse-linux/4.0.2/include/stddef.h
/usr/lib/gcc/i586-suse-linux/4.0.2/include/syslimits.h
/usr/lib/gcc/i586-suse-linux/4.0.2/include/unwind.h
/usr/lib/gcc/i586-suse-linux/4.0.2/include/varargs.h
/usr/lib/gcc/i586-suse-linux/4.0.2/include/xmmintrin.h
/usr/lib/gcc/i586-suse-linux/4.0.2/libgcc.a
/usr/lib/gcc/i586-suse-linux/4.0.2/libgcc_eh.a
/usr/lib/gcc/i586-suse-linux/4.0.2/libgcov.a
/usr/lib/libgcc_s.so
/usr/share/man/man1/gcc.1.gz
/usr/share/man/man1/gcov.1.gz
adore@linux:~>

e fin qui sembrerebbe tutto ok (non ricordo dove mi sembra di aver letto che il mio sist è 686)

5° da console nella directori di slmodem scompattata:
adore@linux:~/Desktop/slmodem-20060727/slmodem-20060727> make
make -C modem all
make[1]: Entering directory `/home/adore/Desktop/slmodem-20060727/slmodem-20060727/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/i586-suse-linux/4.0.2/include/syslimits.h:7,
from /usr/lib/gcc/i586-suse-linux/4.0.2/include/limits.h:11,
from modem_main.c:58:
/usr/lib/gcc/i586-suse-linux/4.0.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: 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:70:
./modem_homolog.h:53: error: syntax error before ‘u8’
./modem_homolog.h:53: warning: no semicolon at end of struct or union
./modem_homolog.h:54: warning: type defaults to ‘int’ in declaration of ‘PulseDialBreakTime’
./modem_homolog.h:54: warning: data definition has no type or storage class
./modem_homolog.h:55: error: syntax error before ‘PulseDialDigitPattern’
./modem_homolog.h:55: warning: type defaults to ‘int’ in declaration of ‘PulseDialDigitPattern’
./modem_homolog.h:55: warning: data definition has no type or storage class
./modem_homolog.h:56: error: syntax error before ‘DTMFHighToneLevel’
./modem_homolog.h:56: warning: type defaults to ‘int’ in declaration of ‘DTMFHighToneLevel’
./modem_homolog.h:56: warning: data definition has no type or storage class
./modem_homolog.h:57: error: syntax error before ‘DTMFDialSpeed’
./modem_homolog.h:57: warning: type defaults to ‘int’ in declaration of ‘DTMFDialSpeed’
./modem_homolog.h:57: warning: data definition has no type or storage class
./modem_homolog.h:58: error: syntax error before ‘MinBusyCadenceOnTime’
./modem_homolog.h:58: warning: type defaults to ‘int’ in declaration of ‘MinBusyCadenceOnTime’
./modem_homolog.h:58: warning: data definition has no type or storage class
./modem_homolog.h:59: error: syntax error before ‘MaxBusyCadenceOnTime’
./modem_homolog.h:59: warning: type defaults to ‘int’ in declaration of ‘MaxBusyCadenceOnTime’
./modem_homolog.h:59: warning: data definition has no type or storage class
./modem_homolog.h:60: error: syntax error before ‘BusyDetectionCyclesNumber’
./modem_homolog.h:60: warning: type defaults to ‘int’ in declaration of ‘BusyDetectionCyclesNumber’
./modem_homolog.h:60: warning: data definition has no type or storage class
./modem_homolog.h:61: error: syntax error before ‘MinBusyCadenceOffTime’
./modem_homolog.h:61: warning: type defaults to ‘int’ in declaration of ‘MinBusyCadenceOffTime’
./modem_homolog.h:61: warning: data definition has no type or storage class
./modem_homolog.h:62: error: syntax error before ‘MaxBusyCadenceOffTime’
./modem_homolog.h:62: warning: type defaults to ‘int’ in declaration of ‘MaxBusyCadenceOffTime’
./modem_homolog.h:62: warning: data definition has no type or storage class
./modem_homolog.h:63: error: syntax error before ‘CallingToneFlag’
./modem_homolog.h:63: warning: type defaults to ‘int’ in declaration of ‘CallingToneFlag’
./modem_homolog.h:63: warning: data definition has no type or storage class
./modem_homolog.h:64: error: syntax error before ‘HookFlashTime’
./modem_homolog.h:64: warning: type defaults to ‘int’ in declaration of ‘HookFlashTime’
./modem_homolog.h:64: warning: data definition has no type or storage class
./modem_homolog.h:65: error: syntax error before ‘DialPauseTime’
./modem_homolog.h:65: warning: type defaults to ‘int’ in declaration of ‘DialPauseTime’
./modem_homolog.h:65: warning: data definition has no type or storage class
./modem_homolog.h:66: error: syntax error before ‘TransmitLevel’
./modem_homolog.h:66: warning: type defaults to ‘int’ in declaration of ‘TransmitLevel’
./modem_homolog.h:66: warning: data definition has no type or storage class
./modem_homolog.h:67: error: syntax error before ‘DialModifierValidation’
./modem_homolog.h:67: warning: type defaults to ‘int’ in declaration of ‘DialModifierValidation’
./modem_homolog.h:67: warning: data definition has no type or storage class
./modem_homolog.h:68: error: syntax error before ‘DialToneValidationTime’
./modem_homolog.h:68: warning: type defaults to ‘int’ in declaration of ‘DialToneValidationTime’
./modem_homolog.h:68: warning: data definition has no type or storage class
./modem_homolog.h:70: error: syntax error before ‘DTMFHighAndLowToneLevelDifference’
./modem_homolog.h:70: warning: type defaults to ‘int’ in declaration of ‘DTMFHighAndLowToneLevelDifference’
./modem_homolog.h:70: warning: data definition has no type or storage class
./modem_homolog.h:71: error: syntax error before ‘DialToneCallProgressFilterIndex’
./modem_homolog.h:71: warning: type defaults to ‘int’ in declaration of ‘DialToneCallProgressFilterIndex’
./modem_homolog.h:71: warning: data definition has no type or storage class
./modem_homolog.h:72: error: syntax error before ‘DialToneDetectionThreshold’
./modem_homolog.h:72: warning: type defaults to ‘int’ in declaration of ‘DialToneDetectionThreshold’
./modem_homolog.h:72: warning: data definition has no type or storage class
./modem_homolog.h:73: error: syntax error before ‘ABCDDialingPermittedFlag’
./modem_homolog.h:73: warning: type defaults to ‘int’ in declaration of ‘ABCDDialingPermittedFlag’
./modem_homolog.h:73: warning: data definition has no type or storage class
./modem_homolog.h:74: error: syntax error before ‘ComaPauseDurationLimit’
./modem_homolog.h:74: warning: type defaults to ‘int’ in declaration of ‘ComaPauseDurationLimit’
./modem_homolog.h:74: warning: data definition has no type or storage class
./modem_homolog.h:76: error: syntax error before ‘BusyToneCallProgressFilterIndex’
./modem_homolog.h:76: warning: type defaults to ‘int’ in declaration of ‘BusyToneCallProgressFilterIndex’
./modem_homolog.h:76: warning: data definition has no type or storage class
./modem_homolog.h:77: error: syntax error before ‘PulseBetweenDigitsInterval’
./modem_homolog.h:77: warning: type defaults to ‘int’ in declaration of ‘PulseBetweenDigitsInterval’
./modem_homolog.h:77: warning: data definition has no type or storage class
./modem_homolog.h:78: error: syntax error before ‘DialToneWaitTime’
./modem_homolog.h:78: warning: type defaults to ‘int’ in declaration of ‘DialToneWaitTime’
./modem_homolog.h:78: warning: data definition has no type or storage class
./modem_homolog.h:79: error: syntax error before ‘MinRingbackCadenceOnTime’
./modem_homolog.h:79: warning: type defaults to ‘int’ in declaration of ‘MinRingbackCadenceOnTime’
./modem_homolog.h:79: warning: data definition has no type or storage class
./modem_homolog.h:80: error: syntax error before ‘MaxRingbackCadenceOnTime’
./modem_homolog.h:80: warning: type defaults to ‘int’ in declaration of ‘MaxRingbackCadenceOnTime’
./modem_homolog.h:80: warning: data definition has no type or storage class
./modem_homolog.h:81: error: syntax error before ‘RingbackDetectionCyclesNumber’
./modem_homolog.h:81: warning: type defaults to ‘int’ in declaration of ‘RingbackDetectionCyclesNumber’
./modem_homolog.h:81: warning: data definition has no type or storage class
./modem_homolog.h:91: error: syntax error before ‘CallProgressSamplesBufferLength’
./modem_homolog.h:91: warning: type defaults to ‘int’ in declaration of ‘CallProgressSamplesBufferLength’
./modem_homolog.h:91: warning: data definition has no type or storage class
./modem_homolog.h:92: error: syntax error before ‘MustNoiseFilterBeApplied’
./modem_homolog.h:92: warning: type defaults to ‘int’ in declaration of ‘MustNoiseFilterBeApplied’
./modem_homolog.h:92: warning: data definition has no type or storage class
./modem_homolog.h:103: warning: type defaults to ‘int’ in declaration of ‘u16’
./modem_homolog.h:103: warning: no semicolon at end of struct or union
./modem_homolog.h:103: error: syntax error before ‘id’
./modem_homolog.h:106: error: syntax error before ‘}’ token
./modem_homolog.h:109: error: array type has incomplete element type
In file included from ./modem.h:51,
from modem_main.c:70:
./modem_dp.h:82: error: syntax error before ‘u8’
./modem_dp.h:83: error: syntax error before ‘u8’
In file included from modem_main.c:70:
./modem.h:138: error: syntax error before ‘u16’
./modem.h:138: warning: no semicolon at end of struct or union
./modem.h:139: warning: type defaults to ‘int’ in declaration of ‘next_free’
./modem.h:139: warning: data definition has no type or storage class
./modem.h:140: error: syntax error before ‘last_matched’
./modem.h:140: warning: type defaults to ‘int’ in declaration of ‘last_matched’
./modem.h:140: warning: data definition has no type or storage class
./modem.h:141: error: syntax error before ‘last_added’
./modem.h:141: warning: type defaults to ‘int’ in declaration of ‘last_added’
./modem.h:141: warning: data definition has no type or storage class
./modem.h:142: error: syntax error before ‘cw_size’
./modem.h:142: warning: type defaults to ‘int’ in declaration of ‘cw_size’
./modem.h:142: warning: data definition has no type or storage class
./modem.h:143: error: syntax error before ‘threshold’
./modem.h:143: warning: type defaults to ‘int’ in declaration of ‘threshold’
./modem.h:143: warning: data definition has no type or storage class
./modem.h:144: error: syntax error before ‘escape_char’
./modem.h:144: warning: type defaults to ‘int’ in declaration of ‘escape_char’
./modem.h:144: warning: data definition has no type or storage class
./modem.h:148: error: syntax error before ‘u8’
./modem.h:148: warning: no semicolon at end of struct or union
./modem.h:149: warning: type defaults to ‘int’ in declaration of ‘parent’
./modem.h:149: warning: data definition has no type or storage class
./modem.h:150: error: syntax error before ‘child’
./modem.h:150: warning: type defaults to ‘int’ in declaration of ‘child’
./modem.h:150: warning: data definition has no type or storage class
./modem.h:151: error: syntax error before ‘next’
./modem.h:151: warning: type defaults to ‘int’ in declaration of ‘next’
./modem.h:151: warning: data definition has no type or storage class
./modem.h:152: warning: type defaults to ‘int’ in declaration of ‘dict’
./modem.h:152: warning: data definition has no type or storage class
./modem.h:155: error: syntax error before ‘bit_data’
./modem.h:155: warning: type defaults to ‘int’ in declaration of ‘bit_data’
./modem.h:155: warning: data definition has no type or storage class
./modem.h:158: error: syntax error before ‘str_data’
./modem.h:158: warning: type defaults to ‘int’ in declaration of ‘str_data’
./modem.h:158: warning: data definition has no type or storage class
./modem.h:160: error: syntax error before ‘cmp_last’
./modem.h:160: warning: type defaults to ‘int’ in declaration of ‘cmp_last’
./modem.h:160: warning: data definition has no type or storage class
./modem.h:161: error: syntax error before ‘cmp_bits’
./modem.h:161: warning: type defaults to ‘int’ in declaration of ‘cmp_bits’
./modem.h:161: warning: data definition has no type or storage class
./modem.h:162: error: syntax error before ‘raw_bits’
./modem.h:162: warning: type defaults to ‘int’ in declaration of ‘raw_bits’
./modem.h:162: warning: data definition has no type or storage class
./modem.h:167: error: syntax error before ‘}’ token
./modem.h:174: error: syntax error before ‘u8’
./modem.h:175: error: syntax error before ‘u8’
./modem.h:191: error: syntax error before ‘u16’
./modem.h:191: warning: no semicolon at end of struct or union
./modem.h:192: warning: type defaults to ‘int’ in declaration of ‘buf’
./modem.h:192: warning: data definition has no type or storage class
./modem.h:193: error: syntax error before ‘}’ token
./modem.h:193: warning: type defaults to ‘int’ in declaration of ‘frame_t’
./modem.h:193: warning: data definition has no type or storage class
./modem.h:219: error: syntax error before ‘u8’
./modem.h:219: warning: no semicolon at end of struct or union
./modem.h:220: warning: type defaults to ‘int’ in declaration of ‘rsp_addr’
./modem.h:220: warning: data definition has no type or storage class
./modem.h:221: error: syntax error before ‘vs’
./modem.h:221: warning: type defaults to ‘int’ in declaration of ‘vs’
./modem.h:221: warning: data definition has no type or storage class
./modem.h:222: error: syntax error before ‘va’
./modem.h:222: warning: type defaults to ‘int’ in declaration of ‘va’
./modem.h:222: warning: data definition has no type or storage class
./modem.h:223: error: syntax error before ‘vr’
./modem.h:223: warning: type defaults to ‘int’ in declaration of ‘vr’
./modem.h:223: warning: data definition has no type or storage class
./modem.h:229: error: syntax error before ‘*’ token
./modem.h:229: warning: type defaults to ‘int’ in declaration of ‘sent_info’
./modem.h:229: warning: data definition has no type or storage class
./modem.h:230: error: syntax error before ‘*’ token
./modem.h:230: warning: type defaults to ‘int’ in declaration of ‘tx_info’
./modem.h:230: warning: data definition has no type or storage class
./modem.h:231: error: syntax error before ‘*’ token
./modem.h:231: warning: type defaults to ‘int’ in declaration of ‘info_list’
./modem.h:231: warning: data definition has no type or storage class
./modem.h:232: error: syntax error before ‘*’ token
./modem.h:232: warning: type defaults to ‘int’ in declaration of ‘tx_ctrl’
./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 ‘ctrl_list’
./modem.h:233: warning: data definition has no type or storage class
./modem.h:238: error: syntax error before ‘rx_buf’
./modem.h:238: warning: type defaults to ‘int’ in declaration of ‘rx_buf’
./modem.h:238: warning: data definition has no type or storage class
./modem.h:241: error: syntax error before ‘frame_t’
./modem.h:241: warning: no semicolon at end of struct or union
./modem.h:242: warning: type defaults to ‘int’ in declaration of ‘ctrl’
./modem.h:242: warning: data definition has no type or storage class
./modem.h:243: error: syntax error before ‘info’
./modem.h:243: warning: type defaults to ‘int’ in declaration of ‘info’
./modem.h:243: warning: data definition has no type or storage class
./modem.h:244: error: syntax error before ‘}’ token
./modem.h:244: warning: type defaults to ‘int’ in declaration of ‘info_buf’
./modem.h:244: warning: data definition has no type or storage class
./modem.h:246: error: syntax error before ‘frame_t’
./modem.h:246: warning: no semicolon at end of struct or union
./modem.h:247: warning: type defaults to ‘int’ in declaration of ‘ctrl’
./modem.h:247: warning: data definition has no type or storage class
./modem.h:248: error: syntax error before ‘info’
./modem.h:248: warning: type defaults to ‘int’ in declaration of ‘info’
./modem.h:248: warning: data definition has no type or storage class
./modem.h:249: error: syntax error before ‘}’ token
./modem.h:249: warning: type defaults to ‘int’ in declaration of ‘ctrl_buf’
./modem.h:249: warning: data definition has no type or storage class
./modem.h:255: error: syntax error before ‘}’ token
./modem.h:263: error: field ‘termios’ has incomplete type
./modem.h:319: error: syntax error before ‘u8’
./modem.h:319: warning: no semicolon at end of struct or union
./modem.h:319: warning: no semicolon at end of struct or union
./modem.h:320: warning: type defaults to ‘int’ in declaration of ‘ec_detector’
./modem.h:320: warning: data definition has no type or storage class
./modem.h:321: error: syntax error before ‘ec_tx_win_size’
./modem.h:321: warning: type defaults to ‘int’ in declaration of ‘ec_tx_win_size’
./modem.h:321: warning: data definition has no type or storage class
./modem.h:322: error: syntax error before ‘ec_rx_win_size’
./modem.h:322: warning: type defaults to ‘int’ in declaration of ‘ec_rx_win_size’
./modem.h:322: warning: data definition has no type or storage class
./modem.h:323: error: syntax error before ‘ec_tx_info_size’
./modem.h:323: warning: type defaults to ‘int’ in declaration of ‘ec_tx_info_size’
./modem.h:323: warning: data definition has no type or storage class
./modem.h:324: error: syntax error before ‘ec_rx_info_size’
./modem.h:324: warning: type defaults to ‘int’ in declaration of ‘ec_rx_info_size’
./modem.h:324: warning: data definition has no type or storage class
./modem.h:326: error: syntax error before ‘comp’
./modem.h:326: warning: type defaults to ‘int’ in declaration of ‘comp’
./modem.h:326: warning: data definition has no type or storage class
./modem.h:329: error: syntax error before ‘}’ token
./modem.h:329: warning: type defaults to ‘int’ in declaration of ‘cfg’
./modem.h:329: warning: data definition has no type or storage class
./modem.h:340: error: syntax error before ‘u32’
./modem.h:340: warning: no semicolon at end of struct or union
./modem.h:341: warning: type defaults to ‘int’ in declaration of ‘pack’
./modem.h:341: warning: type defaults to ‘int’ in declaration of ‘unpack’
./modem.h:341: warning: data definition has no type or storage class
./modem.h:342: error: syntax error before ‘u8’
./modem.h:343: error: syntax error before ‘u8’
./modem.h:354: error: syntax error before ‘u8’
./modem.h:354: warning: no semicolon at end of struct or union
./modem.h:354: warning: no semicolon at end of struct or union
./modem.h:356: error: syntax error before ‘rx_pattern’
./modem.h:356: warning: type defaults to ‘int’ in declaration of ‘rx_pattern’
./modem.h:356: warning: data definition has no type or storage class
./modem.h:358: error: syntax error before ‘}’ token
./modem.h:358: warning: type defaults to ‘int’ in declaration of ‘detector’
./modem.h:358: warning: data definition has no type or storage class
./modem.h:366: error: syntax error before ‘frame_t’
./modem.h:367: error: syntax error before ‘frame_t’
./modem.h:370: error: field ‘_rx_frame’ has incomplete type
./modem.h:371: error: syntax error before ‘u8’
./modem.h:371: warning: no semicolon at end of struct or union
./modem.h:372: warning: type defaults to ‘int’ in declaration of ‘hdlc’
./modem.h:372: warning: data definition has no type or storage class
./modem.h:373: error: syntax error before ‘}’ token
./modem.h:373: warning: type defaults to ‘int’ in declaration of ‘packer’
./modem.h:373: warning: data definition has no type or storage class
./modem.h:376: error: field ‘lapm’ has incomplete type
./modem.h:383: error: field ‘encoder’ has incomplete type
./modem.h:384: error: field ‘decoder’ has incomplete type
./modem.h:385: error: conflicting types for ‘comp’
./modem.h:326: error: previous declaration of ‘comp’ was here
./modem.h:414: error: syntax error before ‘}’ token
./modem.h:436: error: syntax error before ‘u8’
./modem.h:437: error: syntax error before ‘u8’
./modem.h:439: error: syntax error before ‘u8’
./modem.h:440: error: syntax error before ‘u8’
./modem.h:442: error: syntax error before ‘u8’
./modem.h:443: error: syntax error before ‘u8’
modem_main.c:98: error: syntax error before ‘modem_perm’
modem_main.c:98: warning: type defaults to ‘int’ in declaration of ‘modem_perm’
modem_main.c:98: warning: data definition has no type or storage class
modem_main.c: In function ‘modemap_start’:
modem_main.c:551: error: dereferencing pointer to incomplete type
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 ‘modemap_stop’:
modem_main.c:571: error: dereferencing pointer to incomplete type
modem_main.c: In function ‘modemap_ioctl’:
modem_main.c:578: error: dereferencing pointer to incomplete type
modem_main.c:582: error: dereferencing pointer to incomplete type
modem_main.c:585: error: dereferencing pointer to incomplete type
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:659: error: dereferencing pointer to incomplete type
modem_main.c:660: error: dereferencing pointer to incomplete type
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:668: error: dereferencing pointer to incomplete type
modem_main.c:669: error: dereferencing pointer to incomplete type
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:689: error: dereferencing pointer to incomplete type
modem_main.c:690: error: dereferencing pointer to incomplete type
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: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: syntax error before ‘keep_running’
modem_main.c:743: warning: type defaults to ‘int’ in declaration of ‘keep_running’
modem_main.c:743: warning: data definition has no type or storage class
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: syntax error before ‘rset’
modem_main.c:756: error: storage size of ‘termios’ isn’t known
modem_main.c:764: error: dereferencing pointer to incomplete type
modem_main.c:768: error: dereferencing pointer to incomplete type
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:776: error: dereferencing pointer to incomplete type
modem_main.c:777: warning: implicit declaration of function ‘FD_SET’
modem_main.c:783: error: dereferencing pointer to incomplete type
modem_main.c:787: error: dereferencing pointer to incomplete type
modem_main.c:787: error: dereferencing pointer to incomplete type
modem_main.c:788: error: dereferencing pointer to incomplete type
modem_main.c:789: error: dereferencing pointer to incomplete type
modem_main.c:789: error: dereferencing pointer to incomplete type
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:833: error: dereferencing pointer to incomplete type
modem_main.c:834: error: dereferencing pointer to incomplete type
modem_main.c:837: error: dereferencing pointer to incomplete type
modem_main.c:840: error: dereferencing pointer to incomplete type
modem_main.c:841: error: dereferencing pointer to incomplete type
modem_main.c:842: error: dereferencing pointer to incomplete type
modem_main.c:843: error: dereferencing pointer to incomplete type
modem_main.c:844: error: dereferencing pointer to incomplete type
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:857: error: dereferencing pointer to incomplete type
modem_main.c:858: error: dereferencing pointer to incomplete type
modem_main.c:859: warning: incompatible implicit declaration of built-in function ‘memset’
modem_main.c:859: error: dereferencing pointer to incomplete type
modem_main.c:860: error: dereferencing pointer to incomplete type
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:865: error: dereferencing pointer to incomplete type
modem_main.c:866: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:866: error: dereferencing pointer to incomplete type
modem_main.c:870: error: dereferencing pointer to incomplete type
modem_main.c:871: error: dereferencing pointer to incomplete type
modem_main.c:874: error: dereferencing pointer to incomplete type
modem_main.c:876: error: dereferencing pointer to incomplete type
modem_main.c:877: warning: implicit declaration of function ‘memcmp’
modem_main.c:877: error: dereferencing pointer to incomplete type
modem_main.c:882: error: dereferencing pointer to incomplete type
modem_main.c:882: error: dereferencing pointer to incomplete type
modem_main.c:887: error: dereferencing pointer to incomplete type
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: error: dereferencing pointer to incomplete type
modem_main.c:957: error: dereferencing pointer to incomplete type
modem_main.c:958: error: dereferencing pointer to incomplete type
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:966: error: dereferencing pointer to incomplete type
modem_main.c:966: error: dereferencing pointer to incomplete type
modem_main.c:969: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
modem_main.c:970: error: dereferencing pointer to incomplete type
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 (first use in this function)
modem_main.c:974: error: ‘MCL_FUTURE’ undeclared (first use in this function)
modem_main.c:975: error: ‘errno’ undeclared (first use in this function)
modem_main.c:975: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
modem_main.c:977: warning: implicit declaration of function ‘sched_get_priority_max’
modem_main.c:977: error: ‘SCHED_FIFO’ undeclared (first use in this function)
modem_main.c:978: warning: implicit declaration of function ‘sched_setscheduler’
modem_main.c:979: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
modem_main.c:973: warning: unused variable ‘prm’
modem_main.c:984: warning: implicit declaration of function ‘signal’
modem_main.c:984: error: ‘SIGINT’ undeclared (first use in this function)
modem_main.c:985: error: ‘SIGTERM’ undeclared (first use in this function)
modem_main.c:987: error: dereferencing pointer to incomplete type
modem_main.c:993: error: dereferencing pointer to incomplete type
modem_main.c:995: error: dereferencing pointer to incomplete type
modem_main.c:998: warning: implicit declaration of function ‘usleep’
modem_main.c:1011: warning: incompatible implicit declaration of built-in function ‘exit’
modem_main.c:934: warning: unused variable ‘path_name’
make[1]: *** [modem_main.o] Error 1
make[1]: Leaving directory `/home/paolo/Desktop/slmodem-20060727/slmodem-20060727/modem'
make: *** [modem] Error 2
paolo@linux:~/Desktop/slmodem-20060727/slmodem-20060727>

qualcosa è cambiato ma ancora non funge
(se provo da user e non da root quando interrogo il modem dice “impossibile creare il file di lock per il modem”, in root “modem busy”)

8-) :-o

Ritratto di orion
orion
(Guru)
Offline
Guru
Iscritto: 11/07/2006
Messaggi: 2919

Installa anche il kernel source. E` questo che ti manca, al momento.

openSUSE 12.1 on Acer Aspire 1810tz - LXDE ultima versione dal repo x11:/lxde

Ritratto di adore
adore
(Junior)
Offline
Junior
Iscritto: 31/08/2006
Messaggi: 16

grazie anche a te orion...
ho installato il kernel source da yast, risultato:

adore@linux:~/Desktop/slmodem-20060727/slmodem-20060727> make
make -C modem all
make[1]: Entering directory `/home/adore/Desktop/slmodem-20060727/slmodem-200607
27/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/i586-suse-linux/4.0.2/include/syslimits.h:7,
from /usr/lib/gcc/i586-suse-linux/4.0.2/include/limits.h:11,
from modem_main.c:58:
/usr/lib/gcc/i586-suse-linux/4.0.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: 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:70:
./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 ‘PulseDi
alBreakTime’
./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 ‘PulseDi
alDigitPattern’
./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 ‘DTMFHig
hToneLevel’
./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 ‘DTMFDia
lSpeed’
./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 ‘MinBusy
CadenceOnTime’
./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 ‘MaxBusy
CadenceOnTime’
./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 ‘BusyDet
ectionCyclesNumber’
./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 ‘MinBusy
CadenceOffTime’
./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 ‘MaxBusy
CadenceOffTime’
./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 ‘Calling
ToneFlag’
./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 ‘HookFla
shTime’
./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 ‘DialPau
seTime’
./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 ‘Transmi
tLevel’
./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 ‘DialMod
ifierValidation’
./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 ‘DialTon
eValidationTime’
./modem_homolog.h:68: warning: data definition has no type or storage class
./modem_homolog.h:70: error: syntax error before ‘DTMFHighAndLowToneLevelDiffere
nce’
./modem_homolog.h:70: warning: type defaults to ‘int’ in declaration of ‘DTMFHig
hAndLowToneLevelDifference’
./modem_homolog.h:70: warning: data definition has no type or storage class
./modem_homolog.h:71: error: syntax error before ‘DialToneCallProgressFilterInde
x’
./modem_homolog.h:71: warning: type defaults to ‘int’ in declaration of ‘DialTon
eCallProgressFilterIndex’
./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 ‘DialTon
eDetectionThreshold’
./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 ‘ABCDDia
lingPermittedFlag’
./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 ‘ComaPau
seDurationLimit’
./modem_homolog.h:74: warning: data definition has no type or storage class
./modem_homolog.h:76: error: syntax error before ‘BusyToneCallProgressFilterInde
x’
./modem_homolog.h:76: warning: type defaults to ‘int’ in declaration of ‘BusyTon
eCallProgressFilterIndex’
./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 ‘PulseBe
tweenDigitsInterval’
./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 ‘DialTon
eWaitTime’
./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 ‘MinRing
backCadenceOnTime’
./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 ‘MaxRing
backCadenceOnTime’
./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 ‘Ringbac
kDetectionCyclesNumber’
./modem_homolog.h:81: warning: data definition has no type or storage class
./modem_homolog.h:91: error: syntax error before ‘CallProgressSamplesBufferLengt
h’
./modem_homolog.h:91: warning: type defaults to ‘int’ in declaration of ‘CallPro
gressSamplesBufferLength’
./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 ‘MustNoi
seFilterBeApplied’
./modem_homolog.h:92: warning: data definition has no type or storage class
./modem_homolog.h:103: warning: type defaults to ‘int’ in declaration of ‘u16’
./modem_homolog.h:103: warning: no semicolon at end of struct or union
./modem_homolog.h:103: error: syntax error before ‘id’
./modem_homolog.h:106: error: syntax error before ‘}’ token
./modem_homolog.h:109: error: array type has incomplete element type
In file included from ./modem.h:51,
from modem_main.c:70:
./modem_dp.h:82: error: syntax error before ‘u8’
./modem_dp.h:83: error: syntax error before ‘u8’
In file included from modem_main.c:70:
./modem.h:138: error: syntax error before ‘u16’
./modem.h:138: warning: no semicolon at end of struct or union
./modem.h:139: warning: type defaults to ‘int’ in declaration of ‘next_free’
./modem.h:139: warning: data definition has no type or storage class
./modem.h:140: error: syntax error before ‘last_matched’
./modem.h:140: warning: type defaults to ‘int’ in declaration of ‘last_matched’
./modem.h:140: warning: data definition has no type or storage class
./modem.h:141: error: syntax error before ‘last_added’
./modem.h:141: warning: type defaults to ‘int’ in declaration of ‘last_added’
./modem.h:141: warning: data definition has no type or storage class
./modem.h:142: error: syntax error before ‘cw_size’
./modem.h:142: warning: type defaults to ‘int’ in declaration of ‘cw_size’
./modem.h:142: warning: data definition has no type or storage class
./modem.h:143: error: syntax error before ‘threshold’
./modem.h:143: warning: type defaults to ‘int’ in declaration of ‘threshold’
./modem.h:143: warning: data definition has no type or storage class
./modem.h:144: error: syntax error before ‘escape_char’
./modem.h:144: warning: type defaults to ‘int’ in declaration of ‘escape_char’
./modem.h:144: warning: data definition has no type or storage class
./modem.h:148: error: syntax error before ‘u8’
./modem.h:148: warning: no semicolon at end of struct or union
./modem.h:149: warning: type defaults to ‘int’ in declaration of ‘parent’
./modem.h:149: warning: data definition has no type or storage class
./modem.h:150: error: syntax error before ‘child’
./modem.h:150: warning: type defaults to ‘int’ in declaration of ‘child’
./modem.h:150: warning: data definition has no type or storage class
./modem.h:151: error: syntax error before ‘next’
./modem.h:151: warning: type defaults to ‘int’ in declaration of ‘next’
./modem.h:151: warning: data definition has no type or storage class
./modem.h:152: warning: type defaults to ‘int’ in declaration of ‘dict’
./modem.h:152: warning: data definition has no type or storage class
./modem.h:155: error: syntax error before ‘bit_data’
./modem.h:155: warning: type defaults to ‘int’ in declaration of ‘bit_data’
./modem.h:155: warning: data definition has no type or storage class
./modem.h:158: error: syntax error before ‘str_data’
./modem.h:158: warning: type defaults to ‘int’ in declaration of ‘str_data’
./modem.h:158: warning: data definition has no type or storage class
./modem.h:160: error: syntax error before ‘cmp_last’
./modem.h:160: warning: type defaults to ‘int’ in declaration of ‘cmp_last’
./modem.h:160: warning: data definition has no type or storage class
./modem.h:161: error: syntax error before ‘cmp_bits’
./modem.h:161: warning: type defaults to ‘int’ in declaration of ‘cmp_bits’
./modem.h:161: warning: data definition has no type or storage class
./modem.h:162: error: syntax error before ‘raw_bits’
./modem.h:162: warning: type defaults to ‘int’ in declaration of ‘raw_bits’
./modem.h:162: warning: data definition has no type or storage class
./modem.h:167: error: syntax error before ‘}’ token
./modem.h:174: error: syntax error before ‘u8’
./modem.h:175: error: syntax error before ‘u8’
./modem.h:191: error: syntax error before ‘u16’
./modem.h:191: warning: no semicolon at end of struct or union
./modem.h:192: warning: type defaults to ‘int’ in declaration of ‘buf’
./modem.h:192: warning: data definition has no type or storage class
./modem.h:193: error: syntax error before ‘}’ token
./modem.h:193: warning: type defaults to ‘int’ in declaration of ‘frame_t’
./modem.h:193: warning: data definition has no type or storage class
./modem.h:219: error: syntax error before ‘u8’
./modem.h:219: warning: no semicolon at end of struct or union
./modem.h:220: warning: type defaults to ‘int’ in declaration of ‘rsp_addr’
./modem.h:220: warning: data definition has no type or storage class
./modem.h:221: error: syntax error before ‘vs’
./modem.h:221: warning: type defaults to ‘int’ in declaration of ‘vs’
./modem.h:221: warning: data definition has no type or storage class
./modem.h:222: error: syntax error before ‘va’
./modem.h:222: warning: type defaults to ‘int’ in declaration of ‘va’
./modem.h:222: warning: data definition has no type or storage class
./modem.h:223: error: syntax error before ‘vr’
./modem.h:223: warning: type defaults to ‘int’ in declaration of ‘vr’
./modem.h:223: warning: data definition has no type or storage class
./modem.h:229: error: syntax error before ‘*’ token
./modem.h:229: warning: type defaults to ‘int’ in declaration of ‘sent_info’
./modem.h:229: warning: data definition has no type or storage class
./modem.h:230: error: syntax error before ‘*’ token
./modem.h:230: warning: type defaults to ‘int’ in declaration of ‘tx_info’
./modem.h:230: warning: data definition has no type or storage class
./modem.h:231: error: syntax error before ‘*’ token
./modem.h:231: warning: type defaults to ‘int’ in declaration of ‘info_list’
./modem.h:231: warning: data definition has no type or storage class
./modem.h:232: error: syntax error before ‘*’ token
./modem.h:232: warning: type defaults to ‘int’ in declaration of ‘tx_ctrl’
./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 ‘ctrl_list’
./modem.h:233: warning: data definition has no type or storage class
./modem.h:238: error: syntax error before ‘rx_buf’
./modem.h:238: warning: type defaults to ‘int’ in declaration of ‘rx_buf’
./modem.h:238: warning: data definition has no type or storage class
./modem.h:241: error: syntax error before ‘frame_t’
./modem.h:241: warning: no semicolon at end of struct or union
./modem.h:242: warning: type defaults to ‘int’ in declaration of ‘ctrl’
./modem.h:242: warning: data definition has no type or storage class
./modem.h:243: error: syntax error before ‘info’
./modem.h:243: warning: type defaults to ‘int’ in declaration of ‘info’
./modem.h:243: warning: data definition has no type or storage class
./modem.h:244: error: syntax error before ‘}’ token
./modem.h:244: warning: type defaults to ‘int’ in declaration of ‘info_buf’
./modem.h:244: warning: data definition has no type or storage class
./modem.h:246: error: syntax error before ‘frame_t’
./modem.h:246: warning: no semicolon at end of struct or union
./modem.h:247: warning: type defaults to ‘int’ in declaration of ‘ctrl’
./modem.h:247: warning: data definition has no type or storage class
./modem.h:248: error: syntax error before ‘info’
./modem.h:248: warning: type defaults to ‘int’ in declaration of ‘info’
./modem.h:248: warning: data definition has no type or storage class
./modem.h:249: error: syntax error before ‘}’ token
./modem.h:249: warning: type defaults to ‘int’ in declaration of ‘ctrl_buf’
./modem.h:249: warning: data definition has no type or storage class
./modem.h:255: error: syntax error before ‘}’ token
./modem.h:263: error: field ‘termios’ has incomplete type
./modem.h:319: error: syntax error before ‘u8’
./modem.h:319: warning: no semicolon at end of struct or union
./modem.h:319: warning: no semicolon at end of struct or union
./modem.h:320: warning: type defaults to ‘int’ in declaration of ‘ec_detector’
./modem.h:320: warning: data definition has no type or storage class
./modem.h:321: error: syntax error before ‘ec_tx_win_size’
./modem.h:321: warning: type defaults to ‘int’ in declaration of ‘ec_tx_win_size

./modem.h:321: warning: data definition has no type or storage class
./modem.h:322: error: syntax error before ‘ec_rx_win_size’
./modem.h:322: warning: type defaults to ‘int’ in declaration of ‘ec_rx_win_size

./modem.h:322: warning: data definition has no type or storage class
./modem.h:323: error: syntax error before ‘ec_tx_info_size’
./modem.h:323: warning: type defaults to ‘int’ in declaration of ‘ec_tx_info_siz
e’
./modem.h:323: warning: data definition has no type or storage class
./modem.h:324: error: syntax error before ‘ec_rx_info_size’
./modem.h:324: warning: type defaults to ‘int’ in declaration of ‘ec_rx_info_siz
e’
./modem.h:324: warning: data definition has no type or storage class
./modem.h:326: error: syntax error before ‘comp’
./modem.h:326: warning: type defaults to ‘int’ in declaration of ‘comp’
./modem.h:326: warning: data definition has no type or storage class
./modem.h:329: error: syntax error before ‘}’ token
./modem.h:329: warning: type defaults to ‘int’ in declaration of ‘cfg’
./modem.h:329: warning: data definition has no type or storage class
./modem.h:340: error: syntax error before ‘u32’
./modem.h:340: warning: no semicolon at end of struct or union
./modem.h:341: warning: type defaults to ‘int’ in declaration of ‘pack’
./modem.h:341: warning: type defaults to ‘int’ in declaration of ‘unpack’
./modem.h:341: warning: data definition has no type or storage class
./modem.h:342: error: syntax error before ‘u8’
./modem.h:343: error: syntax error before ‘u8’
./modem.h:354: error: syntax error before ‘u8’
./modem.h:354: warning: no semicolon at end of struct or union
./modem.h:354: warning: no semicolon at end of struct or union
./modem.h:356: error: syntax error before ‘rx_pattern’
./modem.h:356: warning: type defaults to ‘int’ in declaration of ‘rx_pattern’
./modem.h:356: warning: data definition has no type or storage class
./modem.h:358: error: syntax error before ‘}’ token
./modem.h:358: warning: type defaults to ‘int’ in declaration of ‘detector’
./modem.h:358: warning: data definition has no type or storage class
./modem.h:366: error: syntax error before ‘frame_t’
./modem.h:367: error: syntax error before ‘frame_t’
./modem.h:370: error: field ‘_rx_frame’ has incomplete type
./modem.h:371: error: syntax error before ‘u8’
./modem.h:371: warning: no semicolon at end of struct or union
./modem.h:372: warning: type defaults to ‘int’ in declaration of ‘hdlc’
./modem.h:372: warning: data definition has no type or storage class
./modem.h:373: error: syntax error before ‘}’ token
./modem.h:373: warning: type defaults to ‘int’ in declaration of ‘packer’
./modem.h:373: warning: data definition has no type or storage class
./modem.h:376: error: field ‘lapm’ has incomplete type
./modem.h:383: error: field ‘encoder’ has incomplete type
./modem.h:384: error: field ‘decoder’ has incomplete type
./modem.h:385: error: conflicting types for ‘comp’
./modem.h:326: error: previous declaration of ‘comp’ was here
./modem.h:414: error: syntax error before ‘}’ token
./modem.h:436: error: syntax error before ‘u8’
./modem.h:437: error: syntax error before ‘u8’
./modem.h:439: error: syntax error before ‘u8’
./modem.h:440: error: syntax error before ‘u8’
./modem.h:442: error: syntax error before ‘u8’
./modem.h:443: error: syntax error before ‘u8’
modem_main.c:98: error: syntax error before ‘modem_perm’
modem_main.c:98: warning: type defaults to ‘int’ in declaration of ‘modem_perm’
modem_main.c:98: warning: data definition has no type or storage class
modem_main.c: In function ‘modemap_start’:
modem_main.c:551: error: dereferencing pointer to incomplete type
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 functio
n ‘memset’
modem_main.c:560: warning: implicit declaration of function ‘write’
modem_main.c: In function ‘modemap_stop’:
modem_main.c:571: error: dereferencing pointer to incomplete type
modem_main.c: In function ‘modemap_ioctl’:
modem_main.c:578: error: dereferencing pointer to incomplete type
modem_main.c:582: error: dereferencing pointer to incomplete type
modem_main.c:585: error: dereferencing pointer to incomplete type
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 functio
n ‘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 functio
n ‘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 functio
n ‘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 functio
n ‘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:659: error: dereferencing pointer to incomplete type
modem_main.c:660: error: dereferencing pointer to incomplete type
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 functio
n ‘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:668: error: dereferencing pointer to incomplete type
modem_main.c:669: error: dereferencing pointer to incomplete type
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 functio
n ‘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:689: error: dereferencing pointer to incomplete type
modem_main.c:690: error: dereferencing pointer to incomplete type
modem_main.c:695: warning: implicit declaration of function ‘getgrnam’
modem_main.c:695: warning: initialization makes pointer from integer without a c
ast
modem_main.c:697: warning: incompatible implicit declaration of built-in functio
n ‘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 functio
n ‘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:711: warning: incompatible implicit declaration of built-in functio
n ‘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 functio
n ‘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 functio
n ‘fprintf’
modem_main.c:655: warning: unused variable ‘termios’
modem_main.c: At top level:
modem_main.c:743: error: syntax error before ‘keep_running’
modem_main.c:743: warning: type defaults to ‘int’ in declaration of ‘keep_runnin
g’
modem_main.c:743: warning: data definition has no type or storage class
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: syntax error before ‘rset’
modem_main.c:756: error: storage size of ‘termios’ isn’t known
modem_main.c:764: error: dereferencing pointer to incomplete type
modem_main.c:768: error: dereferencing pointer to incomplete type
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:776: error: dereferencing pointer to incomplete type
modem_main.c:777: warning: implicit declaration of function ‘FD_SET’
modem_main.c:783: error: dereferencing pointer to incomplete type
modem_main.c:787: error: dereferencing pointer to incomplete type
modem_main.c:787: error: dereferencing pointer to incomplete type
modem_main.c:788: error: dereferencing pointer to incomplete type
modem_main.c:789: error: dereferencing pointer to incomplete type
modem_main.c:789: error: dereferencing pointer to incomplete type
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 functio
n ‘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 functio
n ‘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 functio
n ‘fprintf’
modem_main.c:825: warning: format ‘%s’ expects type ‘char *’, but argument 3 has
type ‘int’
modem_main.c:833: error: dereferencing pointer to incomplete type
modem_main.c:834: error: dereferencing pointer to incomplete type
modem_main.c:837: error: dereferencing pointer to incomplete type
modem_main.c:840: error: dereferencing pointer to incomplete type
modem_main.c:841: error: dereferencing pointer to incomplete type
modem_main.c:842: error: dereferencing pointer to incomplete type
modem_main.c:843: error: dereferencing pointer to incomplete type
modem_main.c:844: error: dereferencing pointer to incomplete type
modem_main.c:850: warning: incompatible implicit declaration of built-in functio
n ‘fprintf’
modem_main.c:850: warning: format ‘%s’ expects type ‘char *’, but argument 3 has
type ‘int’
modem_main.c:857: error: dereferencing pointer to incomplete type
modem_main.c:858: error: dereferencing pointer to incomplete type
modem_main.c:859: warning: incompatible implicit declaration of built-in functio
n ‘memset’
modem_main.c:859: error: dereferencing pointer to incomplete type
modem_main.c:860: error: dereferencing pointer to incomplete type
modem_main.c:862: warning: incompatible implicit declaration of built-in functio
n ‘fprintf’
modem_main.c:862: warning: format ‘%s’ expects type ‘char *’, but argument 3 has
type ‘int’
modem_main.c:865: error: dereferencing pointer to incomplete type
modem_main.c:866: warning: incompatible implicit declaration of built-in functio
n ‘fprintf’
modem_main.c:866: error: dereferencing pointer to incomplete type
modem_main.c:870: error: dereferencing pointer to incomplete type
modem_main.c:871: error: dereferencing pointer to incomplete type
modem_main.c:874: error: dereferencing pointer to incomplete type
modem_main.c:876: error: dereferencing pointer to incomplete type
modem_main.c:877: warning: implicit declaration of function ‘memcmp’
modem_main.c:877: error: dereferencing pointer to incomplete type
modem_main.c:882: error: dereferencing pointer to incomplete type
modem_main.c:882: error: dereferencing pointer to incomplete type
modem_main.c:887: error: dereferencing pointer to incomplete type
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 functio
n ‘fprintf’
modem_main.c:913: warning: incompatible implicit declaration of built-in functio
n ‘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 functio
n ‘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 pointe
r from integer without a cast
modem_main.c:944: warning: incompatible implicit declaration of built-in functio
n ‘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 functio
n ‘exit’
modem_main.c:953: warning: implicit declaration of function ‘sprintf’
modem_main.c:953: warning: incompatible implicit declaration of built-in functio
n ‘sprintf’
modem_main.c:955: warning: passing argument 2 of ‘modem_create’ makes pointer fr
om integer without a cast
modem_main.c:956: error: dereferencing pointer to incomplete type
modem_main.c:957: error: dereferencing pointer to incomplete type
modem_main.c:958: error: dereferencing pointer to incomplete type
modem_main.c:962: warning: incompatible implicit declaration of built-in functio
n ‘fprintf’
modem_main.c:963: warning: incompatible implicit declaration of built-in functio
n ‘exit’
modem_main.c:966: warning: incompatible implicit declaration of built-in functio
n ‘fprintf’
modem_main.c:966: error: dereferencing pointer to incomplete type
modem_main.c:966: error: dereferencing pointer to incomplete type
modem_main.c:969: warning: format ‘%s’ expects type ‘char *’, but argument 3 has
type ‘int’
modem_main.c:970: error: dereferencing pointer to incomplete type
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 (first use in this function)
modem_main.c:974: error: ‘MCL_FUTURE’ undeclared (first use in this function)
modem_main.c:975: error: ‘errno’ undeclared (first use in this function)
modem_main.c:975: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
modem_main.c:977: warning: implicit declaration of function ‘sched_get_priority_ max’
modem_main.c:977: error: ‘SCHED_FIFO’ undeclared (first use in this function)
modem_main.c:978: warning: implicit declaration of function ‘sched_setscheduler’
modem_main.c:979: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
modem_main.c:973: warning: unused variable ‘prm’
modem_main.c:984: warning: implicit declaration of function ‘signal’
modem_main.c:984: error: ‘SIGINT’ undeclared (first use in this function)
modem_main.c:985: error: ‘SIGTERM’ undeclared (first use in this function)
modem_main.c:987: error: dereferencing pointer to incomplete type
modem_main.c:993: error: dereferencing pointer to incomplete type
modem_main.c:995: error: dereferencing pointer to incomplete type
modem_main.c:998: warning: implicit declaration of function ‘usleep’
modem_main.c:1011: warning: incompatible implicit declaration of built-in functi on ‘exit’
modem_main.c:934: warning: unused variable ‘path_name’
make[1]: *** [modem_main.o] Error 1
make[1]: Leaving directory `/home/paolo/Desktop/slmodem-20060727/slmodem-2006072 7/modem'
make: *** [modem] Error 2
adore@linux:~/Desktop/slmodem-20060727/slmodem-20060727>