You are not logged in.

#1 2020-10-07 15:17:55

y0s1
Member
Registered: 2020-10-07
Posts: 13

Cannot install retroshare in ArchLinux

make[1]: *** [Makefile.libretroshare:11887: temp/linux-g++/obj/UPnPBase.o] Error 1
make[1]: Leaving directory '/home/y0s1/.cache/yay/retroshare/src/RetroShare-0.6.5/libretroshare/src'
make: *** [Makefile:103: sub-libretroshare-src-libretroshare-pro-make_first] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
error making: retroshare

Offline

#2 2020-10-07 15:18:35

y0s1
Member
Registered: 2020-10-07
Posts: 13

Re: Cannot install retroshare in ArchLinux

Offline

#3 2020-10-07 15:19:45

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,544

Re: Cannot install retroshare in ArchLinux

1. Always try without a helper
2. You didn't post the actual error, only the fallout.

Offline

#4 2020-10-07 15:24:56

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,645

Re: Cannot install retroshare in ArchLinux

Moving to AUR issues.

Offline

#5 2020-10-07 15:37:11

y0s1
Member
Registered: 2020-10-07
Posts: 13

Re: Cannot install retroshare in ArchLinux

upnp/UPnPBase.cpp:751:3: error: invalid ‘static_cast’ from type ‘int (*)(Upnp_EventType, void*, void*)’ {aka ‘int (*)(Upnp_EventType_e, void*, void*)’} to type ‘Upnp_FunPtr’ {aka ‘int (*)(Upnp_EventType_e, const void*, void*)’}
  751 |   static_cast<Upnp_FunPtr>(&CUPnPControlPoint::Callback),
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp: In constructor ‘CUPnPControlPoint::CUPnPControlPoint(short unsigned int)’:
upnp/UPnPBase.cpp:930:8: error: ‘UpnpInit’ was not declared in this scope; did you mean ‘UpnpInit2’?
  930 |  ret = UpnpInit(ipAddress, udpPort);
      |        ^~~~~~~~
      |        UpnpInit2
upnp/UPnPBase.cpp:951:3: error: invalid ‘static_cast’ from type ‘int (*)(Upnp_EventType, void*, void*)’ {aka ‘int (*)(Upnp_EventType_e, void*, void*)’} to type ‘Upnp_FunPtr’ {aka ‘int (*)(Upnp_EventType_e, const void*, void*)’}
  951 |   static_cast<Upnp_FunPtr>(&CUPnPControlPoint::Callback),
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp: In static member function ‘static int CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)’:
upnp/UPnPBase.cpp:1326:14: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
1326 |   if (d_event->ErrCode != UPNP_E_SUCCESS) {
      |              ^~
upnp/UPnPBase.cpp:1323:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
1323 |   struct Upnp_Discovery *d_event = (struct Upnp_Discovery *)Event;
      |          ^~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1336:35: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
1336 |   ret = UpnpDownloadXmlDoc(d_event->Location, &doc);
      |                                   ^~
upnp/UPnPBase.cpp:1323:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
1323 |   struct Upnp_Discovery *d_event = (struct Upnp_Discovery *)Event;
      |          ^~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1383:13: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
1383 |      d_event->Location, d_event->Expires);
      |             ^~
upnp/UPnPBase.cpp:1323:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
1323 |   struct Upnp_Discovery *d_event = (struct Upnp_Discovery *)Event;
      |          ^~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1383:32: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
1383 |      d_event->Location, d_event->Expires);
      |                                ^~
upnp/UPnPBase.cpp:1323:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
1323 |   struct Upnp_Discovery *d_event = (struct Upnp_Discovery *)Event;
      |          ^~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1409:16: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
1409 |   if (dab_event->ErrCode != UPNP_E_SUCCESS) {
      |                ^~
upnp/UPnPBase.cpp:1408:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
1408 |   struct Upnp_Discovery *dab_event = (struct Upnp_Discovery *)Event;
      |          ^~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1416:34: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
1416 |   std::string devType = dab_event->DeviceType;
      |                                  ^~
upnp/UPnPBase.cpp:1408:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
1408 |   struct Upnp_Discovery *dab_event = (struct Upnp_Discovery *)Event;
      |          ^~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1420:38: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
1420 |    upnpCP->RemoveRootDevice(dab_event->DeviceId);
      |                                      ^~
upnp/UPnPBase.cpp:1408:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
1408 |   struct Upnp_Discovery *dab_event = (struct Upnp_Discovery *)Event;
      |          ^~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1430:34: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event’
1430 |   const std::string Sid = e_event->Sid;
      |                                  ^~
upnp/UPnPBase.cpp:1429:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event’
1429 |   struct Upnp_Event *e_event = (struct Upnp_Event *)Event;
      |          ^~~~~~~~~~
upnp/UPnPBase.cpp:1432:39: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event’
1432 |   upnpCP->OnEventReceived(Sid, e_event->EventKey, e_event->ChangedVariables);
      |                                       ^~
upnp/UPnPBase.cpp:1429:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event’
1429 |   struct Upnp_Event *e_event = (struct Upnp_Event *)Event;
      |          ^~~~~~~~~~
upnp/UPnPBase.cpp:1432:58: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event’
1432 |   upnpCP->OnEventReceived(Sid, e_event->EventKey, e_event->ChangedVariables);
      |                                                          ^~
upnp/UPnPBase.cpp:1429:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event’
1429 |   struct Upnp_Event *e_event = (struct Upnp_Event *)Event;
      |          ^~~~~~~~~~
upnp/UPnPBase.cpp:1449:15: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe’
1449 |   if (es_event->ErrCode != UPNP_E_SUCCESS) {
      |               ^~
upnp/UPnPBase.cpp:1447:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe’
1447 |   struct Upnp_Event_Subscribe *es_event =
      |          ^~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1452:18: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe’
1452 |     msg, es_event->ErrCode, NULL, NULL);
      |                  ^~
upnp/UPnPBase.cpp:1447:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe’
1447 |   struct Upnp_Event_Subscribe *es_event =
      |          ^~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1482:34: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe’
1482 |    UpnpString_get_String(es_event->PublisherUrl),
      |                                  ^~
upnp/UPnPBase.cpp:1475:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe’
1475 |   struct Upnp_Event_Subscribe *es_event =
      |          ^~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1491:18: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe’
1491 |     msg, es_event->ErrCode, NULL, NULL);
      |                  ^~
upnp/UPnPBase.cpp:1475:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe’
1475 |   struct Upnp_Event_Subscribe *es_event =
      |          ^~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1495:61: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe’
1495 |     upnpCP->m_ServiceMap.find(UpnpString_get_String(es_event->PublisherUrl));
      |                                                             ^~
upnp/UPnPBase.cpp:1475:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe’
1475 |   struct Upnp_Event_Subscribe *es_event =
      |          ^~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1505:36: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe’
1505 |      UpnpString_get_String(es_event->PublisherUrl) <<
      |                                    ^~
upnp/UPnPBase.cpp:1475:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe’
1475 |   struct Upnp_Event_Subscribe *es_event =
      |          ^~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1529:14: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Action_Complete’
1529 |   if (a_event->ErrCode != UPNP_E_SUCCESS) {
      |              ^~
upnp/UPnPBase.cpp:1527:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Action_Complete’
1527 |   struct Upnp_Action_Complete *a_event =
      |          ^~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1532:12: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Action_Complete’
1532 |     a_event->ErrCode, NULL,
      |            ^~
upnp/UPnPBase.cpp:1527:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Action_Complete’
1527 |   struct Upnp_Action_Complete *a_event =
      |          ^~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1533:12: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Action_Complete’
1533 |     a_event->ActionResult);
      |            ^~
upnp/UPnPBase.cpp:1527:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Action_Complete’
1527 |   struct Upnp_Action_Complete *a_event =
      |          ^~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1537:12: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Action_Complete’
1537 |     a_event->ActionResult,
      |            ^~
upnp/UPnPBase.cpp:1527:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Action_Complete’
1527 |   struct Upnp_Action_Complete *a_event =
      |          ^~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1552:15: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_State_Var_Complete’
1552 |   if (sv_event->ErrCode != UPNP_E_SUCCESS) {
      |               ^~
upnp/UPnPBase.cpp:1550:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_State_Var_Complete’
1550 |   struct Upnp_State_Var_Complete *sv_event =
      |          ^~~~~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1555:18: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_State_Var_Complete’
1555 |     msg, sv_event->ErrCode, NULL, NULL);
      |                  ^~
upnp/UPnPBase.cpp:1550:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_State_Var_Complete’
1550 |   struct Upnp_State_Var_Complete *sv_event =
      |          ^~~~~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1558:63: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_State_Var_Complete’
1558 |       (upnpCP->m_WanService->propertyMap)[std::string(sv_event->StateVarName)] = std::string(sv_event->CurrentVal);
      |                                                               ^~
upnp/UPnPBase.cpp:1550:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_State_Var_Complete’
1550 |   struct Upnp_State_Var_Complete *sv_event =
      |          ^~~~~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1558:102: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_State_Var_Complete’
1558 |     (upnpCP->m_WanService->propertyMap)[std::string(sv_event->StateVarName)] = std::string(sv_event->CurrentVal);
      |                                                                                                    ^~

upnp/UPnPBase.cpp:1550:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_State_Var_Complete’
1550 |   struct Upnp_State_Var_Complete *sv_event =
      |          ^~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [Makefile.libretroshare:11887: temp/linux-g++/obj/UPnPBase.o] Error 1
make[1]: Leaving directory '/home/y0s1/.cache/yay/retroshare/src/RetroShare-0.6.5/libretroshare/src'
make: *** [Makefile:103: sub-libretroshare-src-libretroshare-pro-make_first] Error 2
cd openpgpsdk/src/ && ( test -e Makefile.openpgpsdk || /usr/bin/qmake -o Makefile.openpgpsdk /home/y0s1/.cache/yay/retroshare/src/RetroShare-0.6.5/openpgpsdk/src/openpgpsdk.pro CONFIG-=debug CONFIG+=release CONFIG+=no_libresapihttpserver 'QMAKE_CFLAGS_RELEASE=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt' 'QMAKE_CXXFLAGS_RELEASE=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt' ) && make -f Makefile.openpgpsdk
make[1]: Entering directory '/home/y0s1/.cache/yay/retroshare/src/RetroShare-0.6.5/openpgpsdk/src'
make[1]: Nothing to be done for 'first'.
make[1]: Leaving directory '/home/y0s1/.cache/yay/retroshare/src/RetroShare-0.6.5/openpgpsdk/src'
cd libbitdht/src/ && ( test -e Makefile.libbitdht || /usr/bin/qmake -o Makefile.libbitdht /home/y0s1/.cache/yay/retroshare/src/RetroShare-0.6.5/libbitdht/src/libbitdht.pro CONFIG-=debug CONFIG+=release CONFIG+=no_libresapihttpserver 'QMAKE_CFLAGS_RELEASE=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt' 'QMAKE_CXXFLAGS_RELEASE=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt' ) && make -f Makefile.libbitdht
make[1]: Entering directory '/home/y0s1/.cache/yay/retroshare/src/RetroShare-0.6.5/libbitdht/src'
make[1]: Nothing to be done for 'first'.
make[1]: Leaving directory '/home/y0s1/.cache/yay/retroshare/src/RetroShare-0.6.5/libbitdht/src'
cd libretroshare/src/ && ( test -e Makefile.libretroshare || /usr/bin/qmake -o Makefile.libretroshare /home/y0s1/.cache/yay/retroshare/src/RetroShare-0.6.5/libretroshare/src/libretroshare.pro CONFIG-=debug CONFIG+=release CONFIG+=no_libresapihttpserver 'QMAKE_CFLAGS_RELEASE=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt' 'QMAKE_CXXFLAGS_RELEASE=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt' ) && make -f Makefile.libretroshare
make[1]: Entering directory '/home/y0s1/.cache/yay/retroshare/src/RetroShare-0.6.5/libretroshare/src'
g++ -c -pipe -Wno-deprecated -Wno-deprecated-declarations -Wno-cpp -Wall -D_FILE_OFFSET_BITS=64 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fPIC -std=gnu++11 -pthread -Wall -Wextra -DRS_USE_GXS_DISTANT_SYNC -DRS_ENABLE_GXS -DRS_GXS_SEND_ALL -DRS_NO_WARN_DEPRECATED -DRS_NO_WARN_CPP -DRS_GXS_TRANS -DRS_USE_BITDHT -DRS_DIRECT_CHAT -DPATCHED_LIBUPNP -DPLUGIN_DIR="\"/usr/lib/retroshare/extensions6\"" -DDATA_DIR="\"/usr/share/retroshare\"" -DRS_USE_LIBUPNP -DSQLITE_HAS_CODEC -DGXS_ENABLE_SYNC_MSGS -I. -I. -I../../openpgpsdk/src -I../../libbitdht/src -I../../rapidjson-1.1.0 -I. -I../../libbitdht/src -I../../openpgpsdk/src -I/usr/include/upnp -I/usr/lib/qt/mkspecs/linux-g++ -o temp/linux-g++/obj/UPnPBase.o upnp/UPnPBase.cpp
upnp/UPnPBase.cpp: In member function ‘bool CUPnPService::Execute(const string&, const std::vector<CUPnPArgumentValue>&) const’:
upnp/UPnPBase.cpp:751:3: error: invalid ‘static_cast’ from type ‘int (*)(Upnp_EventType, void*, void*)’ {aka ‘int (*)(Upnp_EventType_e, void*, void*)’} to type ‘Upnp_FunPtr’ {aka ‘int (*)(Upnp_EventType_e, const void*, void*)’}
  751 |   static_cast<Upnp_FunPtr>(&CUPnPControlPoint::Callback),
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp: In constructor ‘CUPnPControlPoint::CUPnPControlPoint(short unsigned int)’:
upnp/UPnPBase.cpp:930:8: error: ‘UpnpInit’ was not declared in this scope; did you mean ‘UpnpInit2’?
  930 |  ret = UpnpInit(ipAddress, udpPort);
      |        ^~~~~~~~
      |        UpnpInit2
upnp/UPnPBase.cpp:951:3: error: invalid ‘static_cast’ from type ‘int (*)(Upnp_EventType, void*, void*)’ {aka ‘int (*)(Upnp_EventType_e, void*, void*)’} to type ‘Upnp_FunPtr’ {aka ‘int (*)(Upnp_EventType_e, const void*, void*)’}
  951 |   static_cast<Upnp_FunPtr>(&CUPnPControlPoint::Callback),
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp: In static member function ‘static int CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)’:
upnp/UPnPBase.cpp:1326:14: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
1326 |   if (d_event->ErrCode != UPNP_E_SUCCESS) {
      |              ^~
upnp/UPnPBase.cpp:1323:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
1323 |   struct Upnp_Discovery *d_event = (struct Upnp_Discovery *)Event;
      |          ^~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1336:35: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
1336 |   ret = UpnpDownloadXmlDoc(d_event->Location, &doc);
      |                                   ^~
upnp/UPnPBase.cpp:1323:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
1323 |   struct Upnp_Discovery *d_event = (struct Upnp_Discovery *)Event;
      |          ^~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1383:13: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
1383 |      d_event->Location, d_event->Expires);
      |             ^~
upnp/UPnPBase.cpp:1323:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
1323 |   struct Upnp_Discovery *d_event = (struct Upnp_Discovery *)Event;
      |          ^~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1383:32: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
1383 |      d_event->Location, d_event->Expires);
      |                                ^~
upnp/UPnPBase.cpp:1323:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
1323 |   struct Upnp_Discovery *d_event = (struct Upnp_Discovery *)Event;
      |          ^~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1409:16: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
