Имя пользователя:
Пароль:  
Помощь | Регистрация | Забыли пароль?  | Правила  

Компьютерный форум OSzone.net » Linux и FreeBSD » Железо в Linux » [решено] Ошибка компиляции драйвера для AverTV

Ответить
Настройки темы
[решено] Ошибка компиляции драйвера для AverTV

Аватара для shisik

Ветеран


Сообщения: 2809
Благодарности: 539


Конфигурация

Профиль | Отправить PM | Цитировать


Пытаюсь запустить TV-тюнер AVerTV Hybrid Speedy PCI-E, в lspci он отображается как 03:00.0 Multimedia controller: Philips Semiconductors Device 7160 (rev 03), в гугле нашел драйвер http://www.jusst.de/hg/saa716x/ , скачал, распаковал. Читаю readme, написано сборка просто make, набираю make - error: expected specifier-qualifier-list before 'u8'
Выдаётся на строке u8 clk_count; такого кода:
Код: Выделить весь код
struct saa716x_spi_config {
	u8 clk_count;
	u8 clk_pol:1;
	u8 clk_pha:1;
	u8 LSB_first:1;
};
Что значит эта ошибка?
Ещё одна ошибка в этом-же файле error: expected ';', ',' or ')' before '*' token на строке
Код: Выделить весь код
extern void saa716x_spi_write(struct saa716x_dev *saa716x, const u8 *data, int length);
Как лечить? Может у меня версия ядра сильно старая (2.6.24)?

-------
Registered Linux User #426083
Gentoo Linux amd64, Gnome 2.32.1, Compiz-Fusion


Отправлено: 22:54, 04-03-2009

 

Аватара для ruslandh

info man howto


Сообщения: 6949
Благодарности: 383

Профиль | Сайт | Отправить PM | Цитировать


Это экспериментальная версия - там требуется совместимость кода с ядром + у вас не опрделён тип u8.

-------
Поспешай не торопясь


Отправлено: 23:00, 04-03-2009 | #2



Для отключения данного рекламного блока вам необходимо зарегистрироваться или войти с учетной записью социальной сети.

Если же вы забыли свой пароль на форуме, то воспользуйтесь данной ссылкой для восстановления пароля.


Аватара для shisik

Ветеран


Сообщения: 2809
Благодарности: 539

Профиль | Отправить PM | Цитировать


Т.е. моё предположение про неправильную версию ядра всё-таки правильное? А u8 определен, т.к. строка
Код: Выделить весь код
typedef unsigned char u8;
в начале файла приводит к ошибке о повторном определении. Да и я знаю, как выглядят ошибки о неопределенности типа. А вот expected specifier-qualifier-list before 'u8' ставит меня в тупик

-------
Registered Linux User #426083
Gentoo Linux amd64, Gnome 2.32.1, Compiz-Fusion


Отправлено: 23:08, 04-03-2009 | #3


Аватара для shisik

Ветеран


Сообщения: 2809
Благодарности: 539

Профиль | Отправить PM | Цитировать


Разобрался. Заменил в этом участке все u8 на unsigned char. Всё собралось нормально

-------
Registered Linux User #426083
Gentoo Linux amd64, Gnome 2.32.1, Compiz-Fusion


Отправлено: 14:11, 25-03-2009 | #4


Новый участник


Сообщения: 2
Благодарности: 0

Профиль | Отправить PM | Цитировать


А у меня при компиляции драйвера на это-же устройство другая ошибка:

Код: Выделить весь код
make -C /home/nikarlov/saa716x-59dd985d4473
make: Вход в каталог `/home/nikarlov/saa716x-59dd985d4473'
make -C /home/nikarlov/saa716x-59dd985d4473/v4l 
make[1]: Вход в каталог `/home/nikarlov/saa716x-59dd985d4473/v4l'
No version yet, using 2.6.28-15-generic
make[1]: Выход из каталога `/home/nikarlov/saa716x-59dd985d4473/v4l'
make[1]: Вход в каталог `/home/nikarlov/saa716x-59dd985d4473/v4l'
scripts/make_makefile.pl
Updating/Creating .config
Preparing to compile for kernel version 2.6.28

***WARNING:*** You do not have the full kernel sources installed.
This does not prevent you from building the v4l-dvb tree if you have the
kernel headers, but the full kernel source may be required in order to use
make menuconfig / xconfig / qconfig.

If you are experiencing problems building the v4l-dvb tree, please try
building against a vanilla kernel before reporting a bug.

Vanilla kernels are available at http://kernel.org.
On most distros, this will compile a newly downloaded kernel:

cp /boot/config-`uname -r` <your kernel dir>/.config
cd <your kernel dir>
make all modules_install install

Please see your distro's web site for instructions to build a new kernel.

