[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: --enable-final, audiocd, KDE_USE_FINAL, ordering
From: Lubos Lunak <l.lunak () sh ! cvut ! cz>
Date: 2001-04-02 20:59:56
[Download RAW message or body]
Dne po 2. duben 2001 22:32 Kurt Granroth napsal(a):
> Okay, on my linux 2.4.2 system (haven't tried on a different one), I
> can't compile audiocd with --enable-final.
>
> The problem happens when '#include <linux/cdrom.h>' is called before
> '#include <ksock.h>' which results in a LOT of errors and warnings
> similar to this:
> In file included from /opt/kde21/include/ksock.h:38,
> from cddb.cpp:33,
> from kio_audiocd_la.all_cpp.cpp:3:
> /usr/include/netinet/in.h:262: warning: `ntohl' redefined
> /usr/include/linux/byteorder/generic.h:169: warning: this is the location
> of the previous definition/
>
> This problem goes away if ksock.h is included before linux/cdrom.h.
> So as far as I can tell, there are several ways of fixing this, none
> of which I know how to do:
>
> 1) Find some magic #define that will allow netinet/in.h and the linux
> includes to work together
> 2) Figure out a way to dictate the order of the files in the all_cpp
> file
AFAIK the files in all_cpp file are in the same order they're listed in
Makefile.am .
> 3) Disable this module from being compiled with --enable-final using
> KDE_USE_FINAL somehow
>
> I don't know how to do the first and I couldn't find any examples of
> the last two.
>
> Comments?
Lubos Lunak
--
l.lunak@email.cz ; l.lunak@kde.org
http://dforce.sh.cvut.cz/~seli
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic