Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.

Can't find include file getopt.h

[es] :: C/C++ programiranje :: Can't find include file getopt.h

[ Pregleda: 2375 | Odgovora: 3 ] > FB > Twit

Postavi temu Odgovori

Autor

Pretraga teme: Traži
Markiranje Štampanje RSS

--SOULMaTe--
Nemanja Skoric
Novi Sad

Član broj: 1464
Poruke: 173
*.telekom.yu



Profil

icon Can't find include file getopt.h03.12.2001. u 20:52 - pre 272 meseci
Posto sam tek poceo da radim sa unixom prirodno je da se ne razumem puno. Tako da kad hocu da kompajliram count.cgi.l.c fajl (na shellu) izbaci mi navedenu poruku. U cemu je problem i kako da ga se resim?
Don’t do drugs, sleep deprivation is better.
 
Odgovor na temu

leka
Dejan Lekić
senior software engineer, 3Developers
Ltd.
London, UK

Član broj: 234
Poruke: 2534
*.telia.com

Sajt: dejan.lekic.org


+2 Profil

icon Re: Can't find include file getopt.h11.04.2002. u 02:17 - pre 268 meseci
Tu smo mi da ti pomognemo majstore... Najlakše ti je da takozvane header fajlove nađeš (ako ne znaš gde su) sa komandom locate, evo primer kako da nađeš getopt:
Code:

[dejan@gnu dejan]$ locate getopt.h
/home/dejan/src/cvs/php-cvs/sapi/cgi/php_getopt.h
/home/dejan/src/cvs/php-cvs/sapi/cli/php_getopt.h
/home/dejan/src/cvs/php-cvs/sapi/isapi/stresstest/getopt.h
/home/dejan/tmp/compile/php-4.1.2/sapi/cgi/php_getopt.h
/usr/lib/bcc/include/getopt.h
/usr/share/doc/HTML/en/kdevelop/reference/C/FUNCTIONS/getopt.html
/usr/share/doc/HTML/en/kdevelop/reference/C/MAN/getopt.htm
/usr/include/kpathsea/getopt.h
[b]/usr/include/getopt.h[/b]
/usr/include/nspr/plgetopt.h
/usr/include/mozilla/nspr/plgetopt.h
/usr/include/octave-2.1.34/octave/getopt.h
/usr/include/octave-2.1.34/octave/oct-getopt.h
/usr/include/python2.1/pygetopt.h
/usr/src/linux-2.4.9-13/fs/smbfs/getopt.h
/usr/src/linux-2.4.17-0.4/fs/smbfs/getopt.h
/usr/src/linux-2.5.6/fs/smbfs/getopt.h
/usr/i386-glibc21-linux/include/getopt.h


Kao što vidiš ima ga svuda, ali se zna (GNU i FHS) gde header fajlovi treba da su: /usr/include i /usr/local/include, tako da izabereš header fajl u ovim direktorijuma pre svih ostalih!

Pozdrav
Dejan Lekic
software engineer, MySQL/PgSQL DBA, sysadmin
 
Odgovor na temu

--SOULMaTe--
Nemanja Skoric
Novi Sad

Član broj: 1464
Poruke: 173
212.62.36.*



Profil

icon Re: Can't find include file getopt.h11.04.2002. u 15:54 - pre 268 meseci
Hvala ti mnogo. Do duse tad kad sam postovao to pitanje sam imao shell a sad vise ne. Ali svejedno kupicu drugi modem pa ce mi posluziti. Jos jednom hvala.
Don’t do drugs, sleep deprivation is better.
 
Odgovor na temu

leka
Dejan Lekić
senior software engineer, 3Developers
Ltd.
London, UK

Član broj: 234
Poruke: 2534
*.telia.com

Sajt: dejan.lekic.org


+2 Profil

icon Re: Can't find include file getopt.h11.04.2002. u 19:26 - pre 268 meseci
Ništa, zadovoljstvo mi je da odgovaram i rešavam probleme budućih Linux programera!
Dejan Lekic
software engineer, MySQL/PgSQL DBA, sysadmin
 
Odgovor na temu

[es] :: C/C++ programiranje :: Can't find include file getopt.h

[ Pregleda: 2375 | Odgovora: 3 ] > FB > Twit

Postavi temu Odgovori

Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.