kioslave/media compile error

Adriaan de Groot groot at kde.org
Sat Dec 18 21:41:27 GMT 2004


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

On Saturday 18 December 2004 22:33, Dave Feustel wrote:
> On Saturday 18 December 2004 04:26 pm, Ismail Donmez wrote:
> > On Saturday 18 December 2004 23:23, Kévin Ottens wrote:
> > > Le Samedi 18 Décembre 2004 19:28, Thiago Macieira a écrit :
> > > > Let me repeat once again: userspace programs, like KDE, should NOT
> > > > include kernel header files. Copy the necessary structures to a
> > > > private header.
> > >
> > > Do you mean that I should recopy the necessary parts (one struct and
> > > several #define) of linux/cdrom.h into the cpp file? What happened if
> > > some of the #define'd values changes?
> >
> > Try,
> >
> > #undef __STRICT_ANSI__
> > #include <linux/cdrom.h>
> > #define __STRICT_ANSI_
>
> I'm trying to port k3b to openbsd. k3b also requires linux/cdrom.
> That file (nor the files included within it) is(are) not available in
> OpenBSD, so I am unable to complete the port at the moment.

We did the port to FreeBSD, so linux/cdrom isn't actually required. However, 
OpenBSD is probably not included in the forest of #ifdefs that is involved in 
the port, so it's still getting the default (Linux) code.



- -- 
Don't worry, 't ain't no shame to be stupid - ol' mouse.
    GPG: FEA2 A3FE Adriaan de Groot
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBxKQMdqzuAf6io/4RAuZkAJ9SeA9GSYvpiGqJ+qbSprvagn879QCfS6IB
bh18Sr6c5H+jNsNcKexXvFw=
=dfbY
-----END PGP SIGNATURE-----




More information about the kde-core-devel mailing list