[Kstars-devel] Re: KStars broken on PowerPC

Jason Harris kstars at 30doradus.org
Thu Aug 19 18:29:50 CEST 2004


Hi George,

Thanks for the notification.  We do check for the "LINUX" preprocessor define 
in kstars/indi/webcam/Makefile.am.  I guess we thought this was enough.  Do 
you know if there are architecture-specific definitions that we can check for 
instead?

thanks,
Jason

On Thursday 19 August 2004 08:48 am, you wrote:
> Hi Jason,
>
> Only just noticed this, but it seems KStars is broken on PowerPC (and
> possibly a lot more non-x86 archs, but I don't have the hardware to test).
> The problem is that you have included the header file "sys/io.h" in one of
> your files, and this header is specific to only a few platforms (x86 and
> alpha I think), so attempts to compile KStars on any platforms other than
> these will result in an error.
>
> I think this is present in HEAD as well as the 3.3 release.
>
> The files in question are:
>
> kstars/indi/webcam/port.cpp:  #include <sys/io.h>
> kstars/indi/webcam/port.h:  #include <sys/io.h>
>
> Regards,
>
> George

-- 
-------------------------------
KStars: KDE Desktop Planetarium
http://edu.kde.org/kstars


More information about the Kstars-devel mailing list