pwlib compilation error
- From: Frank Solensky <frank solensky org>
- To: garnome-list gnome org
- Subject: pwlib compilation error
- Date: Sun, 21 May 2006 10:47:13 -0400
Garnome 2.15.2.1
While building pwlib to satisfy dependencies from opal and ekiga, I ran
into the following:
---------------
make[7]: Entering directory `/home/fsolensky/gnome/garnome-2.15.2.1/bootstrap/pwlib/work/main.d/pwlib-1.10.0/plugins/vidinput_v4l'
mkdir -p ../pwlib/device/videoinput
ccache g++ -g \
-I/home/fsolensky/gnome/garnome/include \
-L/home/fsolensky/gnome/garnome/lib \
-march=pentium3 -msse -O2 -pipe \
-D_REENTRANT -Wall -fPIC -DPIC \
-I/home/fsolensky/gnome/garnome-2.15.2.1/bootstrap/pwlib/work/main.d/pwlib-1.10.0/include \
-I. -shared vidinput_v4l.cxx -o ../pwlib/device/videoinput/v4l_pwplugin.so
vidinput_v4l.cxx:245:28: error: macro "PCREATE_VIDINPUT_PLUGIN" requires 2 arguments, but only 1 given
vidinput_v4l.cxx:245: error: expected constructor, destructor, or type conversion before ʽ;ʼ token
vidinput_v4l.cxx: In member function ʽvirtual PINDEX PVideoInputDevice_V4L::GetMaxFrameBytes()ʼ:
vidinput_v4l.cxx:1032: error: ʽGetMaxFrameBytesConvertedʼ was not declared in this scope
make[7]: *** [../pwlib/device/videoinput/v4l_pwplugin.so] Error 1
---------------
The problem seems to be a result of the first "-I" option: the file
garnome/include/ptlib/vidio.h has a two-argument version of the macro.
The file main.d/pwlib-1.10.0/include/ptlib/vidio.h -- the intended
reference -- has only one.
My question is on how to proceed: cd to the directory and compile the
files that reference the macro manually? Modify some Makefile or
environment variable to get the first "-I" out of the way? Something
else?
Thanks again in advance..
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]