Comments (14)
Hi there,
You install the dependencies?
- Build the lib?
see wiki (https://github.com/augcampos/asterisk-cpp/wiki/Examples)
from asterisk-cpp.
I have installed all dependencies and built it exactly as you described and I get the same errors. There is an issue with a virtual class somewhere.
from asterisk-cpp.
I there, can you send us the error/ log, please.
Thank you
Em 15/11/2014 01:26, "non-41" [email protected] escreveu:
I have installed all dependencies and built it exactly as you described
and I get the same errors. There is an issue with a virtual class somewhere.—
Reply to this email directly or view it on GitHub
https://github.com/augcampos/asterisk-cpp/issues/4#issuecomment-63153885
.
from asterisk-cpp.
It's the exact same error as the person who posted before me. You then
replied and asked if he had all the required dependencies and he never
replied.
./makeTest.sh
/usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::UserEventAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::HangupAction'
/usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::QueueStatusAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::QueueResetAction'
/usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::PlayDtmfAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::SkypeBuddiesAction'
/usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::SkypeRemoveBuddyAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::MeetMeUnmuteAction'
/usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::RedirectAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
asteriskcpp::GetConfigResponse::GetConfigResponse(std::basic_string<char,
std::char_traits, std::allocator > const&)'
/usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::DbDelAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::SkypeLicenseListAction'
/usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::StopMonitorAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
asteriskcpp::ModuleCheckResponse::ModuleCheckResponse(std::basic_string<char,
std::char_traits, std::allocator > const&)'
/usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::IaxPeerListAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
asteriskcpp::SkypeBuddyResponse::SkypeBuddyResponse(std::basic_string<char,
std::char_traits, std::allocator > const&)'
/usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::UnpauseMonitorAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::ZapRestartAction'
/usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::ParkedCallsAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::ConfbridgeUnmuteAction'
/usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::ExtensionStateAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::ModuleLoadAction'
/usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::SkypeLicenseStatusAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::QueueLogAction'
/usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::ShowDialplanAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::ConfbridgeMuteAction'
/usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::GetVarAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::ConfbridgeLockAction'
/usr/local/lib/libasteriskcpp.so: undefined reference to
asteriskcpp::PingResponse::PingResponse(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::ZapShowChannelsAction'
/usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::MailboxCountAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
asteriskcpp::GetVarResponse::GetVarResponse(std::basic_string<char,
std::char_traits, std::allocator > const&)'
/usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::SendTextAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::ZapDialOffhookAction'
/usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::SipShowRegistryAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
asteriskcpp::MailboxCountResponse::MailboxCountResponse(std::basic_string<char,
std::char_traits, std::allocator > const&)'
/usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::QueueSummaryAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::CoreStatusAction'
/usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::ModuleCheckAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::ParkAction'
/usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::VoicemailUsersListAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::SetCdrUserFieldAction'
/usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::ConfbridgeListAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::ZapTransferAction'
/usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::LocalOptimizeAwayAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::QueuePauseAction'
/usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::JabberSendAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
asteriskcpp::ExtensionStateResponse::ExtensionStateResponse(std::basic_string<char,
std::char_traits, std::allocator > const&)'
/usr/local/lib/libasteriskcpp.so: undefined reference to
asteriskcpp::SkypeLicenseStatusResponse::SkypeLicenseStatusResponse(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::ConfbridgeSetSingleVideoSrcAction'
/usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::SkypeChatSendAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::MixMonitorMuteAction'
/usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::CoreShowChannelsAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::SipPeersAction'
/usr/local/lib/libasteriskcpp.so: undefined reference to
asteriskcpp::MailboxStatusResponse::MailboxStatusResponse(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::MailboxStatusAction'
/usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::MonitorAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::PauseMonitorAction'
/usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::ConfbridgeUnlockAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::SetVarAction'
/usr/local/lib/libasteriskcpp.so: undefined reference to
asteriskcpp::CoreSettingsResponse::CoreSettingsResponse(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::DahdiShowChannelsAction'
/usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::DbPutAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
asteriskcpp::CoreStatusResponse::CoreStatusResponse(std::basic_string<char,
std::char_traits, std::allocator > const&)'
/usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::ZapDndOnAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::ZapDndOffAction'
/usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::ConfbridgeStartRecordAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::QueueAddAction'
/usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::SkypeBuddyAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::SipShowPeerAction'
/usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::ZapHangupAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::CoreSettingsAction'
/usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::MeetMeMuteAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::BridgeAction'
/usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::ConfbridgeStopRecordAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::SkypeAddBuddyAction'
/usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::QueuePenaltyAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::PingAction'
/usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::ChangeMonitorAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::DbDelTreeAction'
/usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::PauseMixMonitorAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::ConfbridgeKickAction'
/usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::DbGetAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::QueueRemoveAction'
/usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::GetConfigAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::StatusAction'
collect2: ld returned 1 exit status
On Sat, Nov 15, 2014 at 9:26 AM, Augusto Campos [email protected]
wrote:
I there, can you send us the error/ log, please.
Thank you
Em 15/11/2014 01:26, "non-41" [email protected] escreveu:I have installed all dependencies and built it exactly as you described
and I get the same errors. There is an issue with a virtual class
somewhere.—
Reply to this email directly or view it on GitHub
<
https://github.com/augcampos/asterisk-cpp/issues/4#issuecomment-63153885>
.—
Reply to this email directly or view it on GitHub
https://github.com/augcampos/asterisk-cpp/issues/4#issuecomment-63174051
.
from asterisk-cpp.
Did you run all steps in the wiki
https://github.com/augcampos/asterisk-cpp/wiki/Examples
Yoy may need a reboot after [Library Build] and check if the
/usr/local/lib/libasteriskcpp.so exists
--CumprimentosAugusto Campos
On 15 November 2014 14:30, non-41 [email protected] wrote:
It's the exact same error as the person who posted before me. You then
replied and asked if he had all the required dependencies and he never
replied../makeTest.sh
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::UserEventAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::HangupAction'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::QueueStatusAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::QueueResetAction'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::PlayDtmfAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::SkypeBuddiesAction'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::SkypeRemoveBuddyAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::MeetMeUnmuteAction'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::RedirectAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
asteriskcpp::GetConfigResponse::GetConfigResponse(std::basic_string<char,
std::char_traits, std::allocator > const&)'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::DbDelAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::SkypeLicenseListAction'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::StopMonitorAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
asteriskcpp::ModuleCheckResponse::ModuleCheckResponse(std::basic_string<char,std::char_traits, std::allocator > const&)'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::IaxPeerListAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
asteriskcpp::SkypeBuddyResponse::SkypeBuddyResponse(std::basic_string<char,std::char_traits, std::allocator > const&)'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::UnpauseMonitorAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::ZapRestartAction'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::ParkedCallsAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::ConfbridgeUnmuteAction'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::ExtensionStateAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::ModuleLoadAction'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::SkypeLicenseStatusAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::QueueLogAction'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::ShowDialplanAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::ConfbridgeMuteAction'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::GetVarAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::ConfbridgeLockAction'
/usr/local/lib/libasteriskcpp.so: undefined reference to
asteriskcpp::PingResponse::PingResponse(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::ZapShowChannelsAction'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::MailboxCountAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
asteriskcpp::GetVarResponse::GetVarResponse(std::basic_string<char,
std::char_traits, std::allocator > const&)'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::SendTextAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::ZapDialOffhookAction'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::SipShowRegistryAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
asteriskcpp::MailboxCountResponse::MailboxCountResponse(std::basic_string<char,std::char_traits, std::allocator > const&)'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::QueueSummaryAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::CoreStatusAction'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::ModuleCheckAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::ParkAction'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::VoicemailUsersListAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::SetCdrUserFieldAction'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::ConfbridgeListAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::ZapTransferAction'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::LocalOptimizeAwayAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::QueuePauseAction'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::JabberSendAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
asteriskcpp::ExtensionStateResponse::ExtensionStateResponse(std::basic_string<char,std::char_traits, std::allocator > const&)'
/usr/local/lib/libasteriskcpp.so: undefined reference to
`asteriskcpp::SkypeLicenseStatusResponse::SkypeLicenseStatusResponse(std::basic_string<char,std::char_traits, std::allocator > const&)'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::ConfbridgeSetSingleVideoSrcAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::SkypeChatSendAction'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::MixMonitorMuteAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::CoreShowChannelsAction'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::SipPeersAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
asteriskcpp::MailboxStatusResponse::MailboxStatusResponse(std::basic_string<char,std::char_traits, std::allocator > const&)'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::MailboxStatusAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::MonitorAction'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::PauseMonitorAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::ConfbridgeUnlockAction'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::SetVarAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
asteriskcpp::CoreSettingsResponse::CoreSettingsResponse(std::basic_string<char,std::char_traits, std::allocator > const&)'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::DahdiShowChannelsAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::DbPutAction'
/usr/local/lib/libasteriskcpp.so: undefined reference to
`asteriskcpp::CoreStatusResponse::CoreStatusResponse(std::basic_string<char,std::char_traits, std::allocator > const&)'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::ZapDndOnAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::ZapDndOffAction'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::ConfbridgeStartRecordAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::QueueAddAction'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::SkypeBuddyAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::SipShowPeerAction'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::ZapHangupAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::CoreSettingsAction'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::MeetMeMuteAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::BridgeAction'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::ConfbridgeStopRecordAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::SkypeAddBuddyAction'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::QueuePenaltyAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::PingAction'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::ChangeMonitorAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::DbDelTreeAction'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::PauseMixMonitorAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::ConfbridgeKickAction'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::DbGetAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::QueueRemoveAction'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::GetConfigAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::StatusAction'
collect2: ld returned 1 exit statusOn Sat, Nov 15, 2014 at 9:26 AM, Augusto Campos [email protected]
wrote:
I there, can you send us the error/ log, please.
Thank you
Em 15/11/2014 01:26, "non-41" [email protected] escreveu:I have installed all dependencies and built it exactly as you
described
and I get the same errors. There is an issue with a virtual class
somewhere.—
Reply to this email directly or view it on GitHub
<
https://github.com/augcampos/asterisk-cpp/issues/4#issuecomment-63153885>.
—
Reply to this email directly or view it on GitHub
<
https://github.com/augcampos/asterisk-cpp/issues/4#issuecomment-63174051>
.—
Reply to this email directly or view it on GitHub
https://github.com/augcampos/asterisk-cpp/issues/4#issuecomment-63174130
.
from asterisk-cpp.
Yes I ran all of the steps. Anyways I just wrote my own, but thank you.
On Nov 17, 2014 5:46 AM, "Augusto Campos" [email protected] wrote:
Did you run all steps in the wiki
https://github.com/augcampos/asterisk-cpp/wiki/ExamplesYoy may need a reboot after [Library Build] and check if the
/usr/local/lib/libasteriskcpp.so exists--CumprimentosAugusto Campos
On 15 November 2014 14:30, non-41 [email protected] wrote:
It's the exact same error as the person who posted before me. You then
replied and asked if he had all the required dependencies and he never
replied../makeTest.sh
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::UserEventAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::HangupAction'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::QueueStatusAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::QueueResetAction'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::PlayDtmfAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::SkypeBuddiesAction'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::SkypeRemoveBuddyAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::MeetMeUnmuteAction'
/usr/local/lib/libasteriskcpp.so: undefined reference to `vtable for
asteriskcpp::RedirectAction'
/usr/local/lib/libasteriskcpp.so: undefined reference to
asteriskcpp::GetConfigResponse::GetConfigResponse(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::DbDelAction'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::SkypeLicenseListAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::StopMonitorAction'
/usr/local/lib/libasteriskcpp.so: undefined reference to`asteriskcpp::ModuleCheckResponse::ModuleCheckResponse(std::basic_string<char,
std::char_traits, std::allocator > const&)'
/usr/local/lib/libasteriskcpp.so: undefined reference to `vtable for
asteriskcpp::IaxPeerListAction'
/usr/local/lib/libasteriskcpp.so: undefined reference to`asteriskcpp::SkypeBuddyResponse::SkypeBuddyResponse(std::basic_string<char,
std::char_traits, std::allocator > const&)'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::UnpauseMonitorAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::ZapRestartAction'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::ParkedCallsAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::ConfbridgeUnmuteAction'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::ExtensionStateAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::ModuleLoadAction'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::SkypeLicenseStatusAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::QueueLogAction'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::ShowDialplanAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::ConfbridgeMuteAction'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::GetVarAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::ConfbridgeLockAction'
/usr/local/lib/libasteriskcpp.so: undefined reference to
asteriskcpp::PingResponse::PingResponse(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::ZapShowChannelsAction'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::MailboxCountAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
asteriskcpp::GetVarResponse::GetVarResponse(std::basic_string<char,
std::char_traits, std::allocator > const&)'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::SendTextAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::ZapDialOffhookAction'
/usr/local/lib/libasteriskcpp.so: undefined reference to `vtable for
asteriskcpp::SipShowRegistryAction'
/usr/local/lib/libasteriskcpp.so: undefined reference to`asteriskcpp::MailboxCountResponse::MailboxCountResponse(std::basic_string<char,
std::char_traits, std::allocator > const&)'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::QueueSummaryAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::CoreStatusAction'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::ModuleCheckAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::ParkAction'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::VoicemailUsersListAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::SetCdrUserFieldAction'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::ConfbridgeListAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::ZapTransferAction'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::LocalOptimizeAwayAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::QueuePauseAction'
/usr/local/lib/libasteriskcpp.so: undefined reference to `vtable for
asteriskcpp::JabberSendAction'
/usr/local/lib/libasteriskcpp.so: undefined reference to`asteriskcpp::ExtensionStateResponse::ExtensionStateResponse(std::basic_string<char,
std::char_traits, std::allocator > const&)'
/usr/local/lib/libasteriskcpp.so: undefined reference to`asteriskcpp::SkypeLicenseStatusResponse::SkypeLicenseStatusResponse(std::basic_string<char,
std::char_traits, std::allocator > const&)'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::ConfbridgeSetSingleVideoSrcAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::SkypeChatSendAction'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::MixMonitorMuteAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::CoreShowChannelsAction'
/usr/local/lib/libasteriskcpp.so: undefined reference to `vtable for
asteriskcpp::SipPeersAction'
/usr/local/lib/libasteriskcpp.so: undefined reference to`asteriskcpp::MailboxStatusResponse::MailboxStatusResponse(std::basic_string<char,
std::char_traits, std::allocator > const&)'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::MailboxStatusAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::MonitorAction'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::PauseMonitorAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::ConfbridgeUnlockAction'
/usr/local/lib/libasteriskcpp.so: undefined reference to `vtable for
asteriskcpp::SetVarAction'
/usr/local/lib/libasteriskcpp.so: undefined reference to`asteriskcpp::CoreSettingsResponse::CoreSettingsResponse(std::basic_string<char,
std::char_traits, std::allocator > const&)'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::DahdiShowChannelsAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::DbPutAction'
/usr/local/lib/libasteriskcpp.so: undefined reference to`asteriskcpp::CoreStatusResponse::CoreStatusResponse(std::basic_string<char,
std::char_traits, std::allocator > const&)'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::ZapDndOnAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::ZapDndOffAction'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::ConfbridgeStartRecordAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::QueueAddAction'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::SkypeBuddyAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::SipShowPeerAction'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::ZapHangupAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::CoreSettingsAction'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::MeetMeMuteAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::BridgeAction'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::ConfbridgeStopRecordAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::SkypeAddBuddyAction'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::QueuePenaltyAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::PingAction'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::ChangeMonitorAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::DbDelTreeAction'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::PauseMixMonitorAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::ConfbridgeKickAction'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::DbGetAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::QueueRemoveAction'
/usr/local/lib/libasteriskcpp.so: undefined reference tovtable for asteriskcpp::GetConfigAction' /usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::StatusAction'
collect2: ld returned 1 exit statusOn Sat, Nov 15, 2014 at 9:26 AM, Augusto Campos <
[email protected]>wrote:
I there, can you send us the error/ log, please.
Thank you
Em 15/11/2014 01:26, "non-41" [email protected] escreveu:I have installed all dependencies and built it exactly as you
described
and I get the same errors. There is an issue with a virtual class
somewhere.—
Reply to this email directly or view it on GitHub
<https://github.com/augcampos/asterisk-cpp/issues/4#issuecomment-63153885>
.
—
Reply to this email directly or view it on GitHub
<
https://github.com/augcampos/asterisk-cpp/issues/4#issuecomment-63174051>.
—
Reply to this email directly or view it on GitHub
<
https://github.com/augcampos/asterisk-cpp/issues/4#issuecomment-63174130>
.—
Reply to this email directly or view it on GitHub
https://github.com/augcampos/asterisk-cpp/issues/4#issuecomment-63287253
.
from asterisk-cpp.
Hi,
i'm geting the same errors about vtable in linker.
To avoid this error:
error: invalid conversion from ‘void ()(asteriskcpp::ManagerEvent)’ to ‘asteriskcpp::onManagerEventCallback_t {aka void (*)(const asteriskcpp::ManagerEvent&)}’ [-fpermissive]
i've changed the code as below but now i'm getting linker errors as above.
void eventCallback(const ManagerEvent& me) {
std::cout << std::endl << "TEST:EVENT" << me.toLog() << std::endl;
}
What's now?
Thanks
Regards
from asterisk-cpp.
You may need a reboot after [Library Build] and check if the
/usr/local/lib/libasteriskcpp.so exists
from asterisk-cpp.
Hi,
i'm always getting the same, even after restart!
//usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::SkypeChatSendAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for asteriskcpp::JabberSendAction'
//usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::GetConfigAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for asteriskcpp::PauseMixMonitorAction'
//usr/local/lib/libasteriskcpp.so: undefined reference to
asteriskcpp::CoreSettingsResponse::CoreSettingsResponse(std::string const&)' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for asteriskcpp::QueueResetAction'
//usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::PingAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for asteriskcpp::SkypeBuddiesAction'
//usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::MailboxStatusAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for asteriskcpp::MonitorAction'
//usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::IaxPeerListAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for asteriskcpp::ConfbridgeListAction'
//usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::CoreStatusAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for asteriskcpp::SipShowPeerAction'
//usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::LocalOptimizeAwayAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for asteriskcpp::UnpauseMonitorAction'
//usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::ConfbridgeLockAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for asteriskcpp::ZapDndOffAction'
//usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::ZapHangupAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for asteriskcpp::QueueLogAction'
//usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::ParkAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for asteriskcpp::ZapTransferAction'
//usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::DbPutAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for asteriskcpp::SkypeLicenseListAction'
//usr/local/lib/libasteriskcpp.so: undefined reference to
asteriskcpp::CoreStatusResponse::CoreStatusResponse(std::string const&)' //usr/local/lib/libasteriskcpp.so: undefined reference to
asteriskcpp::MailboxStatusResponse::MailboxStatusResponse(std::string
const&)' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for asteriskcpp::ConfbridgeStopRecordAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::ZapRestartAction' //usr/local/lib/libasteriskcpp.so:
undefined reference to
asteriskcpp::SkypeLicenseStatusResponse::SkypeLicenseStatusResponse(std::string const&)' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for asteriskcpp::QueuePauseAction'
//usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::DbGetAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for asteriskcpp::VoicemailUsersListAction'
//usr/local/lib/libasteriskcpp.so: undefined reference to
asteriskcpp::SkypeBuddyResponse::SkypeBuddyResponse(std::string const&)' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for asteriskcpp::DbDelTreeAction'
//usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::ZapDndOnAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for asteriskcpp::MailboxCountAction'
//usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::ZapDialOffhookAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
asteriskcpp::ExtensionStateResponse::ExtensionStateResponse(std::string
const&)' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for asteriskcpp::ConfbridgeSetSingleVideoSrcAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
asteriskcpp::GetVarResponse::GetVarResponse(std::string const&)'
//usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::SkypeRemoveBuddyAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for asteriskcpp::ChangeMonitorAction'
//usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::QueuePenaltyAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for asteriskcpp::QueueAddAction'
//usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::MixMonitorMuteAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
asteriskcpp::MailboxCountResponse::MailboxCountResponse(std::string
const&)' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for asteriskcpp::QueueStatusAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::CoreShowChannelsAction' //usr/local/lib/libasteriskcpp.so:
undefined reference to vtable for asteriskcpp::SendTextAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::StopMonitorAction' //usr/local/lib/libasteriskcpp.so:
undefined reference to vtable for asteriskcpp::ConfbridgeUnmuteAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::DahdiShowChannelsAction' //usr/local/lib/libasteriskcpp.so:
undefined reference to vtable for asteriskcpp::SipPeersAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::SkypeBuddyAction' //usr/local/lib/libasteriskcpp.so:
undefined reference to vtable for asteriskcpp::ConfbridgeMuteAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::ZapShowChannelsAction' //usr/local/lib/libasteriskcpp.so:
undefined reference to vtable for asteriskcpp::ModuleLoadAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::ParkedCallsAction' //usr/local/lib/libasteriskcpp.so:
undefined reference to vtable for asteriskcpp::SkypeLicenseStatusAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::SipShowRegistryAction' //usr/local/lib/libasteriskcpp.so:
undefined reference to vtable for asteriskcpp::ConfbridgeKickAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::GetVarAction' //usr/local/lib/libasteriskcpp.so: undefined
reference to vtable for asteriskcpp::QueueRemoveAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::ShowDialplanAction' //usr/local/lib/libasteriskcpp.so:
undefined reference to vtable for asteriskcpp::ConfbridgeStartRecordAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::SetCdrUserFieldAction' //usr/local/lib/libasteriskcpp.so:
undefined reference to
asteriskcpp::PingResponse::PingResponse(std::string const&)' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::SkypeAddBuddyAction' //usr/local/lib/libasteriskcpp.so:
undefined reference to vtable for asteriskcpp::ConfbridgeUnlockAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::MeetMeMuteAction' //usr/local/lib/libasteriskcpp.so:
undefined reference to vtable for asteriskcpp::MeetMeUnmuteAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::BridgeAction' //usr/local/lib/libasteriskcpp.so: undefined
reference to vtable for asteriskcpp::HangupAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::CoreSettingsAction' //usr/local/lib/libasteriskcpp.so:
undefined reference to
asteriskcpp::GetConfigResponse::GetConfigResponse(std::string const&)' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::RedirectAction' //usr/local/lib/libasteriskcpp.so:
undefined reference to vtable for asteriskcpp::DbDelAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::UserEventAction' //usr/local/lib/libasteriskcpp.so:
undefined reference to vtable for asteriskcpp::PauseMonitorAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::QueueSummaryAction' //usr/local/lib/libasteriskcpp.so:
undefined reference to vtable for asteriskcpp::StatusAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
asteriskcpp::ModuleCheckResponse::ModuleCheckResponse(std::string
const&)' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for asteriskcpp::ModuleCheckAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::SetVarAction' //usr/local/lib/libasteriskcpp.so: undefined
reference to vtable for asteriskcpp::ExtensionStateAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::PlayDtmfAction' collect2: error: ld returned 1 exit status
On 25/11/2014 11:19, Augusto Campos wrote:
You may need a reboot after [Library Build] and check if the
/usr/local/lib/libasteriskcpp.so exists—
Reply to this email directly or view it on GitHub
https://github.com/augcampos/asterisk-cpp/issues/4#issuecomment-64372723.
from asterisk-cpp.
And yes, the library is there...
$ vdir /usr/local/lib/libasteriskcpp.so
lrwxrwxrwx 1 root root 23 nov 24 14:41 /usr/local/lib/libasteriskcpp.so
-> libasteriskcpp.so.0.0.0
On 25/11/2014 11:19, Augusto Campos wrote:
You may need a reboot after [Library Build] and check if the
/usr/local/lib/libasteriskcpp.so exists—
Reply to this email directly or view it on GitHub
https://github.com/augcampos/asterisk-cpp/issues/4#issuecomment-64372723.
from asterisk-cpp.
Did you, previously, run the steps in wiki,(https://github.com/augcampos/asterisk-cpp/wiki/Examples)?
from asterisk-cpp.
Augusto, yes i did!
I did it again, compiled and installed correctly.
Errors are the same...
I've copied your sample in a new file... after the already well known
code error fix of method signature, and after adding -lboost_system i'm
again here.
See below the output of the shell:
gianks@gianks-Vostro-3560:/tmp$ g++ test.cpp -lastersikcpp
/usr/bin/ld: cannot find -lastersikcpp
collect2: error: ld returned 1 exit status
gianks@gianks-Vostro-3560:/tmp$ g++ test.cpp -lasteriskcpp
/usr/bin/ld: /tmp/ccExZdLm.o: undefined reference to symbol
'_ZN5boost6system15system_categoryEv'
//usr/lib/x86_64-linux-gnu/libboost_system.so.1.54.0: error adding
symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
gianks@gianks-Vostro-3560:/tmp$ g++ test.cpp -lasteriskcpp -boost_system
g++: error: unrecognized command line option ‘-boost_system’
gianks@gianks-Vostro-3560:/tmp$ g++ test.cpp -lasteriskcpp -lboost_system
//usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::UserEventAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::HangupAction'
//usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::QueueStatusAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::QueueResetAction'
//usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::PlayDtmfAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::SkypeBuddiesAction'
//usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::SkypeRemoveBuddyAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::MeetMeUnmuteAction'
//usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::RedirectAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
asteriskcpp::GetConfigResponse::GetConfigResponse(std::string const&)'
//usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::DbDelAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::SkypeLicenseListAction'
//usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::StopMonitorAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
asteriskcpp::ModuleCheckResponse::ModuleCheckResponse(std::string const&)'
//usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::IaxPeerListAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
asteriskcpp::SkypeBuddyResponse::SkypeBuddyResponse(std::string const&)'
//usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::UnpauseMonitorAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::ZapRestartAction'
//usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::ParkedCallsAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::ConfbridgeUnmuteAction'
//usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::ExtensionStateAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::ModuleLoadAction'
//usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::SkypeLicenseStatusAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::QueueLogAction'
//usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::ShowDialplanAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::ConfbridgeMuteAction'
//usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::GetVarAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::ConfbridgeLockAction'
//usr/local/lib/libasteriskcpp.so: undefined reference to
asteriskcpp::PingResponse::PingResponse(std::string const&)' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::ZapShowChannelsAction'
//usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::MailboxCountAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
asteriskcpp::GetVarResponse::GetVarResponse(std::string const&)'
//usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::SendTextAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::ZapDialOffhookAction'
//usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::SipShowRegistryAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
asteriskcpp::MailboxCountResponse::MailboxCountResponse(std::string
const&)'
//usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::QueueSummaryAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::CoreStatusAction'
//usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::ModuleCheckAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::ParkAction'
//usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::VoicemailUsersListAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::SetCdrUserFieldAction'
//usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::ConfbridgeListAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::ZapTransferAction'
//usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::LocalOptimizeAwayAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::QueuePauseAction'
//usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::JabberSendAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
asteriskcpp::ExtensionStateResponse::ExtensionStateResponse(std::string
const&)'
//usr/local/lib/libasteriskcpp.so: undefined reference to
asteriskcpp::SkypeLicenseStatusResponse::SkypeLicenseStatusResponse(std::string const&)' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::ConfbridgeSetSingleVideoSrcAction'
//usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::SkypeChatSendAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::MixMonitorMuteAction'
//usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::CoreShowChannelsAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::SipPeersAction'
//usr/local/lib/libasteriskcpp.so: undefined reference to
asteriskcpp::MailboxStatusResponse::MailboxStatusResponse(std::string const&)' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::MailboxStatusAction'
//usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::MonitorAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::PauseMonitorAction'
//usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::ConfbridgeUnlockAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::SetVarAction'
//usr/local/lib/libasteriskcpp.so: undefined reference to
asteriskcpp::CoreSettingsResponse::CoreSettingsResponse(std::string const&)' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::DahdiShowChannelsAction'
//usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::DbPutAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
asteriskcpp::CoreStatusResponse::CoreStatusResponse(std::string const&)'
//usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::ZapDndOnAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::ZapDndOffAction'
//usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::ConfbridgeStartRecordAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::QueueAddAction'
//usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::SkypeBuddyAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::SipShowPeerAction'
//usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::ZapHangupAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::CoreSettingsAction'
//usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::MeetMeMuteAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::BridgeAction'
//usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::ConfbridgeStopRecordAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::SkypeAddBuddyAction'
//usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::QueuePenaltyAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::PingAction'
//usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::ChangeMonitorAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::DbDelTreeAction'
//usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::PauseMixMonitorAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::ConfbridgeKickAction'
//usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::DbGetAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::QueueRemoveAction'
//usr/local/lib/libasteriskcpp.so: undefined reference to vtable for asteriskcpp::GetConfigAction' //usr/local/lib/libasteriskcpp.so: undefined reference to
vtable for
asteriskcpp::StatusAction'
collect2: error: ld returned 1 exit status
gianks@gianks-Vostro-3560:/tmp$
On 25/11/2014 15:40, Augusto Campos wrote:
Did you, previously, run the steps in
wiki,(https://github.com/augcampos/asterisk-cpp/wiki/Examples)?—
Reply to this email directly or view it on GitHub
https://github.com/augcampos/asterisk-cpp/issues/4#issuecomment-64408437.
from asterisk-cpp.
On Ubuntu I test it and it works, on debian can you try to add the "include", the "lib" directory and the "-lastersikcpp" use the full path on the g++ line.
Something LIKE this (please check your lirectories)
g++ test.cpp -o tt -I /usr/local/include -L/usr/local/lib -l/usr/local/lib/libastersikcpp.so
from asterisk-cpp.
The same problem here with some differences:
user@linux:/home/ast> g++ a.cpp -lasteriskcpp -lboost_system
/usr/local/lib/libasteriskcpp.so: undefined reference to asteriskcpp::GetConfigResponse::GetConfigResponse(std::string const&)' /usr/local/lib/libasteriskcpp.so: undefined reference to
asteriskcpp::ModuleCheckResponse::ModuleCheckResponse(std::string const&)'
/usr/local/lib/libasteriskcpp.so: undefined reference to asteriskcpp::SkypeBuddyResponse::SkypeBuddyResponse(std::string const&)' /usr/local/lib/libasteriskcpp.so: undefined reference to
asteriskcpp::PingResponse::PingResponse(std::string const&)'
/usr/local/lib/libasteriskcpp.so: undefined reference to asteriskcpp::GetVarResponse::GetVarResponse(std::string const&)' /usr/local/lib/libasteriskcpp.so: undefined reference to
asteriskcpp::MailboxCountResponse::MailboxCountResponse(std::string const&)'
/usr/local/lib/libasteriskcpp.so: undefined reference to asteriskcpp::ExtensionStateResponse::ExtensionStateResponse(std::string const&)' /usr/local/lib/libasteriskcpp.so: undefined reference to
asteriskcpp::SkypeLicenseStatusResponse::SkypeLicenseStatusResponse(std::string const&)'
/usr/local/lib/libasteriskcpp.so: undefined reference to asteriskcpp::MailboxStatusResponse::MailboxStatusResponse(std::string const&)' /usr/local/lib/libasteriskcpp.so: undefined reference to
asteriskcpp::CoreSettingsResponse::CoreSettingsResponse(std::string const&)'
/usr/local/lib/libasteriskcpp.so: undefined reference to `asteriskcpp::CoreStatusResponse::CoreStatusResponse(std::string const&)'
collect2: error: ld returned 1 exit status
from asterisk-cpp.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from asterisk-cpp.