HPC.ru lite - Все форумы
Форум: КПК и смартфоны на Linux: Zaurus, планшеты Nokia, прочее
Тема: собрать lirc
[Ответить]
ntoo [14.01.2007 15:17] собрать lirc:
пытаюсь собрать lirc
скачал dev_img-1.6, cacko-1.23-kernel-2.4.20
`make dep` сделал, поправил include/linux/module.h:21 (linux/modversion.h -> config/modversion.h)
make:
make[6]: Entering directory `/hdd3/Documents/dev/lirc-0.8.0/drivers/lirc_dev'
arm-cacko-linux-gnu-gcc -D__KERNEL__ -I/hdd3/Documents/dev/cacko-1.23-kernel-2.4.20/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -Uarm -fno-common -pipe -mapcs-32 -D__LINUX_ARM_ARCH__=4 -march=armv4 -Wa,-miwmmxt -mtune=strongarm -mshort-load-bytes -msoft-float -Uarm -DMODULE -DIRCTL_DEV_MAJOR=61 -DEXPORT_SYMTAB -DHAVE_CONFIG_H -I. -I. -I../.. -I/hdd3/Documents/dev/lirc-0.8.0/drivers/lirc_dev/../.. -I/usr/src/linux//include/ -nostdinc -iwithprefix include -DKBUILD_BASENAME=lirc_dev -c -o lirc_dev.o lirc_dev.c
Assembler messages:
Error: Invalid processor variant -miwmmxt
In file included from /hdd3/Documents/dev/cacko-1.23-kernel-2.4.20/linux/include/linux/i2c.h:34,
from ../../drivers/kcompat.h:220,
from lirc_dev.c:61:
/hdd3/Documents/dev/cacko-1.23-kernel-2.4.20/linux/include/linux/i2c-id.h:102: warning: `I2C_DRIVERID_DS1307' redefined
/hdd3/Documents/dev/cacko-1.23-kernel-2.4.20/linux/include/linux/i2c-id.h:94: warning: this is the location of the previous definition
lirc_dev.c: In function `lirc_thread':
lirc_dev.c:234: output pipe has been closed
cpp: output pipe has been closed
непонятно откуда берется armv4, если у меня armv5 (С3200)
почему так реагирует на iwmmxt тоже непонятно, и не могу найти откуда оно берется.
есть какие-н идеи, куда копать?
maslovsky [14.01.2007 21:40] Re: собрать lirc:
[quote="ntoo"]пытаюсь собрать lirc
скачал dev_img-1.6, cacko-1.23-kernel-2.4.20
`make dep` сделал, поправил include/linux/module.h:21 (linux/modversion.h -> config/modversion.h)
make:
make[6]: Entering directory `/hdd3/Documents/dev/lirc-0.8.0/drivers/lirc_dev'
arm-cacko-linux-gnu-gcc -D__KERNEL__ -I/hdd3/Documents/dev/cacko-1.23-kernel-2.4.20/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -Uarm -fno-common -pipe -mapcs-32 -D__LINUX_ARM_ARCH__=4 -march=armv4 -Wa,-miwmmxt -mtune=strongarm -mshort-load-bytes -msoft-float -Uarm -DMODULE -DIRCTL_DEV_MAJOR=61 -DEXPORT_SYMTAB -DHAVE_CONFIG_H -I. -I. -I../.. -I/hdd3/Documents/dev/lirc-0.8.0/drivers/lirc_dev/../.. -I/usr/src/linux//include/ -nostdinc -iwithprefix include -DKBUILD_BASENAME=lirc_dev -c -o lirc_dev.o lirc_dev.c
Assembler messages:
Error: Invalid processor variant -miwmmxt
In file included from /hdd3/Documents/dev/cacko-1.23-kernel-2.4.20/linux/include/linux/i2c.h:34,
from ../../drivers/kcompat.h:220,
from lirc_dev.c:61:
/hdd3/Documents/dev/cacko-1.23-kernel-2.4.20/linux/include/linux/i2c-id.h:102: warning: `I2C_DRIVERID_DS1307' redefined
/hdd3/Documents/dev/cacko-1.23-kernel-2.4.20/linux/include/linux/i2c-id.h:94: warning: this is the location of the previous definition
lirc_dev.c: In function `lirc_thread':
lirc_dev.c:234: output pipe has been closed
cpp: output pipe has been closed
непонятно откуда берется armv4, если у меня armv5 (С3200)
Компилятор GCC 2.9x про arm5 ниче не знает...
почему так реагирует на iwmmxt тоже непонятно, и не могу найти откуда оно берется.
Ядро 2.4.20 собиралось обновленным toolchain с поддержкой iwmmx
есть какие-н идеи, куда копать?
Да, нужно использовать для сборки toolchain с поддержкой iwmmx. Вот только Cacko FTP сейчас в дауне из-за недавнего переезда OESF...
[Ответить]