Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Jan 2013 10:38:21 -0500
From:      Derrick Dantavious Edwards <dantavious313@gmail.com>
To:        gnome@FreeBSD.org
Subject:   /usr/ports/net/opal3 Build Problem
Message-ID:  <1358609901.9734.3.camel@zeus>

next in thread | raw e-mail | index | archive | help
	Hi,
I am attempting to build opal3 however, I continue to get the following
error message. I am using  FreeBSD 10.0-CURRENT amd64. Also, is there
any plan to update port to latest release 3.10.7

V/r

Derrick

/usr/local/include/ptlib/array.h:1010:3: note: explicitly cast the
pointer to silence this warning
  PCLASSINFO(PArray, PArrayObjects);
  ^
/usr/local/include/ptlib/object.h:968:35: note: expanded from macro
'PCLASSINFO'
      { return (Comparison)memcmp(this, &_obj, sizeof(cls)); } \
                                  ^
In file included
from /usr/ports/net/opal3/work/opal-3.6.6/src/opal/manager.cxx:32:
In file included from /usr/local/include/ptlib.h:56:
In file included from /usr/local/include/ptlib/contain.h:591:
/usr/local/include/ptlib/array.h:1010:3: warning: first operand of this
'memcmp' call is a pointer to dynamic class 'const
PArray<PPluginService>'; vtable pointer will be compared
[-Wdynamic-class-memaccess]
  PCLASSINFO(PArray, PArrayObjects);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/ptlib/object.h:968:35: note: expanded from macro
'PCLASSINFO'
      { return (Comparison)memcmp(this, &_obj, sizeof(cls)); } \
                           ~~~~~~ ^
/usr/local/include/ptlib/pluginmgr.h:59:7: note: in instantiation of
member function 'PArray<PPluginService>::CompareObjectMemoryDirect'
requested here
class PPluginManager : public PObject
      ^
/usr/local/include/ptlib/array.h:1010:3: note: explicitly cast the
pointer to silence this warning
  PCLASSINFO(PArray, PArrayObjects);
  ^
/usr/local/include/ptlib/object.h:968:35: note: expanded from macro
'PCLASSINFO'
      { return (Comparison)memcmp(this, &_obj, sizeof(cls)); } \
                                  ^
In file included
from /usr/ports/net/opal3/work/opal-3.6.6/src/opal/manager.cxx:32:
In file included from /usr/local/include/ptlib.h:56:
In file included from /usr/local/include/ptlib/contain.h:596:
/usr/local/include/ptlib/lists.h:318:3: warning: first operand of this
'memcmp' call is a pointer to dynamic class 'const PList<PNotifier>';
vtable pointer will be compared [-Wdynamic-class-memaccess]
  PCLASSINFO(PList, PAbstractList);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/ptlib/object.h:968:35: note: expanded from macro
'PCLASSINFO'
      { return (Comparison)memcmp(this, &_obj, sizeof(cls)); } \
                           ~~~~~~ ^
/usr/local/include/ptlib/pluginmgr.h:59:7: note: in instantiation of
member function 'PList<PNotifier>::CompareObjectMemoryDirect' requested
here
class PPluginManager : public PObject
      ^
/usr/local/include/ptlib/lists.h:318:3: note: explicitly cast the
pointer to silence this warning
  PCLASSINFO(PList, PAbstractList);
  ^
/usr/local/include/ptlib/object.h:968:35: note: expanded from macro
'PCLASSINFO'
      { return (Comparison)memcmp(this, &_obj, sizeof(cls)); } \
                                  ^
234 warnings and 1 error generated.
gmake[1]: ***
[/usr/ports/net/opal3/work/opal-3.6.6/lib_FreeBSD_x86_64/obj/manager.o]
Error 1
gmake[1]: Leaving directory `/usr/ports/net/opal3/work/opal-3.6.6'
gmake: *** [opt] Error 2
*** [do-build] Error code 1





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