Početak›Forumi›Linuks distribucije›Ubuntu,Mint,…›Problem oko dial up modema
- This topic has 26 odgovora, 9 glasova, and was last updated 16 years, 4 months ranije by slyder.
-
AutorČlanci
-
11. decembar 2007. u 3:06 pm #65527ivan_djUčesnik
Eeee…moram malo da te izkritikujem. Ja mislio ti instalirao vec i sad picis po internetu :). 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 🙂
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 O0/. Pa sta i ako ga nesto zaj….Instaliraj ga ponovo :biggrin: 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 🙂
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.
11. decembar 2007. u 8:06 pm #65528MoneoUčesnikNe bi da ispadam partibrejker ali mislim da je covek vec digao ruke 😀
Meni se biti drago ako me neko demantuje 🙂
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 ::) )
Svezi drajveri se odazivaju na martian i agrsm i daleko su jednostavniji za instaliranje i namestanje nego ovi stari satrapi ^-^
Dakle mani se bakraca i skini agrsm drajver koji ti lepo spomenut u scanmodem skriptiClass 0780: 11c1:048c Communication controller: Agere Systems V.92 56K WinModem
Primary PCI_id 11c1:[b]048c[/b]
Support type needed or chipset: [b]Agere.SV2P[/b]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
[b]048(c or f) AGRSM SV2P soft modem[/b]
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 PCsDakle-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 O011. decembar 2007. u 8:57 pm #65529ivan_djUčesnikAko 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…………………………………………………………..
11. decembar 2007. u 9:17 pm #65530grujakgUčesnikNisam 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 😉
http://martian.barrelsoutofbond.org/index.html
Ko ga proba nece se pokajati 😎
11. decembar 2007. u 11:16 pm #65531MoneoUčesnikSlazem se za Martian-radi odlicno(meni radilo na SUSE 10.2,Fedori 7 i Debianu Etch bez problema ;))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 ^-^
15. decembar 2007. u 5:30 pm #65532slyderUčesnikNisam imao vremena, al sad cu reinstalirati Ubuntu pa videcu. Javim ako ima nesto. Ako bas ne ide probacu na suse 10.2. 😎
15. decembar 2007. u 6:41 pm #65533slyderUčesnikevo 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 ’ 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 ’ 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 *’
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 ’ 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 ’ 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 *’
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 *’
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 *’
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 *’
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 ‘’ 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 ‘’ 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 -
AutorČlanci
Moraš biti prijavljen da bi postavio komentar u ovoj temi.