Problem oko dial up modema
Dobrodošli, Gost. Molim vas prijavite se ili se registrujte.

Prijavite se sa korisničkim imenom, lozinkom i dužinom sesije

Linuxo Forumi

Stranice: 1 [2]   Idi dole
  Štampaj  
Autor Tema: Problem oko dial up modema  (Pročitano 3030 puta)
0 članova i 1 posetilac pregledaju ovu temu.
dukenukem_4d
Hero Member
*****
Van mreže Van mreže

Pol: Muškarac
Poruke: 2677



« Odgovor #15 poslato: 08 Децембар 2007, 19:22:49 »

http://phep2.technion.ac.il/linmodems/packages/ltmodem/sv92/

nego ,zagledajte malo bolje imena datoteka u folderu ?

kaze da treba da funkcionise za kernel 2.6.20   =  ubuntu 7.04

http://phep2.technion.ac.il/linmodems/packages/ltmodem/sv92/2.16.20.tar.bz2
ili ovaj ovde
http://phep2.technion.ac.il/linmodems/packages/ltmodem/sv92/agrsm-ubuntu-2.6.20-16-generic.tar.gz
« Poslednja izmena: 08 Децембар 2007, 19:48:54 od dukenukem4d » Prijavi uredniku   Sačuvana

ADSL 512 Slackware Srbija Psy linux notorrni_modem ali se teže instalira od oootranslit ња ња ња
moonbeam_rider
Poser destroyer
Hero Member
*****
Van mreže Van mreže

Pol: Muškarac
Poruke: 1558



WWW
« Odgovor #16 poslato: 08 Децембар 2007, 19:58:10 »

Sa druge strane procitaj sta pise u prilozenom readme-ju na linku koji si sam dao  Wink

Citat
I'm currently working for an OEM, we ship several desktop machines
 with Linux preinstalled, so we asked to our modem provider, an updated
 linux driver, they sent us this one, so far, It works on some systems
 with openSUSE 2.6.18 kernel, I'm not sure why it doesn't work on some
 motherboards, at the moment LSI (agere) people is currently figuring
 it out, unfortunately it doesn't compile on newer kernels, however, I
 modded it a bit to make it compile, I dont have one of this modems at
 home, so I can't test it.

 Azn
Prijavi uredniku   Sačuvana

Power of simplicity - http://www.archlinux.org/
Blog - http://ratos81.blogspot.com/
Besplatni knjizevni magazin Eniaroyah - http://www.eniaroyah.info/
ivan_dj
Newbie
*
Van mreže Van mreže

Poruke: 10


« Odgovor #17 poslato: 08 Децембар 2007, 23:28:21 »

