Anyone good with Makefiles?
1 Attachment(s)
I have been using linux as a scientist for many years, and I sort of vaguely understand how install scripts and Makefiles work, though I am embarassed to say I have never done a proper study of them.
I am installing some scientific software from source, and I have a problem where the -ldl flag is not recognized. Here is an example of an error that comes up in the output: Code:
/bin/bash ../../libtool --mode=link g++ -g -O2 -o DllPlugInTester -ldl DllPlugInTester.o CommandLineParser.o ../../src/cppunit/libcppunit.la Thank you! |
To attach your Makefile, edit your post, click the "Go Advanced" button, then click the paperclip icon, click "Browse", select your file then click "Upload".
LQ is a bit picky about file types allowed, so append ".txt" to its name in order to make it recognized as a text file. Oh and I almost forgot: welcome to LQ ;) |
Thanks, it is now attached!
The thing I find so confusing about makefiles is all the variables that I don't see defined anywhere... where do they get their values? |
Ok, the board ate my reply.
I just wanted to report that I have found that the attached makefile simply calls many other (100s) of makefiles. The good news is that I figured out how to alter the particular one causing the error above and now it goes smoothly. The bad news is that there are HUNDREDS of makefiles! So, I guess I need to work at the automake stage to figure out how to fix this? Yikes... |
All times are GMT -5. The time now is 03:45 PM. |