login about faq

Hi!

We want to compile our project via VisualGDB on a Debian Wheezy System (Debian GLIBC 2.19-19).

I got the following errors:

/tmp/VisualGDB/Chilkat/lib/libchilkat-9.5.0.a(CkMailMan.o): In function `CkMailMan::put_EventCallbackObject(CkMailManProgress*)':
4>CkMailMan.cpp : error VGDB1002: undefined reference to `CkBaseProgress::getProgressImpl()'
4>  /tmp/VisualGDB/Chilkat/lib/libchilkat-9.5.0.a(CkString.o): In function `CkString::punyDecode()':
4>CkString.cpp : error VGDB1002: undefined reference to `_ckPunyCode::punyDecode(XString&, XString&, LogBase&)'
4>  /tmp/VisualGDB/Chilkat/lib/libchilkat-9.5.0.a(CkString.o): In function `CkString::punyEncode()':
4>CkString.cpp : error VGDB1002: undefined reference to `_ckPunyCode::punyEncode(XString&, XString&, LogBase&)'
4>  /tmp/VisualGDB/Chilkat/lib/libchilkat-9.5.0.a(CkTask.o): In function `CkTask::put_EventCallbackObject(CkBaseProgress*)':
4>CkTask.cpp : error VGDB1002: undefined reference to `CkBaseProgress::getProgressImpl()'
4>  /tmp/VisualGDB/Chilkat/lib/libchilkat-9.5.0.a(ChilkatRand.o): In function `ChilkatRand::reseed(DataBuffer const&)':
4>ChilkatRand.cpp : error VGDB1002: undefined reference to `_ckPrngFortuna::_ckPrngFortuna()'
4>ChilkatRand.cpp : error VGDB1002: undefined reference to `_ckPrngFortuna::prng_start(LogBase&)'
4>ChilkatRand.cpp : error VGDB1002: undefined reference to `_ckPrngFortuna::prng_addEntropy(unsigned char const*, unsigned int, LogBase&)'
4>ChilkatRand.cpp : error VGDB1002: undefined reference to `_ckPrngFortuna::prng_ready(LogBase&)'
4>ChilkatRand.cpp : error VGDB1002: undefined reference to `_ckPrngFortuna::prng_read(unsigned int, DataBuffer&, LogBase&)'
4>ChilkatRand.cpp : error VGDB1002: undefined reference to `_ckPrngFortuna::~_ckPrngFortuna()'
4>ChilkatRand.cpp : error VGDB1002: undefined reference to `_ckPrngFortuna::~_ckPrngFortuna()'
4>  /tmp/VisualGDB/Chilkat/lib/libchilkat-9.5.0.a(SmtpConnImpl.o): In function `SmtpConnImpl::sendRcptTo(int, SmtpSend&, StringBuffer&, SocketParams&, LogBase&)':
4>SmtpConnImpl.cpp : error VGDB1002: undefined reference to `_ckPunyCode::punyEncode(XString&, XString&, LogBase&)'
4>SmtpConnImpl.cpp : error VGDB1002: undefined reference to `_ckPunyCode::punyEncode(XString&, XString&, LogBase&)'
4>  /tmp/VisualGDB/Chilkat/lib/libchilkat-9.5.0.a(TlsProtocol.o): In function `TlsProtocol::buildClientKeyExchangeECDHE(LogBase&)':
4>TlsProtocol.cpp : error VGDB1002: undefined reference to `_ckPrngR250::_ckPrngR250()'
4>TlsProtocol.cpp : error VGDB1002: undefined reference to `_ckPrngR250::~_ckPrngR250()'
4>TlsProtocol.cpp : error VGDB1002: undefined reference to `_ckPrngR250::~_ckPrngR250()'

Any suggestions would be great!

Thanks

Andreas

asked Sep 10 '15 at 17:40

andrewroom's gravatar image

andrewroom
262

edited Sep 10 '15 at 22:01

jpbro's gravatar image

jpbro ♦
1.1k2618


These undefined externals are new to the latest version. It may be that you're compiling with the latest versions of the headers, but linking with an older version of the lib? Or maybe you're not linking with the static Chilkat lib, but with the dynamic .so -- it all links fine, but when you go and run elsewhere, it is finding/loading/dynamically linking the chilkat .so from the previous version..

link

answered Sep 11 '15 at 08:51

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

PS> If this is not the case, please let me know and I'll provide a new build to verify..

(Sep 11 '15 at 08:53) chilkat ♦♦

Hi!

Header and libs are from the same download from your website.

We tested both, the static and the dynamic one. Same problem.

It would be perfect if you can provide as a new build! :-)

Best regards

Andreas

link

answered Sep 11 '15 at 09:46

andrewroom's gravatar image

andrewroom
262

Check to see if this new build helps: http://www.chilkatsoft.com/download/preRelease/chilkat-9.5.0-x86_64-linux-gcc.tar.gz

If you need 32-bit, let me know..

link

answered Sep 11 '15 at 10:45

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

Yes, we have a 32bit Debian... and need the 32bit-version.

link

answered Sep 11 '15 at 10:46

andrewroom's gravatar image

andrewroom
262

edited Sep 11 '15 at 10:51

link

answered Sep 11 '15 at 11:03

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

Its working!

Thanks a lot!!!!

:-)
Andreas

link

answered Sep 11 '15 at 15:04

andrewroom's gravatar image

andrewroom
262

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×4
×3

Asked: Sep 10 '15 at 17:40

Seen: 796 times

Last updated: Sep 11 '15 at 15:04

powered by OSQA