Nisam ni ja neki strucnjak za linux, ali valja malo cesljati po internetu. Nikad se ne zna. Nisam nikada video Ubuntu, niti znam o njemu. Ja koristim Vector, a on ima kernel 2.6.18. Osim toga imam Agere koji je malo stariji, a koji se nekad zvao Lucent, ali ga linux prijavljuje kao Agere. Da ne komplikujem, kada sam ja trazio drajver, negde sam naisao na podatak da noviji Agere uopste ne rade u linuxu. Ipak, napisacu ti kako sam ja instalirao ovaj koji sam ti predlozio, jer znam kako sam se ja mucio dok ga nisam namestio da radi grin
Nadam se da cu da pogodim, posto sam to poodavno instalirao  Smiley, pa neka me neko ispravi ako slucajno negde pogresim, jer, koliko vidim ima ovde ljudi koji dosta znaju o linuxu (i meni su pomogli par puta, poz ovom prilikom Smiley/.

Ovako
Sve radi kao root
-Prvo deinstaliraj i obrisi prethodni drajver za modem ako je mozda instaliran/make uninstall, pa onda make clean/
-napravi direktorijum naziva "modules" u /usr/src, znaci treba da bude ovako /usr/src/modules
-kopiraj tu drajver i raspakuj ga, zatim udji u taj direktorijum u skoljci, terminalu ili kako ga vec zoves,

cd /usr/src/modules/ltmodem-2.6-alk-8-patched2

 znaci u terminalu treba da izgleda ovako:

/usr/src/modules/ltmodem-2.6-alk-8-patched2

-otvori drugi terminal i kucaj:

mknod --mode=0660 /dev/ttyLTM0 c 62 64
chmod 777 /dev/ttyS0
ln -s /dev/ttyLTM0 /dev/modem

zatvori ovaj terminal i predji u prvi

- ovde smo stali
/usr/src/modules/ltmodem-2.6-alk-8-patched2
kucaj:
make clean

make

ls -l *.ko
treba da dobijes ova dva fajla
ltmodem.ko
ltserial.ko

Napravi direktorijum "ltmodem" u /lib/modules/2.6.6(ovde pises tvoj, npr kod mene je 2.6.18.5)/, mozes ovako,

mkdir /lib/modules/2.6.6(ovde pises tvoj, npr kod mene je 2.6.18.5)/ltmodem

a mozes i u grafickom okruzenju, kako ti je lakse

-u "ltmodem" iskopiraj ltmodem.ko i ltserial.ko

cp *.ko  /lib/modules/2.6.6(ovde pises tvoj, npr kod mene je 2.6.18.5)/ltmodem
/ova komanda ti vazi ako se nalazis u /usr/src/modules/ltmodem-2.6-alk-8-patched2/

zatvori terminal

-otvori terminal i kucaj
cd /lib/modules/2.6.6(ovde pises tvoj, npr kod mene je 2.6.18.5)/ltmodem
# depmod -a.
# modprobe ltserial
# lsmod

zatvori i ovaj terminal

- edituj  /etc/modprobe.conf i dodaj sledece linije na kraju
alias /dev/modem ltserial
alias char-major-62 ltserial
alias /dev/tty/LTM0 ltserial

snimi, izadji.

Restartuj racunar i uloguj se kao root. Ako je to to, onda bi trebalo da radi.  E sad ne znam sta ti imas kde, xfce, ili sta vec. Ja imam xfce i chastnut dialer. Ako imas kde u kppp mozes da proveris da li radi modem, nadam se da znas vec kako. Uglavnom u dial device treba da ti stoji /dev/modem. Ako znas da radis sa wvdial, mozes i tako.

E sad...mozda neces moci da koristis internet kao user, ali to je lako resiti, pa onda ako ti je provajder 042 ne verujem da ces da imas vezu. Ja je nisam imao, pa sam se registoravo kod ptt. Ali o tom potom...muke zive Smiley.  Vidi prvo da li ti radi taj Agere.

Izvini ako je ovo objasnjenje malo "indijanski", ali to ti je to u principu  Smiley i da te podsetim samo obrati paznju kada kucas u skoljci na svaki znak, a posebno na razmak, jer tu covek lako previdi. Pa srecno

Prijavi uredniku   Sačuvana
slyder
Newbie
*
Van mreže Van mreže

Poruke: 9


« Odgovor #18 poslato: 09 Децембар 2007, 18:39:40 »

Opet imam probleme.
Ne mogu da kopiram raspakovan drajver direkno u  /usr/src/modules. Kako treba da upisem u root terminal da kopira driver folder tamo? Undecided
Prijavi uredniku   Sačuvana
LYb
Global Moderator
Hero Member
*****
Van mreže Van mreže

Pol: Muškarac
Poruke: 1955



« Odgovor #19 poslato: 09 Децембар 2007, 19:25:22 »

Moras to da radis kao root.
kucaj 'su'
Prijavi uredniku   Sačuvana
ivan_dj
Newbie
*
Van mreže Van mreže

Poruke: 10


« Odgovor #20 poslato: 11 Децембар 2007, 16:06:20 »

Eeee...moram malo da te izkritikujem. Ja mislio ti instalirao vec i sad picis po internetu Smiley. Ipak moras da znas neke osnovne, najosnovnije, stvari u linuxu. Imas dobrih tutoriala u .pdf-u. Skini neki pa malo citaj. Ja sam na taj nacin saznao prilicno o linuxu, a veruj mi mnogo moze tako da se nauci, pa onda po forumimima, pa man stranice. Samo na ovom forumu imas gomilu stvari, a kamoli ceo net. Necu vise da ti popujem, al' malo vise truda ne bi ti bilo naodmet. Jer sam primetio da ljudi i nisu ponekad zainteresovani da ti pomognu, ako vide da hoces sve na gotovo, a vidi se to veruj. Kad budes malo vise usao u sve to videces i sam Smiley

Ne mogu da ti napisem komandu za terminal, jer ne znam gde ti se nalazi download drajvera, ali ne moras to da radis iskljucivo iz terminala /mislim na kopiranje/. Mozes da koristis i neki fajl menadzer, a sigurno imas makar jedan, sa ovlascenjima za root! A obicno ti pise pored naziva u zagradi (root). Npr. kod mene je fajl menadzer Thunar, a sa ovlascenjima za root, Thunar (root).  Klikni na drajver /mozes i raspakovani/ COPY, idi u usr/src/modules, klikni PASTE. Kao sto bi radio i u windows-u. Ma samo opusteno!To je samo komp i operativni sistem /dobar Afro/. Pa sta i ako ga nesto zaj....Instaliraj ga ponovo grin Ako ne smes nista da pipnes ne mozes ni da naucis. Bitno je da sacuvas podatke na nekom disku ili usb /dokumenta, slike, postu...i sl/, a ostalo sve moze ponovo. Bolje je kad ne mora, ali moze Smiley

Ili kao sto ti je LYb rekao, koristi naredbu "su" u terminalu, onda ces morati da uneses password, i pichi.
U SVAKOM SLUCAJU TI SVE TO MORAS DA  RADIS KAO ROOT..

Ne znam kako da ti drugacije objasnim.
 
Pozdrav.
Prijavi uredniku   Sačuvana
moonbeam_rider
Poser destroyer
Hero Member
*****
Van mreže Van mreže

Pol: Muškarac
Poruke: 1558



WWW
« Odgovor #21 poslato: 11 Децембар 2007, 21:06:47 »

Ne bi da ispadam partibrejker ali mislim da je covek vec digao ruke  Cheesy
Meni se biti drago ako me neko demantuje  Smiley
Inace taj drajver(ltmodem-2.6-alk-8)koji si mu ti dao i preprocujes je praistorija(ja mislim da sam doticni koristio svojevremeno na Mandrake 10.0 pre skoro 3 godine  :Smiley )
Svezi drajveri se odazivaju na martian i agrsm i daleko su jednostavniji za instaliranje i namestanje nego ovi stari satrapi  Azn
Dakle mani se bakraca i skini agrsm drajver koji ti lepo spomenut u scanmodem skripti

Citat
Class 0780: 11c1:048c Communication controller: Agere Systems V.92 56K WinModem
 Primary PCI_id  11c1:048c
 Support type needed or chipset:   Agere.SV2P

Citat
Device ID  Support        Name           Comment
 ---------  -------------  -----------    -----------------------------
 0480       serial drivers Venus           controller chipset 1673JV7
 0440-045d  martian        Mars/Apollo     DSP (digital signal processing) chipsets
 0462       none           56K.V90/ADSL Wildwire
 048d none                 SV2P            soft modem
 048(c or f) AGRSM         SV2P            soft modem
 0600       none           soft modem, very few in the field.
 0620       AGRSM          Pinball  soft modem, in some HP desktop PCs
 062(1-3)   none           SV92PP,Pinball  soft modem, in some HP desktop PCs

Dakle-jedina opcija koja mu preostaje je da proba agrsm drajvere http://phep2.technion.ac.il/linmodems/packages/ltmodem/sv92/ a i veliko je pitanje hoce li mu modem uopste raditi sto se lepo moze videti/procitati iz readme-ja na prilozenom linku
Nista brate-skini,procitaj readme koji ces dobiti sa njim,drzi palceve i nadaj se najboljem Afro
« Poslednja izmena: 11 Децембар 2007, 21:23:13 od Seleuk » Prijavi uredniku   Sačuvana

Power of simplicity - http://www.archlinux.org/
Blog - http://ratos81.blogspot.com/
Besplatni knjizevni magazin Eniaroyah - http://www.eniaroyah.info/
ivan_dj
Newbie
*
Van mreže Van mreže

Poruke: 10


« Odgovor #22 poslato: 11 Децембар 2007, 21:57:36 »

Ako je digao ruke, to je njegovo. Ja sam pokusao da mu pomognem, jer kao sto sam rekao, ja sam bio na pragu da odustanem od svega iz razloga sto nisam mogao da pokrenem modem. Znaci ja tu nemam nikakvu korist. Znam i ja i za martian i za agrsm i novije i najnovije... Oni su vec predlozeni. Ja sam mu dao samo jos jedan predlog /koji kod mene odlicno radi/. Kao sto rekoh, skinuo sam ih najmanje 20. Instalacija nije uopse komplikovana. Traje 2 minuta. Ne kosta nista da proba. I ja ovo ne dozivaljavam kao party. Kod nekog upali ovaj, kod nekog onaj, kod nekog nijedan...ali....................................................................
Prijavi uredniku   Sačuvana
grujakg
Full Member
***
Van mreže Van mreže

Poruke: 109



« Odgovor #23 poslato: 11 Децембар 2007, 22:17:50 »

Nisam stigao da procitam sve do kraja, ali cim sam video ltmodem i 2.6 kernel, odmah sam se setio Lucent DSP modema sa Mars chipsetom. Ja sam posle brdo neuspeha sa ltmodem driverom presao na martian, i evo kod mene srecno trci jos od 2.6.11 vanila kernela pa do sadasnjeg 2.6.23.8-63.fc8 fedora tvikovanog. Evo ga link, a sve sto treba da se uradi je da se procita INSTALL, a posle instalacije modem crpi maksimum iz parice  Wink

http://martian.barrelsoutofbond.org/index.html

Ko ga proba nece se pokajati  cool
Prijavi uredniku   Sačuvana

================
Fly by wire, code with fire
================
moonbeam_rider
Poser destroyer
Hero Member
*****
Van mreže Van mreže

Pol: Muškarac
Poruke: 1558



WWW
« Odgovor #24 poslato: 12 Децембар 2007, 00:16:32 »

Slazem se za Martian-radi odlicno(meni radilo na SUSE 10.2,Fedori 7 i Debianu Etch bez problema Wink)ali ti drajveri su namenjeni kao sto si sam rekao za DSP Mars cipset dok je ovde u pitanju 048c SV2P za koga treba da se koriste agrsm drajveri  Azn
Prijavi uredniku   Sačuvana

Power of simplicity - http://www.archlinux.org/
Blog - http://ratos81.blogspot.com/
Besplatni knjizevni magazin Eniaroyah - http://www.eniaroyah.info/
slyder
Newbie
*
Van mreže Van mreže

Poruke: 9


« Odgovor #25 poslato: 15 Децембар 2007, 18:30:36 »

Nisam imao vremena, al sad cu reinstalirati Ubuntu pa videcu. Javim ako ima nesto. Ako bas ne ide probacu na suse 10.2.  cool
Prijavi uredniku   Sačuvana
slyder
Newbie
*
Van mreže Van mreže

Poruke: 9


« Odgovor #26 poslato: 15 Децембар 2007, 19:41:27 »

evo reinstalirao sam al nista dobro. Kd sam ukucao make all to je izasao:



main.c:530: warning: passing argument 2 of ‘logdebug’ from incompatible pointer type
main.c:533: warning: implicit declaration of function ‘printf’
main.c:533: warning: incompatible implicit declaration of built-in function ‘printf’
main.c:538: warning: passing argument 1 of ‘logwarn’ from incompatible pointer type
main.c:541: warning: incompatible implicit declaration of built-in function ‘exit’
main.c:544: error: ‘optind’ undeclared (first use in this function)
main.c:544: warning: comparison between pointer and integer
main.c:545: error: array subscript is not an integer
main.c:545: warning: assignment from incompatible pointer type
main.c:547: warning: comparison between pointer and integer
main.c:548: warning: passing argument 1 of ‘logwarn’ from incompatible pointer type
main.c:554: warning: comparison between pointer and integer
main.c:554: warning: comparison between pointer and integer
main.c:556: error: ‘optopt’ undeclared (first use in this function)
main.c:557: warning: comparison between pointer and integer
main.c:557: warning: passing argument 1 of ‘optslot’ makes integer from pointer without a cast
main.c:557: error: ‘struct <anonymous>’ has no member named ‘has_arg’
main.c:558: warning: incompatible implicit declaration of built-in function ‘fprintf’
main.c:558: warning: passing argument 1 of ‘optslot’ makes integer from pointer without a cast
main.c:558: error: ‘struct <anonymous>’ has no member named ‘name’
main.c:558: warning: passing argument 1 of ‘fprintf’ discards qualifiers from pointer target type
main.c:558: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘const struct <anonymous> *’
main.c:565: warning: passing argument 2 of ‘logdebug’ from incompatible pointer type
main.c:566: warning: comparison between pointer and integer
main.c:566: warning: comparison between pointer and integer
main.c:569: warning: comparison between pointer and integer
main.c:569: warning: passing argument 1 of ‘optslot’ makes integer from pointer without a cast
main.c:569: error: ‘struct <anonymous>’ has no member named ‘has_arg’
main.c:570: warning: incompatible implicit declaration of built-in function ‘fprintf’
main.c:570: warning: passing argument 1 of ‘optslot’ makes integer from pointer without a cast
main.c:570: error: ‘struct <anonymous>’ has no member named ‘name’
main.c:570: warning: passing argument 1 of ‘fprintf’ discards qualifiers from pointer target type
main.c:570: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘const struct <anonymous> *’
main.c:572: warning: passing argument 1 of ‘fprintf’ discards qualifiers from pointer target type
main.c:572: warning: format ‘%c’ expects type ‘int’, but argument 4 has type ‘const struct <anonymous> *’
main.c:574: warning: implicit declaration of function ‘strncmp’
main.c:574: error: array subscript is not an integer
main.c:575: warning: incompatible implicit declaration of built-in function ‘fprintf’
main.c:575: error: array subscript is not an integer
main.c:575: warning: passing argument 1 of ‘fprintf’ discards qualifiers from pointer target type
main.c:575: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘const struct <anonymous> *’
main.c:578: warning: incompatible implicit declaration of built-in function ‘fprintf’
main.c:578: error: array subscript is not an integer
main.c:578: warning: passing argument 1 of ‘fprintf’ discards qualifiers from pointer target type
main.c:578: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘const struct <anonymous> *’
main.c:579: warning: passing argument 1 of ‘fprintf’ discards qualifiers from pointer target type
main.c:330: warning: unused variable ‘options’
main.c: In function ‘setup_pin_timer’:
main.c:601: error: storage size of ‘ptyevent’ isn’t known
main.c:605: warning: implicit declaration of function ‘memset’
main.c:605: warning: incompatible implicit declaration of built-in function ‘memset’
main.c:605: warning: passing argument 3 of ‘memset’ makes integer from pointer without a cast
main.c:608: error: request for member ‘sigev_signo’ in something not a structure or union
main.c:608: error: ‘SIGRTMIN’ undeclared (first use in this function)
main.c:608: warning: statement with no effect
main.c:611: error: request for member ‘sigev_notify’ in something not a structure or union
main.c:611: error: ‘SIGEV_THREAD_ID’ undeclared (first use in this function)
main.c:611: warning: statement with no effect
main.c:612: error: request for member ‘_sigev_un’ in something not a structure or union
main.c:612: error: request for member ‘_tid’ in something not a structure or union
main.c:612: warning: statement with no effect
main.c:614: warning: implicit declaration of function ‘mtimer_create’
main.c:614: error: ‘CLOCK_REALTIME’ undeclared (first use in this function)
main.c:616: warning: passing argument 2 of ‘logdebug’ from incompatible pointer type
main.c:621: error: ‘mtimer_t’ has no member named ‘id’
main.c:621: warning: passing argument 1 of ‘logwarn’ from incompatible pointer type
main.c:622: warning: passing argument 2 of ‘logsyserror’ from incompatible pointer type
main.c:625: warning: passing argument 3 of ‘memset’ makes integer from pointer without a cast
main.c:628: error: request for member ‘sigev_signo’ in something not a structure or union
main.c:628: warning: statement with no effect
main.c:629: error: request for member ‘sigev_notify’ in something not a structure or union
main.c:629: error: ‘SIGEV_SIGNAL’ undeclared (first use in this function)
main.c:629: warning: statement with no effect
main.c:636: error: ‘mtimer_t’ has no member named ‘id’
main.c:636: warning: passing argument 1 of ‘logerr’ from incompatible pointer type
main.c:640: warning: passing argument 2 of ‘logdebug’ from incompatible pointer type
main.c:601: warning: unused variable ‘ptyevent’
main.c: At top level:
main.c:645: error: expected specifier-qualifier-list before ‘uint8_t’
main.c:658: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘io_uart_msr’
main.c:659: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘io_uart_status’
main.c:663: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘dp_dsp_status’
main.c:664: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘dp_wDspRetrainState’
main.c: In function ‘monitor_state’:
main.c:717: error: ‘io_uart_msr’ undeclared (first use in this function)
main.c:717: error: ‘struct _state’ has no member named ‘io_uart_msr’
main.c:717: warning: implicit declaration of function ‘sprintf’
main.c:717: warning: incompatible implicit declaration of built-in function ‘sprintf’
main.c:717: warning: incompatible implicit declaration of built-in function ‘sprintf’
main.c:717: warning: incompatible implicit declaration of built-in function ‘sprintf’
main.c:717: warning: implicit declaration of function ‘__STRING’
main.c:717: error: expected ‘)’ before string constant
main.c:717: warning: passing argument 2 of ‘sprintf’ makes pointer from integer without a cast
main.c:717: error: ‘struct _state’ has no member named ‘io_uart_msr’
main.c:717: warning: statement with no effect
main.c:718: error: ‘io_uart_status’ undeclared (first use in this function)
main.c:718: error: ‘struct _state’ has no member named ‘io_uart_status’
main.c:718: warning: incompatible implicit declaration of built-in function ‘sprintf’
main.c:718: warning: incompatible implicit declaration of built-in function ‘sprintf’
main.c:718: warning: incompatible implicit declaration of built-in function ‘sprintf’
main.c:718: error: expected ‘)’ before string constant
main.c:718: warning: passing argument 2 of ‘sprintf’ makes pointer from integer without a cast
main.c:718: error: ‘struct _state’ has no member named ‘io_uart_status’
main.c:718: warning: statement with no effect
main.c:719: error: ‘struct _state’ has no member named ‘x_modem_state’
main.c:719: warning: comparison between pointer and integer
main.c:719: warning: incompatible implicit declaration of built-in function ‘sprintf’
main.c:719: warning: incompatible implicit declaration of built-in function ‘sprintf’
main.c:719: warning: incompatible implicit declaration of built-in function ‘sprintf’
main.c:719: error: expected ‘)’ before string constant
main.c:719: warning: passing argument 2 of ‘sprintf’ makes pointer from integer without a cast
main.c:719: error: ‘struct _state’ has no member named ‘x_modem_state’
main.c:719: warning: statement with no effect
main.c:720: error: ‘struct _state’ has no member named ‘x_modem_mode’
main.c:720: warning: comparison between pointer and integer
main.c:720: warning: incompatible implicit declaration of built-in function ‘sprintf’
main.c:720: warning: incompatible implicit declaration of built-in function ‘sprintf’
main.c:720: warning: incompatible implicit declaration of built-in function ‘sprintf’
main.c:720: error: expected ‘)’ before string constant
main.c:720: warning: passing argument 2 of ‘sprintf’ makes pointer from integer without a cast
main.c:720: error: ‘struct _state’ has no member named ‘x_modem_mode’
main.c:720: warning: statement with no effect
main.c:721: error: ‘struct _state’ has no member named ‘x_line_rate’
main.c:721: warning: comparison between pointer and integer
main.c:721: warning: incompatible implicit declaration of built-in function ‘sprintf’
main.c:721: warning: incompatible implicit declaration of built-in function ‘sprintf’
main.c:721: warning: incompatible implicit declaration of built-in function ‘sprintf’
main.c:721: error: expected ‘)’ before string constant
main.c:721: warning: passing argument 2 of ‘sprintf’ makes pointer from integer without a cast
main.c:721: error: ‘struct _state’ has no member named ‘x_line_rate’
main.c:721: warning: statement with no effect
main.c:722: error: ‘dp_dsp_status’ undeclared (first use in this function)
main.c:722: error: ‘struct _state’ has no member named ‘dp_dsp_status’
main.c:722: warning: incompatible implicit declaration of built-in function ‘sprintf’
main.c:722: warning: incompatible implicit declaration of built-in function ‘sprintf’
main.c:722: warning: incompatible implicit declaration of built-in function ‘sprintf’
main.c:722: error: expected ‘)’ before string constant
main.c:722: warning: passing argument 2 of ‘sprintf’ makes pointer from integer without a cast
main.c:722: error: ‘struct _state’ has no member named ‘dp_dsp_status’
main.c:722: warning: statement with no effect
main.c:723: error: ‘struct _state’ has no member named ‘io_app_tx_count’
main.c:723: warning: comparison between pointer and integer
main.c:723: warning: incompatible implicit declaration of built-in function ‘sprintf’
main.c:723: warning: incompatible implicit declaration of built-in function ‘sprintf’
main.c:723: warning: incompatible implicit declaration of built-in function ‘sprintf’
main.c:723: error: expected ‘)’ before string constant
main.c:723: warning: passing argument 2 of ‘sprintf’ makes pointer from integer without a cast
main.c:723: error: ‘struct _state’ has no member named ‘io_app_tx_count’
main.c:723: warning: statement with no effect
main.c:725: warning: incompatible implicit declaration of built-in function ‘sprintf’
main.c:726: warning: passing argument 2 of ‘logdebug’ from incompatible pointer type
main.c:730: error: ‘struct _state’ has no member named ‘io_app_tx_bytes’
main.c:730: warning: comparison between pointer and integer
main.c:730: warning: incompatible implicit declaration of built-in function ‘sprintf’
main.c:730: warning: incompatible implicit declaration of built-in function ‘sprintf’
main.c:730: warning: incompatible implicit declaration of built-in function ‘sprintf’
main.c:730: error: ‘io_app_tx’ undeclared (first use in this function)
main.c:730: error: expected ‘)’ before string constant
main.c:730: warning: passing argument 2 of ‘sprintf’ makes pointer from integer without a cast
main.c:730: error: ‘struct _state’ has no member named ‘io_app_tx_bytes’
main.c:730: warning: statement with no effect
main.c:731: error: ‘struct _state’ has no member named ‘io_dte_tx_bytes’
main.c:731: warning: comparison between pointer and integer
main.c:731: warning: incompatible implicit declaration of built-in function ‘sprintf’
main.c:731: warning: incompatible implicit declaration of built-in function ‘sprintf’
main.c:731: warning: incompatible implicit declaration of built-in function ‘sprintf’
main.c:731: error: ‘io_dte_tx’ undeclared (first use in this function)
main.c:731: error: expected ‘)’ before string constant
main.c:731: warning: passing argument 2 of ‘sprintf’ makes pointer from integer without a cast
main.c:731: error: ‘struct _state’ has no member named ‘io_dte_tx_bytes’
main.c:731: warning: statement with no effect
main.c:732: error: ‘struct _state’ has no member named ‘io_dte_rx_bytes’
main.c:732: warning: comparison between pointer and integer
main.c:732: warning: incompatible implicit declaration of built-in function ‘sprintf’
main.c:732: warning: incompatible implicit declaration of built-in function ‘sprintf’
main.c:732: warning: incompatible implicit declaration of built-in function ‘sprintf’
main.c:732: error: ‘io_dte_rx’ undeclared (first use in this function)
main.c:732: error: expected ‘)’ before string constant
main.c:732: warning: passing argument 2 of ‘sprintf’ makes pointer from integer without a cast
main.c:732: error: ‘struct _state’ has no member named ‘io_dte_rx_bytes’
main.c:732: warning: statement with no effect
main.c:733: error: ‘struct _state’ has no member named ‘io_dce_tx_bytes’
main.c:733: warning: comparison between pointer and integer
main.c:733: warning: incompatible implicit declaration of built-in function ‘sprintf’
main.c:733: warning: incompatible implicit declaration of built-in function ‘sprintf’
main.c:733: warning: incompatible implicit declaration of built-in function ‘sprintf’
main.c:733: error: ‘io_dce_tx’ undeclared (first use in this function)
main.c:733: error: expected ‘)’ before string constant
main.c:733: warning: passing argument 2 of ‘sprintf’ makes pointer from integer without a cast
main.c:733: error: ‘struct _state’ has no member named ‘io_dce_tx_bytes’
main.c:733: warning: statement with no effect
main.c:734: error: ‘struct _state’ has no member named ‘io_dce_rx_bytes’
main.c:734: warning: comparison between pointer and integer
main.c:734: warning: incompatible implicit declaration of built-in function ‘sprintf’
main.c:734: warning: incompatible implicit declaration of built-in function ‘sprintf’
main.c:734: warning: incompatible implicit declaration of built-in function ‘sprintf’
main.c:734: error: ‘io_dce_rx’ undeclared (first use in this function)
main.c:734: error: expected ‘)’ before string constant
main.c:734: warning: passing argument 2 of ‘sprintf’ makes pointer from integer without a cast
main.c:734: error: ‘struct _state’ has no member named ‘io_dce_rx_bytes’
main.c:734: warning: statement with no effect
main.c:736: warning: incompatible implicit declaration of built-in function ‘sprintf’
main.c:737: warning: passing argument 2 of ‘logdebug’ from incompatible pointer type
main.c: In function ‘setup_pin_watcher’:
main.c:758: error: storage size of ‘timer_action’ isn’t known
main.c:760: error: request for member ‘sa_handler’ in something not a structure or union
main.c:760: warning: statement with no effect
main.c:761: error: request for member ‘sa_flags’ in something not a structure or union
main.c:761: warning: statement with no effect
main.c:762: warning: implicit declaration of function ‘sigemptyset’
main.c:762: error: request for member ‘sa_mask’ in something not a structure or union
main.c:763: warning: implicit declaration of function ‘sigaction’
main.c:763: error: ‘SIGRTMIN’ undeclared (first use in this function)
main.c:758: warning: unused variable ‘timer_action’
main.c:766:19: error: errno.h: No such file or directory
main.c: At top level:
main.c:769: error: expected ‘)’ before ‘*’ token
main.c: In function ‘main’:
main.c:837: error: ‘struct _config’ has no member named ‘syslog’
main.c:840: error: ‘struct _config’ has no member named ‘daemon’
main.c:841: warning: implicit declaration of function ‘daemon’
main.c:841: error: ‘struct _config’ has no member named ‘logfile’
main.c:843: warning: passing argument 2 of ‘logsyserror’ from incompatible pointer type
main.c:844: warning: passing argument 1 of ‘logwarn’ from incompatible pointer type
main.c:845: error: ‘struct _config’ has no member named ‘daemon’
main.c:845: warning: statement with no effect
main.c:848: error: ‘struct _config’ has no member named ‘daemon’
main.c:848: error: ‘struct _config’ has no member named ‘logfile’
main.c:849: error: ‘struct _config’ has no member named ‘syslog’
main.c:849: warning: statement with no effect
main.c:852: warning: passing argument 2 of ‘logdebug’ from incompatible pointer type
main.c:862: warning: passing argument 2 of ‘logdebug’ from incompatible pointer type
main.c:871: warning: implicit declaration of function ‘snprintf’
main.c:871: warning: incompatible implicit declaration of built-in function ‘snprintf’
main.c:874: warning: incompatible implicit declaration of built-in function ‘snprintf’
main.c:878: warning: incompatible implicit declaration of built-in function ‘snprintf’
main.c:880: warning: implicit declaration of function ‘strlen’
main.c:880: warning: incompatible implicit declaration of built-in function ‘strlen’
main.c:885: warning: passing argument 2 of ‘logdebug’ from incompatible pointer type
main.c:888: error: ‘struct _config’ has no member named ‘misr’
main.c:888: error: incompatible type for argument 1 of ‘misr_str’
main.c:888: error: ‘struct _config’ has no member named ‘realtime’
main.c:888: warning: passing argument 2 of ‘logdebug’ from incompatible pointer type
main.c:909: warning: passing argument 2 of ‘mthread_create’ discards qualifiers from pointer target type
main.c:910: warning: passing argument 1 of ‘logerr’ from incompatible pointer type
main.c:913: warning: passing argument 2 of ‘logdebug’ from incompatible pointer type
main.c:924: warning: passing argument 1 of ‘loginfo’ from incompatible pointer type
main.c:928: warning: passing argument 2 of ‘logdebug’ from incompatible pointer type
main.c:933: warning: implicit declaration of function ‘mkfifo’
main.c:934: error: ‘errno’ undeclared (first use in this function)
main.c:934: error: ‘EEXIST’ undeclared (first use in this function)
main.c:935: warning: passing argument 2 of ‘logdebug’ from incompatible pointer type
main.c:937: warning: passing argument 2 of ‘logsyserror’ from incompatible pointer type
main.c:940: error: ‘FILE’ undeclared (first use in this function)
main.c:940: error: ‘control’ undeclared (first use in this function)
main.c:940: error: invalid operands to binary *
main.c:940: warning: statement with no effect
main.c:943: warning: implicit declaration of function ‘fopen’
main.c:943: warning: statement with no effect
main.c:944: error: ‘EINTR’ undeclared (first use in this function)
main.c:950: warning: passing argument 2 of ‘logsyserror’ from incompatible pointer type
main.c:951: warning: passing argument 1 of ‘logwarn’ from incompatible pointer type
main.c:958: warning: implicit declaration of function ‘get_cmd’
main.c:961: warning: passing argument 2 of ‘logdebug’ from incompatible pointer type
main.c:962: warning: implicit declaration of function ‘fclose’
main.c:964: warning: statement with no effect
main.c:971: warning: passing argument 2 of ‘logsyserror’ from incompatible pointer type
main.c:972: warning: passing argument 1 of ‘logwarn’ from incompatible pointer type
main.c:978: warning: passing argument 1 of ‘loginfo’ from incompatible pointer type
main.c:984: error: ‘__u32’ undeclared (first use in this function)
main.c:984: error: expected expression before ‘)’ token
main.c:984: error: invalid operands to binary *
main.c:984: error: called object ‘<erroneous-expression>’ is not a function
main.c:984: error: assignment of read-only location
main.c:984: error: incompatible types in assignment
main.c:984: warning: statement with no effect
main.c:985: error: ‘__u16’ undeclared (first use in this function)
main.c:985: error: expected expression before ‘)’ token
main.c:985: error: invalid operands to binary *
main.c:985: error: called object ‘<erroneous-expression>’ is not a function
main.c:985: error: assignment of read-only location
main.c:985: error: incompatible types in assignment
main.c:985: warning: statement with no effect
main.c:992: warning: passing argument 1 of ‘loginfo’ from incompatible pointer type
main.c:993: warning: implicit declaration of function ‘ioctl’
main.c:993: warning: implicit declaration of function ‘_IO’
main.c:995: warning: passing argument 2 of ‘logsyserror’ from incompatible pointer type
main.c:999: warning: passing argument 1 of ‘loginfo’ from incompatible pointer type
main.c:1002: warning: passing argument 2 of ‘logsyserror’ from incompatible pointer type
main.c:1005: warning: passing argument 2 of ‘logdebug’ from incompatible pointer type
main.c:1013: warning: implicit declaration of function ‘pause’
main.c: In function ‘serve_port’:
main.c:1029: warning: passing argument 2 of ‘logdebug’ from incompatible pointer type
main.c:1031: error: ‘struct _config’ has no member named ‘realtime’
main.c:1041: warning: passing argument 1 of ‘logerr’ from incompatible pointer type
main.c:1042: warning: incompatible implicit declaration of built-in function ‘exit’
main.c:1047: warning: passing argument 1 of ‘logerr’ from incompatible pointer type
main.c:1050: warning: passing argument 2 of ‘logdebug’ from incompatible pointer type
main.c:1055: warning: passing argument 2 of ‘logdebug’ from incompatible pointer type
main.c: In function ‘mexit’:
main.c:1082: error: ‘struct _config’ has no member named ‘daemon’
main.c:1083: warning: passing argument 1 of ‘loginfo’ from incompatible pointer type
main.c:1085: warning: passing argument 1 of ‘loginfo’ from incompatible pointer type
main.c:1086: warning: incompatible implicit declaration of built-in function ‘exit’
main.c: In function ‘kbdint_handler’:
main.c:1093: warning: passing argument 2 of ‘logdebug’ from incompatible pointer type
main.c: In function ‘setup_kbd_interrupt’:
main.c:1098: error: storage size of ‘timer_action’ isn’t known
main.c:1100: error: request for member ‘sa_handler’ in something not a structure or union
main.c:1100: warning: statement with no effect
main.c:1101: error: request for member ‘sa_flags’ in something not a structure or union
main.c:1101: warning: statement with no effect
main.c:1102: error: request for member ‘sa_mask’ in something not a structure or union
main.c:1103: error: ‘SIGINT’ undeclared (first use in this function)
main.c:1098: warning: unused variable ‘timer_action’
main.c: In function ‘sigterm_handler’:
main.c:1107: warning: passing argument 2 of ‘logdebug’ from incompatible pointer type
main.c: In function ‘setup_daemon_signals’:
main.c:1112: error: storage size of ‘timer_action’ isn’t known
main.c:1114: error: request for member ‘sa_handler’ in something not a structure or union
main.c:1114: warning: statement with no effect
main.c:1115: error: request for member ‘sa_flags’ in something not a structure or union
main.c:1115: warning: statement with no effect
main.c:1116: error: request for member ‘sa_mask’ in something not a structure or union
main.c:1117: error: ‘SIGTERM’ undeclared (first use in this function)
main.c:1112: warning: unused variable ‘timer_action’
main.c: In function ‘setup_segv’:
main.c:1124: error: storage size of ‘action’ isn’t known
main.c:1126: error: request for member ‘sa_handler’ in something not a structure or union
main.c:1126: warning: statement with no effect
main.c:1127: error: request for member ‘sa_flags’ in something not a structure or union
main.c:1127: warning: statement with no effect
main.c:1128: error: request for member ‘sa_mask’ in something not a structure or union
main.c:1129: error: ‘SIGSEGV’ undeclared (first use in this function)
main.c:1124: warning: unused variable ‘action’
main.c: In function ‘segv_handler’:
main.c:1133: error: storage size of ‘action’ isn’t known
main.c:1136: warning: incompatible implicit declaration of built-in function ‘printf’
main.c:1138: error: request for member ‘sa_handler’ in something not a structure or union
main.c:1138: error: ‘SIG_DFL’ undeclared (first use in this function)
main.c:1138: warning: statement with no effect
main.c:1139: error: request for member ‘sa_flags’ in something not a structure or union
main.c:1139: warning: statement with no effect
main.c:1140: error: request for member ‘sa_mask’ in something not a structure or union
main.c:1141: error: ‘SIGSEGV’ undeclared (first use in this function)
main.c:1133: warning: unused variable ‘action’
make[1]: *** [main.o] Error 1
make[1]: Leaving directory `/home/slyder/martian-full-20071011/modem'
make: *** [install] Error 2



Prijavi uredniku   Sačuvana
Stranice: 1 [2]   Idi gore
  Štampaj  
 
Prebaci se na: