Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing VMIME_EXPORT on net::smtp::SMTPResponse::responseLine #220

Open
jengelh opened this issue Jul 3, 2019 · 0 comments
Open

Missing VMIME_EXPORT on net::smtp::SMTPResponse::responseLine #220

jengelh opened this issue Jul 3, 2019 · 0 comments

Comments

@jengelh
Copy link
Contributor

jengelh commented Jul 3, 2019

From https://forum.kopano.io/topic/2537/solved-compilation-on-cygwin-problems-with-missing-symbols-in-vmime/ :

/usr/src/debug/kopano-core/inetmapi/MAPISMTPTransport.cpp:223: undefined reference to `vmime::net::smtp::SMTPResponse::responseLine::getText() const'

I believe this happens when invoking:

vmime::shared_ptr<SMTPResponse> resp = obtain_from_somewhere();
resp->getLastLine().getText();

getLastLine() returns a net::smtp::SMTPResponse::responseLine, and this class's symbols are neither exported nor is responseLine::getText virtual (which would sidestep symbol lookup because of the use of VFT).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant