Problem with automake

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • wingri
    New Member
    • Jul 2007
    • 1

    Problem with automake

    Hello,

    I`ve got problem with make tool. I`ve got project and source codes are in direcory. Then, there are some other source codes in subdirectory of this directory. Now, from file in directory I want to call function from file in subdirectory.

    Project is quite big, there are Makefiles for whole project, for my directory and for subdirectory.
    In Makefile.am I`ve got: SUBDIRS = subdir_name and includedir = subdir_name

    But I`m getting error: undefined reference to ...

    Everything runs ok in cmake, but I have to run automake as well.

    Have you got any suggestions how to do this?
    Thanks in advance.
  • Motoma
    Recognized Expert Specialist
    • Jan 2007
    • 3236

    #2
    Originally posted by wingri
    Hello,

    I`ve got problem with make tool. I`ve got project and source codes are in direcory. Then, there are some other source codes in subdirectory of this directory. Now, from file in directory I want to call function from file in subdirectory.

    Project is quite big, there are Makefiles for whole project, for my directory and for subdirectory.
    In Makefile.am I`ve got: SUBDIRS = subdir_name and includedir = subdir_name

    But I`m getting error: undefined reference to ...

    Everything runs ok in cmake, but I have to run automake as well.

    Have you got any suggestions how to do this?
    Thanks in advance.
    Sounds like your include directory directive is not complete.

    Comment

    Working...