1409 |   if (dab_event->ErrCode != UPNP_E_SUCCESS) {
      |                ^~
upnp/UPnPBase.cpp:1408:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
1408 |   struct Upnp_Discovery *dab_event = (struct Upnp_Discovery *)Event;
      |          ^~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1416:34: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
1416 |   std::string devType = dab_event->DeviceType;
      |                                  ^~
upnp/UPnPBase.cpp:1408:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
1408 |   struct Upnp_Discovery *dab_event = (struct Upnp_Discovery *)Event;
      |          ^~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1420:38: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
1420 |    upnpCP->RemoveRootDevice(dab_event->DeviceId);
      |                                      ^~
upnp/UPnPBase.cpp:1408:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
1408 |   struct Upnp_Discovery *dab_event = (struct Upnp_Discovery *)Event;
      |          ^~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1430:34: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event’
1430 |   const std::string Sid = e_event->Sid;
      |                                  ^~
upnp/UPnPBase.cpp:1429:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event’
1429 |   struct Upnp_Event *e_event = (struct Upnp_Event *)Event;
      |          ^~~~~~~~~~
upnp/UPnPBase.cpp:1432:39: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event’
1432 |   upnpCP->OnEventReceived(Sid, e_event->EventKey, e_event->ChangedVariables);
      |                                       ^~
upnp/UPnPBase.cpp:1429:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event’
1429 |   struct Upnp_Event *e_event = (struct Upnp_Event *)Event;
      |          ^~~~~~~~~~
upnp/UPnPBase.cpp:1432:58: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event’
1432 |   upnpCP->OnEventReceived(Sid, e_event->EventKey, e_event->ChangedVariables);
      |                                                          ^~
upnp/UPnPBase.cpp:1429:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event’
1429 |   struct Upnp_Event *e_event = (struct Upnp_Event *)Event;
      |          ^~~~~~~~~~
upnp/UPnPBase.cpp:1449:15: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe’
1449 |   if (es_event->ErrCode != UPNP_E_SUCCESS) {
      |               ^~
upnp/UPnPBase.cpp:1447:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe’
1447 |   struct Upnp_Event_Subscribe *es_event =
      |          ^~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1452:18: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe’
1452 |     msg, es_event->ErrCode, NULL, NULL);
      |                  ^~
upnp/UPnPBase.cpp:1447:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe’
1447 |   struct Upnp_Event_Subscribe *es_event =
      |          ^~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1482:34: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe’
1482 |    UpnpString_get_String(es_event->PublisherUrl),
      |                                  ^~
upnp/UPnPBase.cpp:1475:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe’
1475 |   struct Upnp_Event_Subscribe *es_event =
      |          ^~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1491:18: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe’
1491 |     msg, es_event->ErrCode, NULL, NULL);
      |                  ^~
upnp/UPnPBase.cpp:1475:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe’
1475 |   struct Upnp_Event_Subscribe *es_event =
      |          ^~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1495:61: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe’
1495 |     upnpCP->m_ServiceMap.find(UpnpString_get_String(es_event->PublisherUrl));
      |                                                             ^~
upnp/UPnPBase.cpp:1475:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe’
1475 |   struct Upnp_Event_Subscribe *es_event =
      |          ^~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1505:36: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe’
1505 |      UpnpString_get_String(es_event->PublisherUrl) <<
      |                                    ^~
upnp/UPnPBase.cpp:1475:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe’
1475 |   struct Upnp_Event_Subscribe *es_event =
      |          ^~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1529:14: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Action_Complete’
1529 |   if (a_event->ErrCode != UPNP_E_SUCCESS) {
      |              ^~
upnp/UPnPBase.cpp:1527:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Action_Complete’
1527 |   struct Upnp_Action_Complete *a_event =
      |          ^~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1532:12: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Action_Complete’
1532 |     a_event->ErrCode, NULL,
      |            ^~
upnp/UPnPBase.cpp:1527:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Action_Complete’
1527 |   struct Upnp_Action_Complete *a_event =
      |          ^~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1533:12: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Action_Complete’
1533 |     a_event->ActionResult);
      |            ^~
upnp/UPnPBase.cpp:1527:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Action_Complete’
1527 |   struct Upnp_Action_Complete *a_event =
      |          ^~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1537:12: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Action_Complete’
1537 |     a_event->ActionResult,
      |            ^~
upnp/UPnPBase.cpp:1527:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Action_Complete’
1527 |   struct Upnp_Action_Complete *a_event =
      |          ^~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1552:15: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_State_Var_Complete’
1552 |   if (sv_event->ErrCode != UPNP_E_SUCCESS) {
      |               ^~
upnp/UPnPBase.cpp:1550:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_State_Var_Complete’
1550 |   struct Upnp_State_Var_Complete *sv_event =
      |          ^~~~~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1555:18: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_State_Var_Complete’
1555 |     msg, sv_event->ErrCode, NULL, NULL);
      |                  ^~
upnp/UPnPBase.cpp:1550:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_State_Var_Complete’
1550 |   struct Upnp_State_Var_Complete *sv_event =
      |          ^~~~~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1558:63: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_State_Var_Complete’
1558 |       (upnpCP->m_WanService->propertyMap)[std::string(sv_event->StateVarName)] = std::string(sv_event->CurrentVal);
      |                                                               ^~
upnp/UPnPBase.cpp:1550:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_State_Var_Complete’
1550 |   struct Upnp_State_Var_Complete *sv_event =
      |          ^~~~~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1558:102: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_State_Var_Complete’
1558 |     (upnpCP->m_WanService->propertyMap)[std::string(sv_event->StateVarName)] = std::string(sv_event->CurrentVal);
      |                                                                                                    ^~

upnp/UPnPBase.cpp:1550:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_State_Var_Complete’
1550 |   struct Upnp_State_Var_Complete *sv_event =
      |          ^~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [Makefile.libretroshare:11887: temp/linux-g++/obj/UPnPBase.o] Error 1
make[1]: Leaving directory '/home/y0s1/.cache/yay/retroshare/src/RetroShare-0.6.5/libretroshare/src'
make: *** [Makefile:103: sub-libretroshare-src-libretroshare-pro-make_first] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
error making: retroshare
Post a reply
Write your message and submit
Message (Required)
upnp/UPnPBase.cpp:751:3: error: invalid ‘static_cast’ from type ‘int (*)(Upnp_EventType, void*, void*)’ {aka ‘int (*)(Upnp_EventType_e, void*, void*)’} to type ‘Upnp_FunPtr’ {aka ‘int (*)(Upnp_EventType_e, const void*, void*)’}
  751 |   static_cast<Upnp_FunPtr>(&CUPnPControlPoint::Callback),
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp: In constructor ‘CUPnPControlPoint::CUPnPControlPoint(short unsigned int)’:
upnp/UPnPBase.cpp:930:8: error: ‘UpnpInit’ was not declared in this scope; did you mean ‘UpnpInit2’?
  930 |  ret = UpnpInit(ipAddress, udpPort);
      |        ^~~~~~~~
      |        UpnpInit2
upnp/UPnPBase.cpp:951:3: error: invalid ‘static_cast’ from type ‘int (*)(Upnp_EventType, void*, void*)’ {aka ‘int (*)(Upnp_EventType_e, void*, void*)’} to type ‘Upnp_FunPtr’ {aka ‘int (*)(Upnp_EventType_e, const void*, void*)’}
  951 |   static_cast<Upnp_FunPtr>(&CUPnPControlPoint::Callback),
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp: In static member function ‘static int CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)’:
upnp/UPnPBase.cpp:1326:14: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
1326 |   if (d_event->ErrCode != UPNP_E_SUCCESS) {
      |              ^~
upnp/UPnPBase.cpp:1323:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
1323 |   struct Upnp_Discovery *d_event = (struct Upnp_Discovery *)Event;
      |          ^~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1336:35: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
1336 |   ret = UpnpDownloadXmlDoc(d_event->Location, &doc);
      |                                   ^~
upnp/UPnPBase.cpp:1323:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
1323 |   struct Upnp_Discovery *d_event = (struct Upnp_Discovery *)Event;
      |          ^~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1383:13: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
1383 |      d_event->Location, d_event->Expires);
      |             ^~
upnp/UPnPBase.cpp:1323:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
1323 |   struct Upnp_Discovery *d_event = (struct Upnp_Discovery *)Event;
      |          ^~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1383:32: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
1383 |      d_event->Location, d_event->Expires);
      |                                ^~
upnp/UPnPBase.cpp:1323:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
1323 |   struct Upnp_Discovery *d_event = (struct Upnp_Discovery *)Event;
      |          ^~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1409:16: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
1409 |   if (dab_event->ErrCode != UPNP_E_SUCCESS) {
      |                ^~
upnp/UPnPBase.cpp:1408:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
1408 |   struct Upnp_Discovery *dab_event = (struct Upnp_Discovery *)Event;
      |          ^~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1416:34: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
1416 |   std::string devType = dab_event->DeviceType;
      |                                  ^~
upnp/UPnPBase.cpp:1408:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
1408 |   struct Upnp_Discovery *dab_event = (struct Upnp_Discovery *)Event;
      |          ^~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1420:38: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
1420 |    upnpCP->RemoveRootDevice(dab_event->DeviceId);
      |                                      ^~
upnp/UPnPBase.cpp:1408:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
1408 |   struct Upnp_Discovery *dab_event = (struct Upnp_Discovery *)Event;
      |          ^~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1430:34: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event’
1430 |   const std::string Sid = e_event->Sid;
      |                                  ^~
upnp/UPnPBase.cpp:1429:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event’
1429 |   struct Upnp_Event *e_event = (struct Upnp_Event *)Event;
      |          ^~~~~~~~~~
upnp/UPnPBase.cpp:1432:39: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event’
1432 |   upnpCP->OnEventReceived(Sid, e_event->EventKey, e_event->ChangedVariables);
      |                                       ^~
upnp/UPnPBase.cpp:1429:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event’
1429 |   struct Upnp_Event *e_event = (struct Upnp_Event *)Event;
      |          ^~~~~~~~~~
upnp/UPnPBase.cpp:1432:58: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event’
1432 |   upnpCP->OnEventReceived(Sid, e_event->EventKey, e_event->ChangedVariables);
      |                                                          ^~
upnp/UPnPBase.cpp:1429:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event’
1429 |   struct Upnp_Event *e_event = (struct Upnp_Event *)Event;
      |          ^~~~~~~~~~
upnp/UPnPBase.cpp:1449:15: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe’
1449 |   if (es_event->ErrCode != UPNP_E_SUCCESS) {
      |               ^~
upnp/UPnPBase.cpp:1447:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe’
1447 |   struct Upnp_Event_Subscribe *es_event =
      |          ^~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1452:18: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe’
1452 |     msg, es_event->ErrCode, NULL, NULL);
      |                  ^~
upnp/UPnPBase.cpp:1447:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe’
1447 |   struct Upnp_Event_Subscribe *es_event =
      |          ^~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1482:34: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe’
1482 |    UpnpString_get_String(es_event->PublisherUrl),
      |                                  ^~
upnp/UPnPBase.cpp:1475:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe’
1475 |   struct Upnp_Event_Subscribe *es_event =
      |          ^~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1491:18: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe’
1491 |     msg, es_event->ErrCode, NULL, NULL);
      |                  ^~
upnp/UPnPBase.cpp:1475:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe’
1475 |   struct Upnp_Event_Subscribe *es_event =
      |          ^~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1495:61: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe’
1495 |     upnpCP->m_ServiceMap.find(UpnpString_get_String(es_event->PublisherUrl));
      |                                                             ^~
upnp/UPnPBase.cpp:1475:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe’
1475 |   struct Upnp_Event_Subscribe *es_event =
      |          ^~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1505:36: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe’
1505 |      UpnpString_get_String(es_event->PublisherUrl) <<
      |                                    ^~
upnp/UPnPBase.cpp:1475:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe’
1475 |   struct Upnp_Event_Subscribe *es_event =
      |          ^~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1529:14: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Action_Complete’
1529 |   if (a_event->ErrCode != UPNP_E_SUCCESS) {
      |              ^~
upnp/UPnPBase.cpp:1527:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Action_Complete’
1527 |   struct Upnp_Action_Complete *a_event =
      |          ^~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1532:12: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Action_Complete’
1532 |     a_event->ErrCode, NULL,
      |            ^~
upnp/UPnPBase.cpp:1527:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Action_Complete’
1527 |   struct Upnp_Action_Complete *a_event =
      |          ^~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1533:12: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Action_Complete’
1533 |     a_event->ActionResult);
      |            ^~
upnp/UPnPBase.cpp:1527:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Action_Complete’
1527 |   struct Upnp_Action_Complete *a_event =
      |          ^~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1537:12: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Action_Complete’
1537 |     a_event->ActionResult,
      |            ^~
upnp/UPnPBase.cpp:1527:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Action_Complete’
1527 |   struct Upnp_Action_Complete *a_event =
      |          ^~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1552:15: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_State_Var_Complete’
1552 |   if (sv_event->ErrCode != UPNP_E_SUCCESS) {
      |               ^~
upnp/UPnPBase.cpp:1550:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_State_Var_Complete’
1550 |   struct Upnp_State_Var_Complete *sv_event =
      |          ^~~~~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1555:18: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_State_Var_Complete’
1555 |     msg, sv_event->ErrCode, NULL, NULL);
      |                  ^~
upnp/UPnPBase.cpp:1550:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_State_Var_Complete’
1550 |   struct Upnp_State_Var_Complete *sv_event =
      |          ^~~~~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1558:63: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_State_Var_Complete’
1558 |       (upnpCP->m_WanService->propertyMap)[std::string(sv_event->StateVarName)] = std::string(sv_event->CurrentVal);
      |                                                               ^~
upnp/UPnPBase.cpp:1550:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_State_Var_Complete’
1550 |   struct Upnp_State_Var_Complete *sv_event =
      |          ^~~~~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1558:102: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_State_Var_Complete’
1558 |     (upnpCP->m_WanService->propertyMap)[std::string(sv_event->StateVarName)] = std::string(sv_event->CurrentVal);
      |                                                                                                    ^~

upnp/UPnPBase.cpp:1550:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_State_Var_Complete’
1550 |   struct Upnp_State_Var_Complete *sv_event =
      |          ^~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [Makefile.libretroshare:11887: temp/linux-g++/obj/UPnPBase.o] Error 1
make[1]: Leaving directory '/home/y0s1/.cache/yay/retroshare/src/RetroShare-0.6.5/libretroshare/src'
make: *** [Makefile:103: sub-libretroshare-src-libretroshare-pro-make_first] Error 2
cd openpgpsdk/src/ && ( test -e Makefile.openpgpsdk || /usr/bin/qmake -o Makefile.openpgpsdk /home/y0s1/.cache/yay/retroshare/src/RetroShare-0.6.5/openpgpsdk/src/openpgpsdk.pro CONFIG-=debug CONFIG+=release CONFIG+=no_libresapihttpserver 'QMAKE_CFLAGS_RELEASE=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt' 'QMAKE_CXXFLAGS_RELEASE=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt' ) && make -f Makefile.openpgpsdk
make[1]: Entering directory '/home/y0s1/.cache/yay/retroshare/src/RetroShare-0.6.5/openpgpsdk/src'
make[1]: Nothing to be done for 'first'.
make[1]: Leaving directory '/home/y0s1/.cache/yay/retroshare/src/RetroShare-0.6.5/openpgpsdk/src'
cd libbitdht/src/ && ( test -e Makefile.libbitdht || /usr/bin/qmake -o Makefile.libbitdht /home/y0s1/.cache/yay/retroshare/src/RetroShare-0.6.5/libbitdht/src/libbitdht.pro CONFIG-=debug CONFIG+=release CONFIG+=no_libresapihttpserver 'QMAKE_CFLAGS_RELEASE=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt' 'QMAKE_CXXFLAGS_RELEASE=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt' ) && make -f Makefile.libbitdht
make[1]: Entering directory '/home/y0s1/.cache/yay/retroshare/src/RetroShare-0.6.5/libbitdht/src'
make[1]: Nothing to be done for 'first'.
make[1]: Leaving directory '/home/y0s1/.cache/yay/retroshare/src/RetroShare-0.6.5/libbitdht/src'
cd libretroshare/src/ && ( test -e Makefile.libretroshare || /usr/bin/qmake -o Makefile.libretroshare /home/y0s1/.cache/yay/retroshare/src/RetroShare-0.6.5/libretroshare/src/libretroshare.pro CONFIG-=debug CONFIG+=release CONFIG+=no_libresapihttpserver 'QMAKE_CFLAGS_RELEASE=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt' 'QMAKE_CXXFLAGS_RELEASE=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt' ) && make -f Makefile.libretroshare
make[1]: Entering directory '/home/y0s1/.cache/yay/retroshare/src/RetroShare-0.6.5/libretroshare/src'
g++ -c -pipe -Wno-deprecated -Wno-deprecated-declarations -Wno-cpp -Wall -D_FILE_OFFSET_BITS=64 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fPIC -std=gnu++11 -pthread -Wall -Wextra -DRS_USE_GXS_DISTANT_SYNC -DRS_ENABLE_GXS -DRS_GXS_SEND_ALL -DRS_NO_WARN_DEPRECATED -DRS_NO_WARN_CPP -DRS_GXS_TRANS -DRS_USE_BITDHT -DRS_DIRECT_CHAT -DPATCHED_LIBUPNP -DPLUGIN_DIR="\"/usr/lib/retroshare/extensions6\"" -DDATA_DIR="\"/usr/share/retroshare\"" -DRS_USE_LIBUPNP -DSQLITE_HAS_CODEC -DGXS_ENABLE_SYNC_MSGS -I. -I. -I../../openpgpsdk/src -I../../libbitdht/src -I../../rapidjson-1.1.0 -I. -I../../libbitdht/src -I../../openpgpsdk/src -I/usr/include/upnp -I/usr/lib/qt/mkspecs/linux-g++ -o temp/linux-g++/obj/UPnPBase.o upnp/UPnPBase.cpp
upnp/UPnPBase.cpp: In member function ‘bool CUPnPService::Execute(const string&, const std::vector<CUPnPArgumentValue>&) const’:
upnp/UPnPBase.cpp:751:3: error: invalid ‘static_cast’ from type ‘int (*)(Upnp_EventType, void*, void*)’ {aka ‘int (*)(Upnp_EventType_e, void*, void*)’} to type ‘Upnp_FunPtr’ {aka ‘int (*)(Upnp_EventType_e, const void*, void*)’}
  751 |   static_cast<Upnp_FunPtr>(&CUPnPControlPoint::Callback),
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp: In constructor ‘CUPnPControlPoint::CUPnPControlPoint(short unsigned int)’:
upnp/UPnPBase.cpp:930:8: error: ‘UpnpInit’ was not declared in this scope; did you mean ‘UpnpInit2’?
  930 |  ret = UpnpInit(ipAddress, udpPort);
      |        ^~~~~~~~
      |        UpnpInit2
upnp/UPnPBase.cpp:951:3: error: invalid ‘static_cast’ from type ‘int (*)(Upnp_EventType, void*, void*)’ {aka ‘int (*)(Upnp_EventType_e, void*, void*)’} to type ‘Upnp_FunPtr’ {aka ‘int (*)(Upnp_EventType_e, const void*, void*)’}
  951 |   static_cast<Upnp_FunPtr>(&CUPnPControlPoint::Callback),
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp: In static member function ‘static int CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)’:
upnp/UPnPBase.cpp:1326:14: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
1326 |   if (d_event->ErrCode != UPNP_E_SUCCESS) {
      |              ^~
upnp/UPnPBase.cpp:1323:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
1323 |   struct Upnp_Discovery *d_event = (struct Upnp_Discovery *)Event;
      |          ^~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1336:35: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
1336 |   ret = UpnpDownloadXmlDoc(d_event->Location, &doc);
      |                                   ^~
upnp/UPnPBase.cpp:1323:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
1323 |   struct Upnp_Discovery *d_event = (struct Upnp_Discovery *)Event;
      |          ^~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1383:13: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
1383 |      d_event->Location, d_event->Expires);
      |             ^~
upnp/UPnPBase.cpp:1323:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
1323 |   struct Upnp_Discovery *d_event = (struct Upnp_Discovery *)Event;
      |          ^~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1383:32: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
1383 |      d_event->Location, d_event->Expires);
      |                                ^~
upnp/UPnPBase.cpp:1323:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
1323 |   struct Upnp_Discovery *d_event = (struct Upnp_Discovery *)Event;
      |          ^~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1409:16: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
1409 |   if (dab_event->ErrCode != UPNP_E_SUCCESS) {
      |                ^~
upnp/UPnPBase.cpp:1408:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
1408 |   struct Upnp_Discovery *dab_event = (struct Upnp_Discovery *)Event;
      |          ^~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1416:34: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
1416 |   std::string devType = dab_event->DeviceType;
      |                                  ^~
upnp/UPnPBase.cpp:1408:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
1408 |   struct Upnp_Discovery *dab_event = (struct Upnp_Discovery *)Event;
      |          ^~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1420:38: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
1420 |    upnpCP->RemoveRootDevice(dab_event->DeviceId);
      |                                      ^~
upnp/UPnPBase.cpp:1408:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
1408 |   struct Upnp_Discovery *dab_event = (struct Upnp_Discovery *)Event;
      |          ^~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1430:34: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event’
1430 |   const std::string Sid = e_event->Sid;
      |                                  ^~
upnp/UPnPBase.cpp:1429:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event’
1429 |   struct Upnp_Event *e_event = (struct Upnp_Event *)Event;
      |          ^~~~~~~~~~
upnp/UPnPBase.cpp:1432:39: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event’
1432 |   upnpCP->OnEventReceived(Sid, e_event->EventKey, e_event->ChangedVariables);
      |                                       ^~
upnp/UPnPBase.cpp:1429:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event’
1429 |   struct Upnp_Event *e_event = (struct Upnp_Event *)Event;
      |          ^~~~~~~~~~
upnp/UPnPBase.cpp:1432:58: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event’
1432 |   upnpCP->OnEventReceived(Sid, e_event->EventKey, e_event->ChangedVariables);
      |                                                          ^~
upnp/UPnPBase.cpp:1429:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event’
1429 |   struct Upnp_Event *e_event = (struct Upnp_Event *)Event;
      |          ^~~~~~~~~~
upnp/UPnPBase.cpp:1449:15: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe’
1449 |   if (es_event->ErrCode != UPNP_E_SUCCESS) {
      |               ^~
upnp/UPnPBase.cpp:1447:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe’
1447 |   struct Upnp_Event_Subscribe *es_event =
      |          ^~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1452:18: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe’
1452 |     msg, es_event->ErrCode, NULL, NULL);
      |                  ^~
upnp/UPnPBase.cpp:1447:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe’
1447 |   struct Upnp_Event_Subscribe *es_event =
      |          ^~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1482:34: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe’
1482 |    UpnpString_get_String(es_event->PublisherUrl),
      |                                  ^~
upnp/UPnPBase.cpp:1475:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe’
1475 |   struct Upnp_Event_Subscribe *es_event =
      |          ^~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1491:18: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe’
1491 |     msg, es_event->ErrCode, NULL, NULL);
      |                  ^~
