Bug 151034 - Compile error in videocontrol.cpp __u64 under Solaris 2.8
Summary: Compile error in videocontrol.cpp __u64 under Solaris 2.8
Status: RESOLVED INTENTIONAL
Alias: None
Product: kopete
Classification: Unmaintained
Component: Audio/Video Plugin (other bugs)
Version First Reported In: unspecified
Platform: Compiled Sources Solaris
: NOR normal
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-19 14:05 UTC by John Talbot
Modified: 2007-12-11 05:03 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.