Samuel:
A while back you responded to one of my posts about writing modules for SER. I am currently writing a module and I have an issue I do not understand. I'm hoping you can help.
I created a directory under the ser-0.9.7-pre3/modules source directory on my server and placed my code there along with a Makefile. If I make the code from this directory it compiles with two warnings including one about running make from the main directory.
If I cd to the main directory and run make clean my new subdirectory is visited as expected. If I then run make my modules does not get compiled. I believe the new directory is not recognized but I cannot figure out why. Would you hapen to be able to explain this behavior?
Thank you, Steve
Hi!
Steve Blair wrote:
If I cd to the main directory and run make clean my new subdirectory is visited as expected. If I then run make my modules does not get compiled. I believe the new directory is not recognized but I cannot figure out why. Would you hapen to be able to explain this behavior?
'make' only compiles the static part. Use 'make modules' to compile the modules.
Cheers, Hendrik
Not having a ser 0.9.7x src lying about, I'm relying on my 0.9.6 src, so you'll have to bear with me if the info is not 100% correct. However, if I look at the Makefile, it has a list of modules to exclude, but by default, it includes everything by directory name in the modules subdir.
Why it's not including yours is a bit of a mystery... however, if you want to make the module by hand, simply type (from the main src dir):
make modules=modules/mymodule modules
Where, of course, 'mymodule' is the name of your module directory. You could then copy the resultant file by hand to the modules directory for SER (/usr/local/lib/ser/modules)
N.
On Tue, 17 Oct 2006 07:08:13 -0400, Steve Blair wrote
Samuel:
A while back you responded to one of my posts about writing modules for SER. I am currently writing a module and I have an issue I do not understand. I'm hoping you can help.
I created a directory under the ser-0.9.7-pre3/modules source directory on my server and placed my code there along with a Makefile. If I make the code from this directory it compiles with two warnings including one about running make from the main directory.
If I cd to the main directory and run make clean my new subdirectory is visited as expected. If I then run make my modules does not get compiled. I believe the new directory is not recognized but I cannot figure out why. Would you hapen to be able to explain this behavior?
Thank you, Steve _______________________________________________ Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers