compiling lirc...
Giorgos Keramidas
keramida at ceid.upatras.gr
Fri Nov 4 19:15:52 EET 2005
Kalytera oi apanthseis na phgainoun *kai* sth lista, gia na
mporei kapoios pou 8a brei to thread sto mellon na dei ti paizei.
On 2005-11-04 21:03, silent <my_own_silent_scream at yahoo.gr> wrote:
>Giorgos Keramidas wrote:
>>>[...]
>>>checking whether the C compiler (gcc -O2 -g -Wall ) works... yes
>>>checking whether the C compiler (gcc -O2 -g -Wall ) is a cross-compiler... no
>>
>> Kane unset to CFLAGS sou prin kaneis build, giati exei to -Wall.
>> Kalh idea einai na xrhsimopoieis warnings, otan grafeis diko sou
>> kwdika. Egw p.x. kanw synh8ws build me:
>>
>> CFLAGS= -O -W -Wall \
>> -std=c89 -pedantic \
>> -Wbad-function-cast -Wcast-align -Wcast-qual \
>> -Wchar-subscripts -Winline -Wmissing-prototypes \
>> -Wnested-externs -Wpointer-arith -Wredundant-decls \
>> -Wshadow -Wstrict-prototypes -Wwrite-strings
>>
>> Alla den einai swsto ayto gia programmata pou katebases se source
>> morfh apo opoydhpote, ektos ki an eisai diate8eimenos na katseis
>> na dior8wseis ta warnings & build errors pou tha bgalei ayto.
>>
>> Kapoia apo ta errors pou pairneis, opws:
>>
>> /home/silent/lirc-0.7.2/drivers/lirc_gpio/lirc_gpio.c:97: error:
>> initializer element is not constant
>>
>> ofeilontai sto -Wall, pou den eprepe na yparxei sto environment
>> otan etrekses to ./configure script.
>>
>>>> /home/silent/lirc-0.7.2/drivers/lirc_gpio/.tmp_lirc_gpio.o /ho
>>>> me/silent/lirc-0.7.2/drivers/lirc_gpio/lirc_gpio.c
>>>> /home/silent/lirc-0.7.2/drivers/lirc_gpio/lirc_gpio.c:52:41:
>>>> ../drivers/media/vi deo/bttv.h: Δεν υπάρχει τέτοιο αρχείο ή κατάλογος
>>
>> Ta mhnymata pou typwnei to strerror() einai sta ellinika! Kalh
>> fash. Yparxei periptwsh na min petyxainei to build epeidh exeis
>> Ellinika locales?
>>
>> Gia dokimase na kaneis unset oles tis LC_xxx kai LANG metablhtes
>> apo to periballon sou kai kane build apo ena katharo katalogo pou
>> exeis aposympiesei apo thn arxh to lirc.
>
> emmm... diskoleuomai na katalavw ti akrivws ennoeis..
Otan trekseis thn parakatw entolh, ti blepeis?
env | grep CFLAGS
> apokleietai na ofeiletai stin elliniki gratoseira dioti exw
> kanei para para polles fores compile kapoia progs me epitixia.
Ayto de leei tipota. Mporei to lirc na exei bug.
> oso gia ta cflags den 3erw kan ti einai...! mipws 8a sou itan
> eukolo na mou steileis mia mia tis entoles -san how to ena
> prama- giati prwti fora ta akouw...!
>
> thanx pou mou egrapses..!
An trekseis ayto ti blepeis?
env | egrep -e 'LANG|LC_'
- Giorgos
More information about the Linux-greek-users
mailing list