Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 08 Mar 2014 10:00:24 +0200
From:      wishmaster <artemrts@ukr.net>
To:        ports@FreeBSD.org
Subject:   pwlib-1.12.0_8,1 compillation error
Message-ID:  <1394265470.219353375.nglxznm2@frv34.fwdcdn.com>

next in thread | raw e-mail | index | archive | help
Hi,

I am unable to install asterisk18 due to error in compillation of pwlib-1.12.0_8,1.


/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/object.h:1381:35: note: expanded from macro 'PCLASSINFO'
      { return (Comparison)memcmp(this, &obj, sizeof(cls)); } \
                                  ^
In file included from ../../ptclib/pssl.cxx:220:
In file included from /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib.h:161:
In file included from /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/contain.h:814:
/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/dict.h:997:3: warning: first operand of this 'memcmp' call is a
      pointer to dynamic class 'const PDictionary<POrdinalKey, PReadWriteMutex::Nest>'; vtable pointer will be compared
      [-Wdynamic-class-memaccess]
  PCLASSINFO(PDictionary, PAbstractDictionary);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/object.h:1381:35: note: expanded from macro 'PCLASSINFO'
      { return (Comparison)memcmp(this, &obj, sizeof(cls)); } \
                           ~~~~~~ ^
/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/syncthrd.h:294:7: note: in instantiation of member function
      'PDictionary<POrdinalKey, PReadWriteMutex::Nest>::CompareObjectMemoryDirect' requested here
class PReadWriteMutex : public PObject
      ^
/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/dict.h:997:3: note: explicitly cast the pointer to silence this
      warning
  PCLASSINFO(PDictionary, PAbstractDictionary);
  ^
/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/object.h:1381:35: note: expanded from macro 'PCLASSINFO'
      { return (Comparison)memcmp(this, &obj, sizeof(cls)); } \
                                  ^
127 warnings and 6 errors generated.
gmake[7]: *** [/usr/ports/devel/pwlib/work/ptlib_v1_12_0/lib/obj_d/pssl.o] Error 1
gmake[7]: Leaving directory `/usr/ports/devel/pwlib/work/ptlib_v1_12_0/src/ptlib/unix'
gmake[6]: *** [debug] Error 2
gmake[6]: Leaving directory `/usr/ports/devel/pwlib/work/ptlib_v1_12_0'
gmake[5]: *** [libs] Error 2
gmake[5]: Leaving directory `/usr/ports/devel/pwlib/work/ptlib_v1_12_0'
gmake[4]: *** [debuglibs] Error 2
gmake[4]: Leaving directory `/usr/ports/devel/pwlib/work/ptlib_v1_12_0'
*** Error code 1

Stop.
make[3]: stopped in /usr/ports/devel/pwlib
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/devel/pwlib
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/net/asterisk
*** Error code 1

Stop.
make: stopped in /usr/ports/net/asterisk

--
FreeBSD magicmoon.mooo.com 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014     root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64

Cheers,
Vitaliy



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1394265470.219353375.nglxznm2>