[Kstars-devel] Problems compiling KStars from the CVS

Pablo de Vicente p.devicente at wanadoo.es
Fri Jan 30 07:45:58 CET 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

El Jueves, 29 de Enero de 2004 23:40, Jasem Mutlaq escribió:
> Hello Pablo,
>
> You need to update the configure.in.in in the kdeedu directory as it
> containes those conditionals.
>
> cheers,
> Jasem

Hello Jasem,

 Thanks. I update the top directory of kdeedu and that fixed it. Now I have 
problems during compilation. I think I am missing something which defines 
some types like uint32 or uint16...

Note that "error sintáctico" means "syntactic error"

depmode=gcc3 /bin/sh ../../../../admin/depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../../../..   -DQT_THREAD_SUPPORT  -D_REENTRANT  
- -ansi -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith 
- -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2   
- -Wformat-security -Wmissing-format-attribute -c `test -f 
'libfli-usb-sys-linux.c' || echo './'`libfli-usb-sys-linux.c
In file included from /usr/include/linux/usb.h:4,
                 from libfli-usb-sys-linux.c:46:
/usr/include/linux/mod_devicetable.h:18: error: error sintáctico before 
"__u32"
/usr/include/linux/mod_devicetable.h:20: error: error sintáctico before 
"class"
/usr/include/linux/mod_devicetable.h:21: error: error sintáctico before 
"driver_data"
/usr/include/linux/mod_devicetable.h:31: error: error sintáctico before 
"__u32"
/usr/include/linux/mod_devicetable.h:33: error: error sintáctico before 
"model_id"
/usr/include/linux/mod_devicetable.h:34: error: error sintáctico before 
"specifier_id"
/usr/include/linux/mod_devicetable.h:35: error: error sintáctico before 
"version"
/usr/include/linux/mod_devicetable.h:36: error: error sintáctico before 
"driver_data"
/usr/include/linux/mod_devicetable.h:99: error: error sintáctico before 
"__u16"
/usr/include/linux/mod_devicetable.h:103: error: error sintáctico before 
"idProduct"
/usr/include/linux/mod_devicetable.h:104: error: error sintáctico before 
"bcdDevice_lo"
/usr/include/linux/mod_devicetable.h:105: error: error sintáctico before 
"bcdDevice_hi"
/usr/include/linux/mod_devicetable.h:108: error: error sintáctico before 
"bDeviceClass"
/usr/include/linux/mod_devicetable.h:109: error: error sintáctico before 
"bDeviceSubClass"
/usr/include/linux/mod_devicetable.h:110: error: error sintáctico before 
"bDeviceProtocol"
/usr/include/linux/mod_devicetable.h:113: error: error sintáctico before 
"bInterfaceClass"
/usr/include/linux/mod_devicetable.h:114: error: error sintáctico before 
"bInterfaceSubClass"
/usr/include/linux/mod_devicetable.h:115: error: error sintáctico before 
"bInterfaceProtocol"
/usr/include/linux/mod_devicetable.h:118: error: error sintáctico before 
"driver_info"
/usr/include/linux/mod_devicetable.h:135: error: error sintáctico before 
"__u16"
/usr/include/linux/mod_devicetable.h:138: error: error sintáctico before 
"dev_type"
/usr/include/linux/mod_devicetable.h:139: error: error sintáctico before 
"cu_model"
/usr/include/linux/mod_devicetable.h:140: error: error sintáctico before 
"dev_model"
/usr/include/linux/mod_devicetable.h:142: error: error sintáctico before 
"driver_info"
In file included from libfli-usb-sys-linux.c:47:
/usr/include/linux/usbdevice_fs.h:49: error: variable or field `__user' 
declared void
/usr/include/linux/usbdevice_fs.h:49: error: error sintáctico before '*' token
/usr/include/linux/usbdevice_fs.h:56: error: variable or field `__user' 
declared void
/usr/include/linux/usbdevice_fs.h:56: error: error sintáctico before '*' token
/usr/include/linux/usbdevice_fs.h:100: error: variable or field `__user' 
declared void
/usr/include/linux/usbdevice_fs.h:100: error: error sintáctico before '*' 
token
/usr/include/linux/usbdevice_fs.h:109: error: error sintáctico before '}' 
token
/usr/include/linux/usbdevice_fs.h:116: error: variable or field `__user' 
declared void
/usr/include/linux/usbdevice_fs.h:116: error: error sintáctico before '*' 
token
In file included from libfli-usb-sys-linux.c:52:
libfli-libfli.h:155: error: conflicting types for `version'
/usr/include/linux/mod_devicetable.h:35: error: previous declaration of 
`version'
libfli-usb-sys-linux.c:78: aviso: no previous prototype for 
`unix_usbverifydescriptor'
libfli-usb-sys-linux.c: En la función `linux_bulktransfer':
libfli-usb-sys-linux.c:121: error: storage size of `bulk' isn't known
libfli-usb-sys-linux.c:134: error: invalid application of `sizeof' to an 
incomplete type
libfli-usb-sys-linux.c:121: aviso: unused variable `bulk'
make[3]: *** [libfli-usb-sys-linux.o] Error 1
make[3]: Leaving directory 
`/home/pablo/kde/kde-3-head-cvs/kdeedu/kstars/kstars/indi/fli'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/home/pablo/kde/kde-3-head-cvs/kdeedu/kstars/kstars/indi'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/home/pablo/kde/kde-3-head-cvs/kdeedu/kstars/kstars'
make: *** [all-recursive] Error 1

regards,

Pablo.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQFAGf2wSItUpHl6kJERAqRZAJ0fYr/bKPxQmcXO5yaykZWXVHPiagCgwxM1
wgqk6kGi+UuZ+6MfItmyg2g=
=n16h
-----END PGP SIGNATURE-----



More information about the Kstars-devel mailing list