Alle 16:13, domenica 31 ottobre 2004, Mark Anthony Hill ha scritto:
> it's on sourceforge
> http://yourmirror.dl.sourceforge.net/sourceforge/openh323/pwlib-v1_6_6-src.
>tar.gz
Thank you! Unfortunately, I've similar problems in building tgz,
if I pass the (necessary) option --enable-plugins.
If I leave bison (1.35) as I find it in Slack 10, at "make" I obtain:
--------------------------------------------------------------------------------------------------------------
make[2]: Leaving directory `/pwlib/src/ptlib/unix'
make[2]: Entering directory `/pwlib/tools/asnparser'
bison -t -v -d -o asn_grammar asn_grammar.y
mv asn_grammar asn_grammar.cxx
g++ -DP_USE_PRAGMA -fno-rtti -ffunction-sections -fdata-sections -D_REENTRANT
-Wall -I/pwlib/include -Os -x c++ -c asn_grammar.cxx-o
obj_linux_x86_r/asn_grammar.o
In file included from /pwlib/include/ptlib/contain.h:782,
from /pwlib/include/ptlib.h:146,
from asn_grammar.y:77:
/pwlib/include/ptlib/contain.inl: In constructor
`PAbstractList::PAbstractList()':
/pwlib/include/ptlib/contain.inl:428: warning: right-hand operand of comma has
no effect
asn_grammar: In function `int yyparse()':
asn_grammar:5045: error: expected primary-expression before "__attribute__"
asn_grammar:5045: error: expected `;' before "__attribute__"
asn_grammar:5040: warning: label `yyerrlab1' defined but not used
make[2]: *** [obj_linux_x86_r/asn_grammar.o] Error 1
make[2]: Leaving directory `/pwlib/tools/asnparser'
make[1]: *** [opt] Error 2
make[1]: Leaving directory `/pwlib'
make: *** [optshared] Error 2
----------------------------------------------------------------------------------------------------------------
If I change it as indicated in INSTALL,
I obtain another error message:
----------------------------------------------------------------------------------------------------------------
In file included from /pwlib/include/ptlib/contain.h:782,
from /pwlib/include/ptlib.h:146,
from video4dc1394.cxx:179:
/pwlib/include/ptlib/contain.inl: In constructor
`PAbstractList::PAbstractList()':
/pwlib/include/ptlib/contain.inl:428: warning: right-hand operand of comma has
no effect
video4dc1394.cxx:416:39: warning: trigraph ??! ignored, use -trigraphs to
enable
video4dc1394.cxx: In member function `virtual BOOL
PVideoInput1394DcDevice::Start()':
video4dc1394.cxx:427: error: conversion from `PString' to `int' isambiguous
/pwlib/include/ptlib/contain.inl:333: note: candidates are: PString::operator
const unsigned char*() const <near match>
/pwlib/include/ptlib/array.h:505: note:
PBaseArray<T>::operator const T*() const [with T = char] <near match>
make[3]: *** [../pwlib/device/videoinput/dc.so] Error 1
make[3]: Leaving directory `/pwlib/plugins/vidinput_dc'
make[2]: *** [opt] Error 2
make[2]: Leaving directory `/pwlib/plugins'
make[1]: *** [opt] Error 2
make[1]: Leaving directory `/pwlib'
make: *** [optshared] Error 2
-----------------------------------------------------------------------------------------------------------------
In both cases, I'm not able to terminate the "make".
Do you have some suggestion to solve this trouble?
Thank you!
MS
--
Linux user no. 353546
Public key at keyserver.linux.it
Attachment:
pgpt7iAFwfh5E.pgp
Description: PGP signature