Find the answer to your Linux question:
Results 1 to 2 of 2
while compiling cpp code i m getting an error called "undefined reference" to a constructor of a class.all the parameters and prototype is checked and found correct.can i get some ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2007
    Posts
    1

    cpp error


    while compiling cpp code i m getting an error called "undefined reference" to a constructor of a class.all the parameters and prototype is checked and found correct.can i get some clue so as how to proceed...

  2. #2
    Linux Enthusiast apoorv_khurasia's Avatar
    Join Date
    Feb 2005
    Posts
    624
    Please post this thread in the Linux Programming Section of this forum. You will get more help there.

    As a tip include the relevant source code. Also markup your code using some breakpoints. Put some thing in the location you r referring to and try printing it out at different points in the code.

    Alternate:- Use the GNU debugger if you are familiar with it.
    "There is no sixth rule"
    --Rob Pike
    Registered Linux User: 400426 home page

Posting Permissions

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