Created default (all yes) .config file
./scripts/make_myconfig.pl
make[1]: Выход из каталога `/home/nikarlov/saa716x-59dd985d4473/v4l'
make[1]: Вход в каталог `/home/nikarlov/saa716x-59dd985d4473/v4l'
perl scripts/make_config_compat.pl /lib/modules/2.6.28-15-generic/build ./.myconfig ./config-compat.h
creating symbolic links...
ln -sf . oss
Kernel build directory is /lib/modules/2.6.28-15-generic/build
make -C /lib/modules/2.6.28-15-generic/build SUBDIRS=/home/nikarlov/saa716x-59dd985d4473/v4l  modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.28-15-generic'
  CC [M]  /home/nikarlov/saa716x-59dd985d4473/v4l/dvbdev.o
  CC [M]  /home/nikarlov/saa716x-59dd985d4473/v4l/dmxdev.o
  CC [M]  /home/nikarlov/saa716x-59dd985d4473/v4l/dvb_demux.o
  CC [M]  /home/nikarlov/saa716x-59dd985d4473/v4l/dvb_filter.o
  CC [M]  /home/nikarlov/saa716x-59dd985d4473/v4l/dvb_ca_en50221.o
  CC [M]  /home/nikarlov/saa716x-59dd985d4473/v4l/dvb_frontend.o
  CC [M]  /home/nikarlov/saa716x-59dd985d4473/v4l/dvb_net.o
  CC [M]  /home/nikarlov/saa716x-59dd985d4473/v4l/dvb_ringbuffer.o
  CC [M]  /home/nikarlov/saa716x-59dd985d4473/v4l/dvb_math.o
  CC [M]  /home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_pci.o
  CC [M]  /home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_i2c.o
  CC [M]  /home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_cgu.o
  CC [M]  /home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_msi.o
  CC [M]  /home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_dma.o
  CC [M]  /home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_vip.o
  CC [M]  /home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_aip.o
  CC [M]  /home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_phi.o
  CC [M]  /home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_boot.o
  CC [M]  /home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_fgpi.o
  CC [M]  /home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_adap.o
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_adap.c: In function 'saa716x_frontend_power':
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_adap.c:76: warning: unused variable 'adapter'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_adap.c: In function 'saa716x_frontend_reset':
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_adap.c:91: warning: unused variable 'adapter'
  CC [M]  /home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_gpio.o
  CC [M]  /home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_greg.o
  CC [M]  /home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.o
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c: In function 'saa716x_eeprom_header':
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:115: warning: format '%d' expects type 'int', but argument 4 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:115: warning: format '%d' expects type 'int', but argument 4 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:115: warning: format '%d' expects type 'int', but argument 4 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:115: warning: format '%d' expects type 'int', but argument 4 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:115: warning: format '%d' expects type 'int', but argument 2 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c: In function 'saa716x_decoder_info':
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:239: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:239: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:239: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:239: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:239: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c: In function 'saa716x_gpio_info':
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:270: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:270: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:270: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:270: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:270: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c: In function 'saa716x_video_decoder_info':
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:307: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:307: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:307: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:307: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:307: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c: In function 'saa716x_audio_decoder_info':
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:388: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:388: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:388: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:388: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:388: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c: In function 'saa716x_event_source_info':
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:419: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:419: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:419: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:419: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:419: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c: In function 'saa716x_crossbar_info':
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:450: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:450: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:450: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:450: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:450: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c: In function 'saa716x_tuner_info':
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:488: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:488: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:488: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:488: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:488: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c: In function 'saa716x_pll_info':
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:518: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:518: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:518: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:518: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:518: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c: In function 'saa716x_channel_decoder_info':
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:548: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:548: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:548: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:548: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:548: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c: In function 'saa716x_encoder_info':
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:578: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:578: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:578: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:578: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:578: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c: In function 'saa716x_ir_info':
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:608: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:608: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:608: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:608: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:608: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c: In function 'saa716x_eeprom_info':
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:639: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:639: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:639: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:639: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:639: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c: In function 'saa716x_filter_info':
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:670: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:670: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:670: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:670: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:670: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c: In function 'saa716x_streamdev_info':
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:701: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:701: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:701: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:701: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:701: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c: In function 'saa716x_device_info':
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:765: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:765: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:765: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:765: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_rom.c:765: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int'
  CC [M]  /home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_spi.o
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_spi.c:90: warning: 'saa716x_spi_xfer' defined but not used
  LD [M]  /home/nikarlov/saa716x-59dd985d4473/v4l/dvb-core.o
  LD [M]  /home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_core.o
  CC [M]  /home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_budget.o
  CC [M]  /home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_hybrid.o
  CC [M]  /home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_ff.o
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_ff.c:47:22: error: stv6110x.h: No such file or directory
In file included from /home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_ff.c:48:
/home/nikarlov/saa716x-59dd985d4473/v4l/stv090x.h:79: warning: 'enum tuner_mode' declared inside parameter list
/home/nikarlov/saa716x-59dd985d4473/v4l/stv090x.h:79: warning: its scope is only this definition or declaration, which is probably not what you want
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_ff.c: In function 'saa716x_ff_pci_probe':
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_ff.c:581: warning: unused variable 'timeout'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_ff.c: At top level:
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_ff.c:1104: error: variable 'tt6400_stv6110x_config' has initializer but incomplete type
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_ff.c:1105: error: unknown field 'addr' specified in initializer
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_ff.c:1105: warning: excess elements in struct initializer
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_ff.c:1105: warning: (near initialization for 'tt6400_stv6110x_config')
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_ff.c:1106: error: unknown field 'refclk' specified in initializer
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_ff.c:1106: warning: excess elements in struct initializer
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_ff.c:1106: warning: (near initialization for 'tt6400_stv6110x_config')
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_ff.c: In function 'saa716x_s26400_frontend_attach':
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_ff.c:1142: error: 'stv6110x_attach' undeclared (first use in this function)
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_ff.c:1142: error: (Each undeclared identifier is reported only once
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_ff.c:1142: error: for each function it appears in.)
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_ff.c:1142: warning: type defaults to 'int' in declaration of '__a'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_ff.c:1142: warning: type defaults to 'int' in declaration of 'type name'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_ff.c:1142: warning: cast from pointer to integer of different size
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_ff.c:1142: warning: type defaults to 'int' in declaration of 'type name'
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_ff.c:1142: warning: cast from pointer to integer of different size
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_ff.c:1142: error: called object '__a' is not a function
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_ff.c:1147: error: dereferencing pointer to incomplete type
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_ff.c:1148: error: dereferencing pointer to incomplete type
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_ff.c:1149: error: dereferencing pointer to incomplete type
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_ff.c:1150: error: dereferencing pointer to incomplete type
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_ff.c:1151: error: dereferencing pointer to incomplete type
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_ff.c:1152: error: dereferencing pointer to incomplete type
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_ff.c:1153: error: dereferencing pointer to incomplete type
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_ff.c:1154: error: dereferencing pointer to incomplete type
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_ff.c:1155: error: dereferencing pointer to incomplete type
/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_ff.c:1156: error: dereferencing pointer to incomplete type
make[3]: *** [/home/nikarlov/saa716x-59dd985d4473/v4l/saa716x_ff.o] Error 1
make[2]: *** [_module_/home/nikarlov/saa716x-59dd985d4473/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.28-15-generic'
make[1]: *** [default] Ошибка 2
make[1]: Выход из каталога `/home/nikarlov/saa716x-59dd985d4473/v4l'
make: *** [all] Ошибка 2
make: Выход из каталога `/home/nikarlov/saa716x-59dd985d4473'
Подскажите, в чём проблема?

Отправлено: 13:00, 04-10-2009 | #5


Аватара для Naiad

Ветеран


Сообщения: 657
Благодарности: 119

Профиль | Отправить PM | Цитировать


Цитата nikarlov:
If you are experiencing problems building the v4l-dvb tree, please try
building against a vanilla kernel before reporting a bug. »
Попробуйте так сделать

-------
http://img382.imageshack.us/img382/3248/96854284.jpg


Отправлено: 17:17, 04-10-2009 | #6


Новый участник


Сообщения: 2
Благодарности: 0

Профиль | Отправить PM | Цитировать


Не хочется ядро пересобирать...

Отправлено: 17:38, 04-10-2009 | #7



Компьютерный форум OSzone.net » Linux и FreeBSD » Железо в Linux » [решено] Ошибка компиляции драйвера для AverTV

Участник сейчас на форуме Участник сейчас на форуме Участник вне форума Участник вне форума Автор темы Автор темы Шапка темы Сообщение прикреплено

Похожие темы
Название темы Автор Информация о форуме Ответов Последнее сообщение
FreeBSD - ошибка компиляции ядра 7.1 kirimey Общий по FreeBSD 7 02-05-2009 15:48
Софт/IDE - Помогите новичку, ошибка при компиляции. KEKS-KEKS Программирование и базы данных 6 16-07-2007 22:46
[решено] Ошибка при компиляции из портов - Your Makefile has been rebuilt Forpost Общий по FreeBSD 13 20-08-2006 21:52
Ошибка при компиляции ядра Junior Penguin Общий по Linux 22 21-11-2005 11:01
Ошибка компиляции ifmail BurzumII Программное обеспечение Linux и FreeBSD 6 09-01-2005 19:54




 
Переход