On 10/16/06, Dan Nicholson <[EMAIL PROTECTED]> wrote:
On 10/16/06, Norman Urs Baier <[EMAIL PROTECTED]> wrote:
>
> make[4]: Entering directory
> `/usr/src/blfs/kdenetwork-3.5.5/kopete/libkopete/avdevice'
> /bin/sh ../../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H
> -I. -I. -I../../.. -I../../../kopete/protocols/gadu/libgadu
> -I/opt/kde-3.5.5/include -I/usr/lib/qt/include -I/usr/X11R6/include
> -DKDE_NO_COMPAT -DQT_NO_COMPAT -DQT_NO_CAST_ASCII -DQT_NO_ASCII_CAST
> -I../../../kopete/libkopete -I../../../kopete/libkopete
> -I../../../kopete/libkopete/avdevice -I../../../kopete/libkopete/ui
> -I../../../kopete/libkopete/ui -I../../../kopete/libkopete/private
> -I../../../kopete/libkopete/ui -I/opt/kde-3.5.5/include -I/usr/lib/qt/include
> -I/usr/X11R6/include  -DQT_THREAD_SUPPORT  -D_REENTRANT
> -D_FILE_OFFSET_BITS=64  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500
> -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W
> -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -Os -march=pentium3 -msse2 -msse
> -mmmx -fomit-frame-pointer -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  -c -o videodevice.lo videodevice.cpp
> /usr/include/linux/videodev2.h:622: error: '__s64' does not name a type

I think I might see the problem. I'm not sure this is an issue with
linux-libc-headers (probably not since no one's complained before).
__s64 is defined in asm/types.h and linux/types.h if __STRICT_ANSI__
is not defined. Kopete is being compiled with the -ansi switch to gcc,
which sets this. Try compiling without -ansi. I'm not sure how to do
this on Qt/KDE packages. Maybe there's a configure switch that sets
this. I'm not really familiar with those guys. Try ./configure --help
| grep -i ansi

I'm pretty sure this is the problem. linux-headers-2.6.19 might have
this fixed, but I don't see it in git yet. See this mailing post
(specifically identifies kopete):

http://www.ussg.iu.edu/hypermail/linux/kernel/0609.3/1418.html

There's a big patch at the bottom.

--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to