From: Betty G. <bet...@do...> - 2002-12-13 10:05:59
|
Dear all, This is really basic level question, but I couldn't find the answer anywhere in the list. So hopefully someone's coming to my rescue as I'm really clueless as to how to compile. :) I've written a simple program (basically copied from a technical article from the Solaris Developer Connection). But I have no idea as to how to compile it. I tried adding it to the tests directory and modified the Makefile to include my source code, it doesn't work. The Makefile simply ignores my source code. Then I tried doing a one-liner like this: gcc -DHAVE_CONFIG_H -I. -I/home/bgoh2/log4cpp-0.3.4b/tests -I/home/bgoh2/log4cpp-0.3.4b/include -I/home/bgoh2/log4cpp-0.3.4b/src testLog.cpp I get a lot of undefined references to the .hh files, which is strange because the files are all there. I would be really grateful if someone can point me in the right direction.. :) Many thanks, Betty -- Get your free email from www.doramail.com with 30 Megs of disk space in webhosting and e-mail storage! Powered by Outblaze |