upnp/UPnPBase.cpp:1475:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe’
1475 |   struct Upnp_Event_Subscribe *es_event =
      |          ^~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1495:61: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe’
1495 |     upnpCP->m_ServiceMap.find(UpnpString_get_String(es_event->PublisherUrl));
      |                                                             ^~
upnp/UPnPBase.cpp:1475:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe’
1475 |   struct Upnp_Event_Subscribe *es_event =
      |          ^~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1505:36: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe’
1505 |      UpnpString_get_String(es_event->PublisherUrl) <<
      |                                    ^~
upnp/UPnPBase.cpp:1475:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe’
1475 |   struct Upnp_Event_Subscribe *es_event =
      |          ^~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1529:14: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Action_Complete’
1529 |   if (a_event->ErrCode != UPNP_E_SUCCESS) {
      |              ^~
upnp/UPnPBase.cpp:1527:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Action_Complete’
1527 |   struct Upnp_Action_Complete *a_event =
      |          ^~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1532:12: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Action_Complete’
1532 |     a_event->ErrCode, NULL,
      |            ^~
upnp/UPnPBase.cpp:1527:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Action_Complete’
1527 |   struct Upnp_Action_Complete *a_event =
      |          ^~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1533:12: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Action_Complete’
1533 |     a_event->ActionResult);
      |            ^~
upnp/UPnPBase.cpp:1527:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Action_Complete’
1527 |   struct Upnp_Action_Complete *a_event =
      |          ^~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1537:12: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Action_Complete’
1537 |     a_event->ActionResult,
      |            ^~
upnp/UPnPBase.cpp:1527:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Action_Complete’
1527 |   struct Upnp_Action_Complete *a_event =
      |          ^~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1552:15: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_State_Var_Complete’
1552 |   if (sv_event->ErrCode != UPNP_E_SUCCESS) {
      |               ^~
upnp/UPnPBase.cpp:1550:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_State_Var_Complete’
1550 |   struct Upnp_State_Var_Complete *sv_event =
      |          ^~~~~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1555:18: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_State_Var_Complete’
1555 |     msg, sv_event->ErrCode, NULL, NULL);
      |                  ^~
upnp/UPnPBase.cpp:1550:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_State_Var_Complete’
1550 |   struct Upnp_State_Var_Complete *sv_event =
      |          ^~~~~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1558:63: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_State_Var_Complete’
1558 |       (upnpCP->m_WanService->propertyMap)[std::string(sv_event->StateVarName)] = std::string(sv_event->CurrentVal);
      |                                                               ^~
upnp/UPnPBase.cpp:1550:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_State_Var_Complete’
1550 |   struct Upnp_State_Var_Complete *sv_event =
      |          ^~~~~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1558:102: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_State_Var_Complete’
1558 |     (upnpCP->m_WanService->propertyMap)[std::string(sv_event->StateVarName)] = std::string(sv_event->CurrentVal);
      |                                                                                                    ^~

upnp/UPnPBase.cpp:1550:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_State_Var_Complete’
1550 |   struct Upnp_State_Var_Complete *sv_event =
      |          ^~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [Makefile.libretroshare:11887: temp/linux-g++/obj/UPnPBase.o] Error 1
make[1]: Leaving directory '/home/y0s1/.cache/yay/retroshare/src/RetroShare-0.6.5/libretroshare/src'
make: *** [Makefile:103: sub-libretroshare-src-libretroshare-pro-make_first] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
error making: retroshare

Offline

#6 2020-10-07 15:45:47

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,665

Re: Cannot install retroshare in ArchLinux

Please edit your posts and wrap output in [ code ] [ /code ] tags without the spaces.

Offline

#7 2020-10-07 15:52:22

loqs
Member
Registered: 2014-03-06
Posts: 17,324

Re: Cannot install retroshare in ArchLinux

Online

#8 2020-10-08 05:01:27

y0s1
Member
Registered: 2020-10-07
Posts: 13

Re: Cannot install retroshare in ArchLinux

What should i do? Upgrade libupnp?

Offline

#9 2020-10-08 05:53:17

GaKu999
Member
From: US/Eastern
Registered: 2020-06-21
Posts: 696

Re: Cannot install retroshare in ArchLinux

Did you read?
For now its broken upstream.

You have two options:
1- wait wait wait for the fix
2- use flatpak

It seems that this escalated across different softwares tho...and the dev said the API changed...I wonder the impact...

And please fix that humongous wall of text with code tags as asked already...

Last edited by GaKu999 (2020-10-08 05:54:57)


My reposSome snippets

Heisenberg might have been here.

Offline

Board footer

Powered by FluxBB