Re: Possible issues with FC5's gcc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Paul Howarth kirjoitti viestissään (lähetysaika lauantai, 25. 
maaliskuuta 2006 18:30):
> >--------------------------------------------- compiling
> > /home/kdefc5/CVS/KDE-SVN/extragear/multimedia/kaffeine/src/i
> >nput/dvb/dvbevents.cpp g++ -DHAVE_CONFIG_H
> > -I./kaffeine/src/input/dvb
> > -I/home/kdefc5/CVS/KDE-SVN/extragear/multimedia/kaffeine/src
> >/input/dvb -I.
> > -I/home/kdefc5/CVS/KDE-SVN/extragear/multimedia/kaffeine/src
> >/input/ -I/usr/local/kde-svn-fc5/include
> > -I/usr/local/qt-src/include -I. -DQT_THREAD_SUPPORT
> > -D_REENTRANT -Wno-long-long -Wundef -ansi
> > -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion
> > -Wchar-subscripts -Wall -W -Wpointer-arith -g3 -fno-inline
> > -Wformat-security -Wmissing-format-attribute
> > -Wno-non-virtual-dtor -fno-exceptions -fno-check-new
> > -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST
> > -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION
> > -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL
> > -DQT_NO_COMPAT -DQT_NO_TRANSLATION -fPIC -DPIC
> > -c
> > /home/kdefc5/CVS/KDE-SVN/extragear/multimedia/kaffeine/src/i
> >nput/dvb/dvbevents.cpp -o
> > ./kaffeine/src/input/dvb/.libs/dvbevents.o
> > -Wp,-MD,./kaffeine/src/input/dvb/.deps/dvbevents.TUlo
> > /usr/include/linux/dvb/dmx.h:165: error: ‘__u64’ does not
> > name a type Error
>
> Not sure about that one, would need to be more familiar with
> the code.

This is an old problem with Kaffeine, the "-ansi" compiler flag 
used as default for all KDE packages disables various Gnu 
extensions, including the type __u64 which is defined 
in /usr/include/asm/types.h as:
#if defined(__GNUC__) && !defined(__STRICT_ANSI__)
typedef __signed__ long long __s64;
typedef unsigned long long __u64;
#endif

See the kaffeine-devel mailing list archive for a hack to work 
around the problem:
http://sourceforge.net/mailarchive/forum.php?thread_id=8771563&forum_id=38669

-- 
 Markku Kolkka
 [email protected]


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]
  Powered by Linux