Results 1 to 6 of 6

Thread: Compilation error: "collect2: ld returned 1 exit status" when ussing QSslKey

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    6
    Thanked 348 Times in 333 Posts

    Default Re: Compilation error: "collect2: ld returned 1 exit status" when ussing QSslKey

    My guess is that the functions in libeay32.lib and ssleay32.lib are C-style functions and you are trying to access them as C++ functions, hence the name mangling, so force the external definitions to be extern "C" to fix it.

  2. The following user says thank you to squidge for this useful post:

    Pechugo66 (14th December 2010)

Similar Threads

  1. Collect2:Id Returned 1 exit status
    By c_srikanth1984 in forum Qt Programming
    Replies: 9
    Last Post: 14th February 2010, 04:58
  2. error: collect2: ld returned 1 exit status
    By srohit24 in forum Qt Programming
    Replies: 3
    Last Post: 1st December 2009, 06:32
  3. error: collect2: ld returned 1 exit status
    By nataly in forum Qt Programming
    Replies: 4
    Last Post: 13th October 2009, 13:39
  4. collect2: ld returned 1 exit status error
    By gmsk19 in forum Qt Tools
    Replies: 11
    Last Post: 25th July 2009, 02:05
  5. collect2: ld returned 1 exit status
    By assismvla in forum Qt Programming
    Replies: 1
    Last Post: 25th May 2009, 01:51

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.