[Kstars-devel] build failure in indi on some linux archs

Sune Vuorela Sune at vuorela.dk
Tue Nov 27 11:19:06 CET 2007


Hi!

kstars (and thus kdeedu) fails to build on some linux archs (including sparc 
and powerpc)

/build/buildd/kdeedu-3.96.0/kstars/kstars/indi/libs/apogee/ApogeeUsbLinux.cpp:6:20: 
error: sys/io.h: No such file or directory

sys/io.h is not available on all archs.

From sys/io.h:

|   Portability note: not all Linux platforms support this call.  Most
|   platforms based on the PC I/O architecture probably will, however.
|   E.g., Linux/Alpha for Alpha PCs supports this. 

I tried on x86 to build kdeedu with the #include <sys/io.h> removed and it at 
least built fine. 
Is it safe to remove that include ?  Or does it have a special purpose?

build logs:  
http://experimental.debian.net/fetch.php?&pkg=kdeedu&ver=4%3A3.96.0-2&arch=powerpc&stamp=1195719663&file=log&as=raw
http://experimental.debian.net/fetch.php?&pkg=kdeedu&ver=4%3A3.96.0-2&arch=sparc&stamp=1195923545&file=log&as=raw


/Sune
-- 
Man, how to unlink the serial periferic?

From the control file inside MkLinuxPPC 93 you can't click the USB site to 
insert a application of the tower over a editor.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kstars-devel/attachments/20071127/3c1c826d/attachment.pgp 


More information about the Kstars-devel mailing list