Dear Sir/Madam,

Iam trying to compile multiple source files (*.c) to make one single .so file using the apxs tool on Red Hat Linux platform my apache version is 2.0.40.
For example my files are

mod_foo.c , utility.c and utility.h

my utility.c contains a method which is used in the mod_foo.c and the utility.h contains the method signature iam trying to compile this by editing the make file which is automatically generated using the apxs tool i.e; i have added my own line SRC which will contain all the source files and

all : mod_foo.so
mod_foo.so : $(SRC)Makefile
$(APXS) -o $@ -c $(SRC)
but iam getting an error and not able to generate the .so file

i want a single .so file like the mod_foo.so can you help me in this regard.
I will be really thankful for anyone who can do the needful for me

Regards,
Karthikeya Pavan Kumar.B



Reply via email to