Re: 5.0 compilation error on centos 7.6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Disabled video support in ptlib- don't need it anyway- , gnugk compiled .

Thank you!


27.12.2018 15:34, Dmitry Melekhov пишет:
Hello!


Want to upgrade 4.7 to current release and have following error during build:


[root@gk gnugk-5.0]# LANG=C make optnoshared
make DEBUG= P_SHAREDLIB=0 default_target
make[1]: Entering directory `/root/gnugk-5.0'
[CC] authenticators.cxx
authenticators.cxx: In member function 'virtual H235Authenticator::ValidationResult H235AuthDesECB::ValidateCryptoToken(const H225_CryptoH323Token&, const PBYTEArray&)': authenticators.cxx:118:36: error: 'ERR_get_error' was not declared in this scope
     ERR_error_string(ERR_get_error(), buf);
                                    ^
authenticators.cxx:118:42: error: 'ERR_error_string' was not declared in this scope
     ERR_error_string(ERR_get_error(), buf);
                                          ^
In file included from /root/ptlib/include/ptclib/pnat.h:39:0,
                 from /root/h323plus/include/ptlib_extras.h:51,
                 from /root/h323plus/include/q931.h:36,
                 from sigmsg.h:20,
                 from RasTbl.h:23,
                 from Toolkit.h:23,
                 from authenticators.cxx:18:
/root/ptlib/include/ptlib/videoio.h: At global scope:
/root/ptlib/include/ptlib/plugin.h:210:13: warning: 'PPlugin_PVideoInputDevice_FakeVideo_loader' defined but not used [-Wunused-variable]    int const PPlugin_##serviceType##_##serviceName##_loader = PPlugin_##serviceType##_##serviceName##_link();
             ^
/root/ptlib/include/ptlib/videoio.h:1168:1: note: in expansion of macro 'PPLUGIN_STATIC_LOAD'
 PPLUGIN_STATIC_LOAD(FakeVideo, PVideoInputDevice);
 ^
/root/ptlib/include/ptlib/plugin.h:210:13: warning: 'PPlugin_PVideoInputDevice_FFMPEG_loader' defined but not used [-Wunused-variable]    int const PPlugin_##serviceType##_##serviceName##_loader = PPlugin_##serviceType##_##serviceName##_link();
             ^
/root/ptlib/include/ptlib/videoio.h:1175:3: note: in expansion of macro 'PPLUGIN_STATIC_LOAD'
   PPLUGIN_STATIC_LOAD(FFMPEG, PVideoInputDevice);
   ^
/root/ptlib/include/ptlib/plugin.h:210:13: warning: 'PPlugin_PVideoInputDevice_YUVFile_loader' defined but not used [-Wunused-variable]    int const PPlugin_##serviceType##_##serviceName##_loader = PPlugin_##serviceType##_##serviceName##_link();
             ^
/root/ptlib/include/ptlib/videoio.h:1179:3: note: in expansion of macro 'PPLUGIN_STATIC_LOAD'
   PPLUGIN_STATIC_LOAD(YUVFile, PVideoInputDevice);
   ^
In file included from /root/ptlib/include/ptlib/pprocess.h:44:0,
                 from /root/ptlib/include/ptlib/icmpsock.h:41,
                 from /root/ptlib/include/ptlib/sockets.h:69,
                 from Toolkit.h:20,
                 from authenticators.cxx:18:
/root/ptlib/include/ptlib/pluginmgr.h:175:15: warning: 'PFactoryLoader::PluginLoaderStartup_loader' defined but not used [-Wunused-variable]
 PFACTORY_LOAD(PluginLoaderStartup);
               ^
/root/ptlib/include/ptlib/pfactory.h:434:15: note: in definition of macro 'PFACTORY_LOAD'
     int const ConcreteType##_loader = ConcreteType##_link(); \
               ^
/root/ptlib/include/ptclib/pnat.h:362:15: warning: 'PFactoryLoader::PSTUNClient_loader' defined but not used [-Wunused-variable]
 PFACTORY_LOAD(PSTUNClient);
               ^
/root/ptlib/include/ptlib/pfactory.h:434:15: note: in definition of macro 'PFACTORY_LOAD'
     int const ConcreteType##_loader = ConcreteType##_link(); \
               ^
make[1]: *** [obj_linux_x86_64_s/authenticators.o] Error 1
make[1]: Leaving directory `/root/gnugk-5.0'
make: *** [optnoshared] Error 2
[root@gk gnugk-5.0]#


Could you tell me how can I fix this?


Thank you!




_______________________________________________________

Posting: mailto:gnugk-users@xxxxxxxxxxxxxxx
Archive: https://lists.gnugk.org/pipermail/gnugk-users/
Unsubscribe: https://lists.gnugk.org/lists/listinfo/gnugk-users
Homepage: https://www.gnugk.org/




[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux