473,385 Members | 1,536 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Problem with automake

1
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.
Jul 27 '07 #1
1 1318
Motoma
3,237 Expert 2GB
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.
Aug 1 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Lars Kromann | last post by:
Hi I am trying to compile python 2.3.4 for AIX 5.2 but I ran into some problems. When I try to compile the build on the configure runs ok but make gives me the following error when i run: ...
2
by: Magnus Therning | last post by:
I am currently using Automake to make distributable tar-balls of my application. Is there something else (hopefully better) that I can use? I use the following functionality of Automake: -...
1
by: Uwe Mayer | last post by:
Hi, I use the GNU autotools for packaging my python applications. My problem is that as I have both python2.3 and python2.4 installed the automake macros always detects the newest version and...
0
by: Shane Allen | last post by:
I've actually noticed this in the past several releases; I apologize for not mentioning it sooner. I run: BUILD/compile-pentium --with-other-libc=/usr/local/mysql-glibc-2.2.5 --prefix=/usr/local...
0
by: tyousaf | last post by:
Hi i am new to mysql and mysql++, i have installed mysql server, it is running fine. i also installed "mysql++-1.7.9gcc3.2-2.i386.rpm" (i have gcc 3.3) , first of all as the readme file says to do...
2
by: Shalafi | last post by:
Hi, I've modified an old library, flip (fuzzy logic stuff), to work with new gcc compiler, I've made operation like substituting #include <strstream.h> with #include <strstream> and inserted...
2
by: zhong.zx | last post by:
When I struggling to compile the php-java bridge on the following step on FreeBSD 4.11, I met error and cannot go through it: CMD: phpize && ./configure --with-java=/usr/java/jdk1.5.0 && make...
4
by: mxmarklein | last post by:
Hello all, I am doing my first steps in linux-c++ programming and have an installation problem. My problem: The project I am trying to compile. needs an external library and i don`t know how...
10
by: =?UTF-8?B?RXJpayBXaWtzdHLDtm0=?= | last post by:
On 2008-09-09 17:53, contactmayankjain@gmail.com wrote: And why did you pick this group, out of all possible groups, to ask this question? After all, it does not have anything to do with C++, nor...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.