ndefined reference to function

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jmoore
    New Member
    • Jul 2006
    • 1

    #1

    ndefined reference to function

    I am using a glade generated project as a base and when I try and add files to the project by editing the Makefile.am and rerunning ./configure. Some times it works fine and other times i get a undefined reference error. further more in some instances I do not include a .h file defining the functions and it works fine and other times I include a .h file and I still get the error. one real ugly hack I found is to do a
    #include "whateve.c"
    and leave the .c file out of the Makefile.am file.

    Any suggestions on what the proper way of adding files to a project is?
  • lottalava
    New Member
    • Jul 2006
    • 13

    #2
    Use an IDE, there are many in Linux, go to www.linux.org

    Comment

    Working...