Bon, revenons à nos moutons...
J'ai encore une question et un problème.
Question : Comment faire pour pouvoir voir à distance mon desktop linux? (Genre remote desktop)
Problème : je dois compiler un driver et j'ai une erreur que je ne comprends pas.
Je peux la reproduire. J'ai réinstaller tout le système pour voir et c'est reproductible.
La compilation du driver nécessite les headers du kernel. Je les ai installés, mais je me demande si il ne s'y perds pas un peu dans les noms de répertoire.
tout est dans le spoiler.
opteron:/home/jc/ivtv-0.4.0/driver# make
created ivtv-svnversion.h
make CONFIG_VIDEO_IVTV=m -C /lib/modules/2.6.8-2-386/build M=/home/jc/ivtv-0.4.0
/driver modules
make[1]: Entering directory `/usr/src/kernel-headers-2.6.8-2-386'
CC [M] /home/jc/ivtv-0.4.0/driver/msp3400.o
In file included from include/asm/thread_info.h:16,
from include/linux/thread_info.h:21,
from include/linux/spinlock.h:12,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from /home/jc/ivtv-0.4.0/driver/msp3400.c:38:
include/asm/processor.h:87: error: array type has incomplete element type
In file included from /home/jc/ivtv-0.4.0/driver/msp3400.c:45:
include/linux/i2c.h:58: error: array type has incomplete element type
include/linux/i2c.h:205: error: array type has incomplete element type
/home/jc/ivtv-0.4.0/driver/msp3400.c: In function 'msp3400c_reset':
/home/jc/ivtv-0.4.0/driver/msp3400.c:173: warning: pointer targets in initializa
tion differ in signedness
/home/jc/ivtv-0.4.0/driver/msp3400.c:174: warning: pointer targets in initializa
tion differ in signedness
/home/jc/ivtv-0.4.0/driver/msp3400.c:177: warning: pointer targets in initializa
tion differ in signedness
/home/jc/ivtv-0.4.0/driver/msp3400.c:178: warning: pointer targets in initializa tion differ in signedness
/home/jc/ivtv-0.4.0/driver/msp3400.c:182: error: type of formal parameter 2 is i ncomplete
/home/jc/ivtv-0.4.0/driver/msp3400.c:183: error: type of formal parameter 2 is i ncomplete
/home/jc/ivtv-0.4.0/driver/msp3400.c:184: error: type of formal parameter 2 is i ncomplete
/home/jc/ivtv-0.4.0/driver/msp3400.c: In function 'msp3400c_read':
/home/jc/ivtv-0.4.0/driver/msp3400.c:206: error: type of formal parameter 2 is i ncomplete
/home/jc/ivtv-0.4.0/driver/msp3400.c: In function 'msp3400c_write':
/home/jc/ivtv-0.4.0/driver/msp3400.c:241: warning: pointer targets in passing ar gument 2 of 'i2c_master_send' differ in signedness
/home/jc/ivtv-0.4.0/driver/msp3400.c: In function 'msp_command':
/home/jc/ivtv-0.4.0/driver/msp3400.c:2060: warning: pointer targets in passing a rgument 2 of 'msp34xxg_get_v4l2_stereo' differ in signedness
/home/jc/ivtv-0.4.0/driver/msp3400.c:2060: warning: pointer targets in passing a rgument 3 of 'msp34xxg_get_v4l2_stereo' differ in signedness
make[2]: *** [/home/jc/ivtv-0.4.0/driver/msp3400.o] Error 1
make[1]: *** [_module_/home/jc/ivtv-0.4.0/driver] Error 2
make[1]: Leaving directory `/usr/src/kernel-headers-2.6.8-2-386'
make: *** [all] Error 2
opteron:/home/jc/ivtv-0.4.0/driver#
opteron:/home/jc/ivtv-0.4.0/driver# make
created ivtv-svnversion.h
make CONFIG_VIDEO_IVTV=m -C /lib/modules/2.6.8-2-386/build M=/home/jc/ivtv-0.4.0
/driver modules
make[1]: Entering directory `/usr/src/kernel-headers-2.6.8-2-386'
CC [M] /home/jc/ivtv-0.4.0/driver/msp3400.o
In file included from include/asm/thread_info.h:16,
from include/linux/thread_info.h:21,
from include/linux/spinlock.h:12,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from /home/jc/ivtv-0.4.0/driver/msp3400.c:38:
include/asm/processor.h:87: error: array type has incomplete element type
In file included from /home/jc/ivtv-0.4.0/driver/msp3400.c:45:
include/linux/i2c.h:58: error: array type has incomplete element type
include/linux/i2c.h:205: error: array type has incomplete element type
/home/jc/ivtv-0.4.0/driver/msp3400.c: In function 'msp3400c_reset':
/home/jc/ivtv-0.4.0/driver/msp3400.c:173: warning: pointer targets in initializa
tion differ in signedness
/home/jc/ivtv-0.4.0/driver/msp3400.c:174: warning: pointer targets in initializa
tion differ in signedness
/home/jc/ivtv-0.4.0/driver/msp3400.c:177: warning: pointer targets in initializa
tion differ in signedness
/home/jc/ivtv-0.4.0/driver/msp3400.c:178: warning: pointer targets in initializa tion differ in signedness
/home/jc/ivtv-0.4.0/driver/msp3400.c:182: error: type of formal parameter 2 is i ncomplete
/home/jc/ivtv-0.4.0/driver/msp3400.c:183: error: type of formal parameter 2 is i ncomplete
/home/jc/ivtv-0.4.0/driver/msp3400.c:184: error: type of formal parameter 2 is i ncomplete
/home/jc/ivtv-0.4.0/driver/msp3400.c: In function 'msp3400c_read':
/home/jc/ivtv-0.4.0/driver/msp3400.c:206: error: type of formal parameter 2 is i ncomplete
/home/jc/ivtv-0.4.0/driver/msp3400.c: In function 'msp3400c_write':
/home/jc/ivtv-0.4.0/driver/msp3400.c:241: warning: pointer targets in passing ar gument 2 of 'i2c_master_send' differ in signedness
/home/jc/ivtv-0.4.0/driver/msp3400.c: In function 'msp_command':
/home/jc/ivtv-0.4.0/driver/msp3400.c:2060: warning: pointer targets in passing a rgument 2 of 'msp34xxg_get_v4l2_stereo' differ in signedness
/home/jc/ivtv-0.4.0/driver/msp3400.c:2060: warning: pointer targets in passing a rgument 3 of 'msp34xxg_get_v4l2_stereo' differ in signedness
make[2]: *** [/home/jc/ivtv-0.4.0/driver/msp3400.o] Error 1
make[1]: *** [_module_/home/jc/ivtv-0.4.0/driver] Error 2
make[1]: Leaving directory `/usr/src/kernel-headers-2.6.8-2-386'
make: *** [all] Error 2
opteron:/home/jc/ivtv-0.4.0/driver#