ok ai vai

depois do make clean

make e ai esta a saida:

make -C /lib/modules/2.6.24.5-smp/build SUBDIRS=/home/richard/tmp/
m560x-driver/m560x/trunk/km_m560x modules
make[1]: Entrando no diretório `/usr/src/linux-2.6.24.5'
  CC [M]  /home/richard/tmp/m560x-driver/m560x/trunk/km_m560x/
m560x_core.o
/home/richard/tmp/m560x-driver/m560x/trunk/km_m560x/m560x_core.c: In
function 'show_model':
/home/richard/tmp/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1615:
warning: initialization from incompatible pointer type
/home/richard/tmp/m560x-driver/m560x/trunk/km_m560x/m560x_core.c: In
function 'show_in_use':
/home/richard/tmp/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1616:
warning: initialization from incompatible pointer type
/home/richard/tmp/m560x-driver/m560x/trunk/km_m560x/m560x_core.c: In
function 'show_streaming':
/home/richard/tmp/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1617:
warning: initialization from incompatible pointer type
/home/richard/tmp/m560x-driver/m560x/trunk/km_m560x/m560x_core.c: In
function 'show_palette':
/home/richard/tmp/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1618:
warning: initialization from incompatible pointer type
/home/richard/tmp/m560x-driver/m560x/trunk/km_m560x/m560x_core.c: In
function 'show_frames_total':
/home/richard/tmp/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1619:
warning: initialization from incompatible pointer type
/home/richard/tmp/m560x-driver/m560x/trunk/km_m560x/m560x_core.c: In
function 'show_frames_read':
/home/richard/tmp/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1620:
warning: initialization from incompatible pointer type
/home/richard/tmp/m560x-driver/m560x/trunk/km_m560x/m560x_core.c: In
function 'show_packets_dropped':
/home/richard/tmp/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1621:
warning: initialization from incompatible pointer type
/home/richard/tmp/m560x-driver/m560x/trunk/km_m560x/m560x_core.c: In
function 'show_decoding_errors':
/home/richard/tmp/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1622:
warning: initialization from incompatible pointer type
/home/richard/tmp/m560x-driver/m560x/trunk/km_m560x/m560x_core.c: In
function 'm560x_create_sysfs_files':
/home/richard/tmp/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1626:
warning: passing argument 2 of 'video_device_create_file' from
incompatible pointer type
/home/richard/tmp/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1627:
warning: passing argument 2 of 'video_device_create_file' from
incompatible pointer type
/home/richard/tmp/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1628:
warning: passing argument 2 of 'video_device_create_file' from
incompatible pointer type
/home/richard/tmp/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1629:
warning: passing argument 2 of 'video_device_create_file' from
incompatible pointer type
/home/richard/tmp/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1630:
warning: passing argument 2 of 'video_device_create_file' from
incompatible pointer type
/home/richard/tmp/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1631:
warning: passing argument 2 of 'video_device_create_file' from
incompatible pointer type
/home/richard/tmp/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1632:
warning: passing argument 2 of 'video_device_create_file' from
incompatible pointer type
/home/richard/tmp/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1633:
warning: passing argument 2 of 'video_device_create_file' from
incompatible pointer type
/home/richard/tmp/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1626:
warning: ignoring return value of 'video_device_create_file', declared
with attribute warn_unused_result
/home/richard/tmp/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1627:
warning: ignoring return value of 'video_device_create_file', declared
with attribute warn_unused_result
/home/richard/tmp/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1628:
warning: ignoring return value of 'video_device_create_file', declared
with attribute warn_unused_result
/home/richard/tmp/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1629:
warning: ignoring return value of 'video_device_create_file', declared
with attribute warn_unused_result
/home/richard/tmp/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1630:
warning: ignoring return value of 'video_device_create_file', declared
with attribute warn_unused_result
/home/richard/tmp/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1631:
warning: ignoring return value of 'video_device_create_file', declared
with attribute warn_unused_result
/home/richard/tmp/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1632:
warning: ignoring return value of 'video_device_create_file', declared
with attribute warn_unused_result
/home/richard/tmp/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1633:
warning: ignoring return value of 'video_device_create_file', declared
with attribute warn_unused_result
/home/richard/tmp/m560x-driver/m560x/trunk/km_m560x/m560x_core.c: In
function 'm560x_remove_sysfs_files':
/home/richard/tmp/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1638:
warning: passing argument 2 of 'video_device_remove_file' from
incompatible pointer type
/home/richard/tmp/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1639:
warning: passing argument 2 of 'video_device_remove_file' from
incompatible pointer type
/home/richard/tmp/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1640:
warning: passing argument 2 of 'video_device_remove_file' from
incompatible pointer type
/home/richard/tmp/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1641:
warning: passing argument 2 of 'video_device_remove_file' from
incompatible pointer type
/home/richard/tmp/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1642:
warning: passing argument 2 of 'video_device_remove_file' from
incompatible pointer type
/home/richard/tmp/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1643:
warning: passing argument 2 of 'video_device_remove_file' from
incompatible pointer type
/home/richard/tmp/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1644:
warning: passing argument 2 of 'video_device_remove_file' from
incompatible pointer type
/home/richard/tmp/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1645:
warning: passing argument 2 of 'video_device_remove_file' from
incompatible pointer type
/home/richard/tmp/m560x-driver/m560x/trunk/km_m560x/m560x_core.c: In
function 'usb_m560x_probe':
/home/richard/tmp/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:2831:
error: 'struct video_device' has no member named 'hardware'
make[2]: ** [/home/richard/tmp/m560x-driver/m560x/trunk/km_m560x/
m560x_core.o] Erro 1
make[1]: ** [_module_/home/richard/tmp/m560x-driver/m560x/trunk/
km_m560x] Erro 2
make[1]: Saindo do diretório `/usr/src/linux-2.6.24.5'
make: ** [all] Erro 2

Espero que isto ajude

--~--~---------~--~----~------------~-------~--~----~
GUS-BR - Grupo de Usuários de Slackware Brasil
http://www.slackwarebrasil.org/
http://groups.google.com/group/slack-users-br
-~----------~----~----~----~------~----~------~--~---

Responder a