Bug 151034

Summary: Compile error in videocontrol.cpp __u64 under Solaris 2.8
Product: [Unmaintained] kopete Reporter: John Talbot <zarf>
Component: Audio/Video PluginAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Solaris   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description John Talbot 2007-10-19 14:05:31 UTC
Version:            (using KDE KDE 3.5.8)
Installed from:    Compiled From Sources
Compiler:          gcc 3.3.4 
OS:                Solaris

/bin/bash ../../../libtool --silent --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../kopete/protocols/gadu/libgadu  -I/usr/zlocal3/KDE3.5.8/include -I/usr/zlocal3/qt/include   -I/usr/zlocal3/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/usr/zlocal3/KDE3.5.8/include -I/usr/zlocal3/qt/include   -I/usr/zlocal3/include -DQT_THREAD_SUPPORT -I//usr/zlocal3/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4 -D_FILE_OFFSET_BITS=32 -D_LARGE_FILES=1  -Wno-long-long -Wundef -Wall -W -Wpointer-arith -fno-builtin -g -O2 -fno-schedule-insns -fno-inline -Wno-non-virtual-dtor -fno-reorder-blocks -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -MT videocontrol.lo -MD -MP -MF .deps/videocontrol.Tpo -c -o videocontrol.lo videocontrol.cpp
In file included from videocontrol.cpp:18:
videocontrol.h:23:23: asm/types.h: No such file or directory
In file included from videocontrol.cpp:18:
videocontrol.h:68: error: '__u32' is used as a type, but is not defined as a 
   type.
videocontrol.h:71: error: '__s32' is used as a type, but is not defined as a 
   type.
videocontrol.h:72: error: '__s32' is used as a type, but is not defined as a 
   type.
videocontrol.h:73: error: '__s32' is used as a type, but is not defined as a 
   type.
videocontrol.h:74: error: '__s32' is used as a type, but is not defined as a 
   type.
videocontrol.h:75: error: '__u32' is used as a type, but is not defined as a 
   type.
make[4]: *** [videocontrol.lo] Error 1


It seems the class VideoControl has no code, just a constructor and destructor.  To get around this compile error, I blanked out videocontrol.h and videocontrol.h.cpp. There were a couple of references to VideoControl, those I just removed.  This makes the code like 3.5.7. Not a real fix, but it keeps me going.
Comment 1 Matt Rogers 2007-12-11 05:03:01 UTC
videocontrol.h and videocontrol.cpp no longer exist under KDE 4.0. If you still have problems with compiling Kopete on Solaris for KDE 4.0 that are related to the audio video plugin, please file a bug for them. Thanks.