Problem of: variable `main_SOURCES' is defined but no program or library has `main' as canonical name (possible typo)

2010-02-24 Thread
Hi guys, I met a strange problem when "automake -a": core/Makefile.am:3: variable `main_SOURCES' is defined but no program or core/Makefile.am:3: library has `main' as canonical name (possible typo) It happens only when generate executable files, as long as I choose to generate .so lib files, ev

Re: Problem of: variable `main_SOURCES' is defined but no program or library has `main' as canonical name (possible typo)

2010-02-25 Thread
URCES = filemain.cpp Everything is OK and I am able to see the generated file main.so. Please help me to find out the key. Thank you again for your answer :) Cheers, Bill 在 2010年2月25日 上午3:53,Ralf Wildenhues 写道: > Hello Bill, > > * Mi Yang (杨觅) wrote on Wed, Feb 24, 2010 at 03:34:26PM CET: >

Re: Problem of: variable `main_SOURCES' is defined but no program or library has `main' as canonical name (possible typo)

2010-02-26 Thread
Thank you Ralf, The problem solved. I made a mistake: bin_PROGRAS = main it should be: bin_PROGRA*M*S = main Thank you very much! :) Cheers, Bill 2010/2/26 Ralf Wildenhues > * Mi Yang (杨觅) wrote on Thu, Feb 25, 2010 at 02:51:14PM CET: > > Actually I know the rules of Makefile.a