CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: compile error

  1. #1
    Join Date
    Jun 2012
    Posts
    38

    compile error

    I have large libs linked together used to run on Linux system (Centos). When I tried to recompile them (<b>make all</b>) to create UNIX PEs, I ran into errors

    "In Function XXX::YYY

    Unknown reference to method "func()"

    Sure these references were well defined. I would like to know from C++ LINUX gurus what you should do to check out if you come across such a similar case


    In my particular case, the func() is 'mysql_xxx' family functions. I also googled such key words and read several replies to similar questions, but none would really help in my situation. I too realize then that if I *bring* these libs home, I won't be able to reproduce the issue on my own . Thank you.

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396

    Re: compile error

    Is it a compiler or a linker error? Perhaps, you forgot to add some .lib or .obj file containing this 'mysql_xxx' family function?
    Victor Nijegorodov

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured