------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=123000
Summary: libkopete/avdevice compile error on *BSD
Product: kopete
Version: unspecified
Platform: FreeBSD Ports
OS/Version: FreeBSD
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: kopete-devel kde org
ReportedBy: freebsd chillt de
Version: (using KDE KDE 3.5.1)
Installed from: FreeBSD Ports
Compiler: gcc version 3.4.4 [FreeBSD] 20050518 Configured with:
FreeBSD/i386 system compile
OS: FreeBSD
Revision 514015 of libkopete/avdevice/videodevice.h introduced a change that
breaks compilation on *BSD in general as well as Linux systems without V4L2.
The symbol V4L2_STD_PAL_H is now used in the code even if the system is not
Linux or V4L2 is not present. In the current revision of videodevice.h, 514389,
the problem is to be found in line 141:
STANDARD_PAL = ( STANDARD_PAL_BG | STANDARD_PAL_DK |
V4L2_STD_PAL_H | STANDARD_PAL_I ),
The actual compiler error is:
gmake[2]: Entering directory
`/home/undo/Hacking/Kopete/0.12/kopete/libkopete/avdevice'
if /usr/local/bin/bash ../../../libtool --silent --tag=CXX --mode=compile g++
-DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/local/include -I/usr/X11R6/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/usr/local/include -I/usr/X11R6/include
-I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_THREAD_SAFE -Wno-long-long
-Wundef -Wall -W -Wpointer-arith -g3 -fno-inline -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 -MT
videodevice.lo -MD -MP -MF ".deps/videodevice.Tpo" -c -o videodevice.lo
videodevice.cpp; \
then mv -f ".deps/videodevice.Tpo" ".deps/videodevice.Plo"; else rm -f
".deps/videodevice.Tpo"; exit 1; fi
In file included from videodevice.cpp:26:
videoinput.h:23:23: asm/types.h: No such file or directory
In file included from videodevice.cpp:27:
videodevice.h:141: error: `V4L2_STD_PAL_H' was not declared in this scope
videodevice.h:141: error: enumerator value for `STANDARD_PAL' not integer
constant
videodevice.cpp:667: warning: unused parameter 'newformat'
videodevice.cpp: In member function `int
Kopete::AV::VideoDevice::selectInput(int)':
videodevice.cpp:752: warning: comparison between signed and unsigned integer
expressions
videodevice.cpp: In member function `int
Kopete::AV::VideoDevice::setInputParameters()':
videodevice.cpp:798: warning: comparison between signed and unsigned integer
expressions
videodevice.cpp: At global scope:
videodevice.cpp:1530: warning: unused parameter 'palette'
videodevice.cpp:1581: warning: unused parameter 'pixelformat'
videodevice.cpp:1684: warning: unused parameter 'pixelformat'
videodevice.cpp:1735: warning: unused parameter 'standard'
videodevice.cpp:1875: warning: unused parameter 'standard'
gmake[2]: *** [videodevice.lo] Error 1
gmake[2]: Leaving directory
`/home/undo/Hacking/Kopete/0.12/kopete/libkopete/avdevice'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/undo/Hacking/Kopete/0.12/kopete/libkopete'
gmake: *** [all-recursive] Error 1
Since a number of changes went into libkopete/avdevice recently, this might not
be the only compilation breakage introduced. Once this bug is fixed, I am happy
to recompile and see whether I get any more errors.
_______________________________________________
kopete-devel mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kopete-devel