Skip to contentSkip to conversation

problems compiling af9015 on fedora 9

linux-dvb Thomas 2 participants 5 messages Sep 16, 2008 Media (V4L/DVB)

lore
Share & tools
lore

Thomas

author
#0 lore raw

Hi List,

i get this error:

#make

....

  CC [M]  /root/af9015/v4l/pluto2.o
  LD [M]  /root/af9015/v4l/sms1xxx.o
  LD [M]  /root/af9015/v4l/snd-bt87x.o
  LD [M]  /root/af9015/v4l/snd-tea575x-tuner.o
  Building modules, stage 2.
  MODPOST 273 modules
WARNING: "__udivdi3" [/root/af9015/v4l/af9013.ko] undefined!
  CC      /root/af9015/v4l/adv7170.mod.o
  LD [M]  /root/af9015/v4l/adv7170.ko
  CC      /root/af9015/v4l/adv7175.mod.o
  LD [M]  /root/af9015/v4l/adv7175.ko

.....

after connecting the device i have no frontend :(

kernel: dvb-usb: found a 'Afatech AF9015 DVB-T USB2.0 stick' in cold state, will try to load a firmware
kernel: dvb-usb: downloading firmware from file 'dvb-usb-af9015.fw'
kernel: usb 2-5: USB disconnect, address 3
kernel: dvb-usb: generic DVB-USB module successfully deinitialized and disconnected.
kernel: usb 2-5: new high speed USB device using ehci_hcd and address 4
kernel: usb 2-5: configuration #1 chosen from 1 choice
kernel: input: Afatech DVB-T 2 as /devices/pci0000:00/0000:00:1d.7/usb2/2-5/2-5:1.1/input/input10
kernel: input,hidraw0: USB HID v1.01 Keyboard [Afatech DVB-T 2] on usb-0000:00:1d.7-5
kernel: usb 2-5: New USB device found, idVendor=15a4, idProduct=9016
kernel: usb 2-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
kernel: usb 2-5: Product: DVB-T 2
kernel: usb 2-5: Manufacturer: Afatech
kernel: usb 2-5: SerialNumber: 010101010600001
kernel: dvb-usb: found a 'Afatech AF9015 DVB-T USB2.0 stick' in warm state.
kernel: dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
kernel: DVB: registering new adapter (Afatech AF9015 DVB-T USB2.0 stick)
kernel: af9013: Unknown symbol __udivdi3
modprobe: FATAL: Error inserting af9013 (/lib/modules/2.6.25.14-108.fc9.i686/kernel/drivers/media/dvb/frontends/af9013.ko): Unknown symbol in module, or unknown parameter (see dmesg)
kernel: DVB: Unable to find symbol af9013_attach()
kernel: dvb-usb: no frontend was attached by 'Afatech AF9015 DVB-T USB2.0 stick'
kernel: dvb-usb: Afatech AF9015 DVB-T USB2.0 stick successfully initialized and connected.
kernel: usbcore: registered new interface driver dvb_usb_af9015

can someone explain whats going wrong?

Best Regards

Thomas

Signature · 8 lines
[:O]###[O:]



_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
#1 lore raw
Quoted 18 lines · Thomas

Hi List,

i get this error:

#make

....

  CC [M]  /root/af9015/v4l/pluto2.o
  LD [M]  /root/af9015/v4l/sms1xxx.o
  LD [M]  /root/af9015/v4l/snd-bt87x.o
  LD [M]  /root/af9015/v4l/snd-tea575x-tuner.o
  Building modules, stage 2.
  MODPOST 273 modules
WARNING: "__udivdi3" [/root/af9015/v4l/af9013.ko] undefined!
  CC      /root/af9015/v4l/adv7170.mod.o
  LD [M]  /root/af9015/v4l/adv7170.ko
  CC      /root/af9015/v4l/adv7175.mod.o
  LD [M]  /root/af9015/v4l/adv7175.ko
Quoted 1 line

.....

For me it compiles like a charm. I have Fedora 9 x86_64 system. Are you really sure you are using latest tree from
http://linuxtv.org/hg/~anttip/af9015 ?

Quoted 26 lines

after connecting the device i have no frontend :(

kernel: dvb-usb: found a 'Afatech AF9015 DVB-T USB2.0 stick' in cold state, will try to load a firmware
kernel: dvb-usb: downloading firmware from file 'dvb-usb-af9015.fw'
kernel: usb 2-5: USB disconnect, address 3
kernel: dvb-usb: generic DVB-USB module successfully deinitialized and disconnected.
kernel: usb 2-5: new high speed USB device using ehci_hcd and address 4
kernel: usb 2-5: configuration #1 chosen from 1 choice
kernel: input: Afatech DVB-T 2 as /devices/pci0000:00/0000:00:1d.7/usb2/2-5/2-5:1.1/input/input10
kernel: input,hidraw0: USB HID v1.01 Keyboard [Afatech DVB-T 2] on usb-0000:00:1d.7-5
kernel: usb 2-5: New USB device found, idVendor=15a4, idProduct=9016
kernel: usb 2-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
kernel: usb 2-5: Product: DVB-T 2
kernel: usb 2-5: Manufacturer: Afatech
kernel: usb 2-5: SerialNumber: 010101010600001
kernel: dvb-usb: found a 'Afatech AF9015 DVB-T USB2.0 stick' in warm state.
kernel: dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
kernel: DVB: registering new adapter (Afatech AF9015 DVB-T USB2.0 stick)
kernel: af9013: Unknown symbol __udivdi3
modprobe: FATAL: Error inserting af9013 (/lib/modules/2.6.25.14-108.fc9.i686/kernel/drivers/media/dvb/frontends/af9013.ko): Unknown symbol in module, or unknown parameter (see dmesg)
kernel: DVB: Unable to find symbol af9013_attach()
kernel: dvb-usb: no frontend was attached by 'Afatech AF9015 DVB-T USB2.0 stick'
kernel: dvb-usb: Afatech AF9015 DVB-T USB2.0 stick successfully initialized and connected.
kernel: usbcore: registered new interface driver dvb_usb_af9015

Quoted 9 lines

can someone explain whats going wrong?

Best Regards

Thomas

regards
Antti

Signature · 6 lines
http://palosaari.fi/

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
author
#2 lore raw

yes, it is the latest version:

hg update
0 files updated, 0 files merged, 0 files removed, 0 files unresolved

hg log

changeset:   8966:86a15e6b2d89
tag:         tip
user:        Antti Palosaari <[email protected]>
date:        Mon Sep 15 23:18:09 2008 +0300
summary:     initial driver for af9015 chipset

i have the same error on 2 fedora 9 systems
(one of them is running rawhide)
and also on my fedora 8 :(

these errors appears only on fedora 9:
CC [M] /home/thomas/af9015-86a15e6b2d89/v4l/af9013.o
/home/thomas/af9015-86a15e6b2d89/v4l/af9013.c: In function 'af9013_download_firmware':
/home/thomas/af9015-86a15e6b2d89/v4l/af9013.c:1497: warning: assignment discards qualifiers from pointer target type

CC [M] /home/thomas/af9015-86a15e6b2d89/v4l/af9015.o
/home/thomas/af9015-86a15e6b2d89/v4l/af9015.c: In function 'af9015_download_firmware':
/home/thomas/af9015-86a15e6b2d89/v4l/af9015.c:665: warning: assignment discards qualifiers from pointer target type

Quoted 72 lines · Antti Palosaari
Quoted 18 lines · Thomas

Hi List,

i get this error:

#make

....

  CC [M]  /root/af9015/v4l/pluto2.o
  LD [M]  /root/af9015/v4l/sms1xxx.o
  LD [M]  /root/af9015/v4l/snd-bt87x.o
  LD [M]  /root/af9015/v4l/snd-tea575x-tuner.o
  Building modules, stage 2.
  MODPOST 273 modules
WARNING: "__udivdi3" [/root/af9015/v4l/af9013.ko] undefined!
  CC      /root/af9015/v4l/adv7170.mod.o
  LD [M]  /root/af9015/v4l/adv7170.ko
  CC      /root/af9015/v4l/adv7175.mod.o
  LD [M]  /root/af9015/v4l/adv7175.ko
Quoted 1 line

.....

For me it compiles like a charm. I have Fedora 9 x86_64 system. Are you really sure you are using latest tree from
http://linuxtv.org/hg/~anttip/af9015 ?

Quoted 36 lines

after connecting the device i have no frontend :(

kernel: dvb-usb: found a 'Afatech AF9015 DVB-T USB2.0 stick' in cold state, will try to load a firmware
kernel: dvb-usb: downloading firmware from file 'dvb-usb-af9015.fw'
kernel: usb 2-5: USB disconnect, address 3
kernel: dvb-usb: generic DVB-USB module successfully deinitialized and disconnected.
kernel: usb 2-5: new high speed USB device using ehci_hcd and address 4
kernel: usb 2-5: configuration #1 chosen from 1 choice
kernel: input: Afatech DVB-T 2 as /devices/pci0000:00/0000:00:1d.7/usb2/2-5/2-5:1.1/input/input10
kernel: input,hidraw0: USB HID v1.01 Keyboard [Afatech DVB-T 2] on usb-0000:00:1d.7-5
kernel: usb 2-5: New USB device found, idVendor=15a4, idProduct=9016
kernel: usb 2-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
kernel: usb 2-5: Product: DVB-T 2
kernel: usb 2-5: Manufacturer: Afatech
kernel: usb 2-5: SerialNumber: 010101010600001
kernel: dvb-usb: found a 'Afatech AF9015 DVB-T USB2.0 stick' in warm state.
kernel: dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
kernel: DVB: registering new adapter (Afatech AF9015 DVB-T USB2.0 stick)
kernel: af9013: Unknown symbol __udivdi3
modprobe: FATAL: Error inserting af9013 (/lib/modules/2.6.25.14-108.fc9.i686/kernel/drivers/media/dvb/frontends/af9013.ko):
Unknown symbol in module, or unknown parameter (see dmesg)
kernel: DVB: Unable to find symbol af9013_attach()
kernel: dvb-usb: no frontend was attached by 'Afatech AF9015 DVB-T USB2.0 stick'
kernel: dvb-usb: Afatech AF9015 DVB-T USB2.0 stick successfully initialized and connected.
kernel: usbcore: registered new interface driver dvb_usb_af9015

Quoted 9 lines

can someone explain whats going wrong?

Best Regards

Thomas

regards
Antti

Signature · 6 lines
[:O]###[O:]

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
#3 lore raw
Quoted 23 lines · Thomas

yes, it is the latest version:

hg update
0 files updated, 0 files merged, 0 files removed, 0 files unresolved

hg log

changeset:   8966:86a15e6b2d89
tag:         tip
user:        Antti Palosaari <[email protected]>
date:        Mon Sep 15 23:18:09 2008 +0300
summary:     initial driver for af9015 chipset

i have the same error on 2 fedora 9 systems
(one of them is running rawhide)
and also on my fedora 8 :(

these errors appears only on fedora 9:
CC [M] /home/thomas/af9015-86a15e6b2d89/v4l/af9013.o
/home/thomas/af9015-86a15e6b2d89/v4l/af9013.c: In function 'af9013_download_firmware':
/home/thomas/af9015-86a15e6b2d89/v4l/af9013.c:1497: warning: assignment discards qualifiers from pointer target type

Quoted 3 lines

CC [M] /home/thomas/af9015-86a15e6b2d89/v4l/af9015.o
/home/thomas/af9015-86a15e6b2d89/v4l/af9015.c: In function 'af9015_download_firmware':
/home/thomas/af9015-86a15e6b2d89/v4l/af9015.c:665: warning: assignment discards qualifiers from pointer target type

I removed u64 div from af9013, could you test again? It could fix af9013 compile error, but it does not remove warning coming from download_firmware.

regards,
Antti

Signature · 6 lines
http://palosaari.fi/

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
author
#4 lore raw

problem resolved (also the warnings are gone)

thank you

thomas

Quoted 32 lines · Antti Palosaari
Quoted 25 lines · Thomas

yes, it is the latest version:

hg update
0 files updated, 0 files merged, 0 files removed, 0 files unresolved

hg log

changeset:   8966:86a15e6b2d89
tag:         tip
user:        Antti Palosaari <[email protected]>
date:        Mon Sep 15 23:18:09 2008 +0300
summary:     initial driver for af9015 chipset

i have the same error on 2 fedora 9 systems
(one of them is running rawhide)
and also on my fedora 8 :(

these errors appears only on fedora 9:
CC [M] /home/thomas/af9015-86a15e6b2d89/v4l/af9013.o
/home/thomas/af9015-86a15e6b2d89/v4l/af9013.c: In function 'af9013_download_firmware':
/home/thomas/af9015-86a15e6b2d89/v4l/af9013.c:1497: warning:
assignment discards qualifiers from pointer target type

Quoted 5 lines

CC [M] /home/thomas/af9015-86a15e6b2d89/v4l/af9015.o
/home/thomas/af9015-86a15e6b2d89/v4l/af9015.c: In function 'af9015_download_firmware':
/home/thomas/af9015-86a15e6b2d89/v4l/af9015.c:665: warning: assignment discards qualifiers from pointer target type

Quoted 6 lines

I removed u64 div from af9013, could you test again? It could fix af9013 compile error, but it does not remove warning coming from download_firmware.

regards,
Antti

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb