Subject: problem building pwlib
To: None <tech-pkg@netbsd.org>
From: Mahesh Chittur <dataduplex@hotmail.com>
List: tech-pkg
Date: 02/05/2004 20:07:51
Hi,
I'm building pwlib-1.5.2. I get compile time error as :

/usr/pkg/bin/libtool --tag=CXX c++ -DP_NETBSD=106330000 -D_REENTRANT -Wall 
-DP_NETBSD=106330000 -I/home/pkgsrc/tmp/wip/pwli
b/work.tsuga/pwlib/include/ptlib/unix 
-I/home/pkgsrc/tmp/wip/pwlib/work.tsuga/pwlib/include -I/usr/pkg/include 
-DP_USE_PRAGM
A -DPHAS_TEMPLATES 
-I/home/pkgsrc/tmp/wip/pwlib/work.tsuga/pwlib/include/ptlib/unix 
-I/home/pkgsrc/tmp/wip/pwlib/work.tsuga/
pwlib/include -Os -DNDEBUG -O2 -I/home/pkgsrc/pkg/include -DPTRACING=1 -c 
../../ptclib/pssl.cxx -o /home/pkgsrc/tmp/wip/pwli
b/work.tsuga/pwlib/lib/obj_NetBSD_x86_r/pssl.o
c++ -DP_NETBSD=106330000 -D_REENTRANT -Wall -DP_NETBSD=106330000 
-I/home/pkgsrc/tmp/wip/pwlib/work.tsuga/pwlib/include/ptlib
/unix -I/home/pkgsrc/tmp/wip/pwlib/work.tsuga/pwlib/include 
-I/usr/pkg/include -DP_USE_PRAGMA -DPHAS_TEMPLATES -I/home/pkgsr
c/tmp/wip/pwlib/work.tsuga/pwlib/include/ptlib/unix 
-I/home/pkgsrc/tmp/wip/pwlib/work.tsuga/pwlib/include -Os -DNDEBUG -O2 -
I/home/pkgsrc/pkg/include -DPTRACING=1 -c ../../ptclib/pssl.cxx  -fPIC -DPIC 
-o /home/pkgsrc/tmp/wip/pwlib/work.tsuga/pwlib/
lib/obj_NetBSD_x86_r/.libs/pssl.o

../../ptclib/pssl.cxx: In member function `BOOL 
PSSLDiffieHellman::Load(const
   PFilePath&, PSSLFileTypes)':
../../ptclib/pssl.cxx:754: error: invalid conversion from `char*(*)()' to `
   char*(*)(...)'
../../ptclib/pssl.cxx:754: error: invalid conversion from `char*(*)()' to `
   char*(*)(...)

My gcc version is 3.3.2. Are there any constraints or restrictions with the 
compiler ? Did anyone encouter such an error. Thanks for the help in 
advance.

Regards,
-Mahesh.

_________________________________________________________________
MSN Hotmail now on your Mobile phone. 
http://server1.msn.co.in/sp03/mobilesms/ Click here.