httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <>
Subject Re: Help required regarding apxs on Red hat linux
Date Tue, 05 Nov 2002 12:42:18 GMT
"pavankumar karthikeya bulusu" <> writes:

> all :
> : $(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 can you help me in this
> regard.

Exact error messages are very helpful.

apxs builds in current directory and a shared library is
placed in the .libs subdirectory.

Thus, your Makefile should look more like

  SRC=mod_foo.c whatever.c $(SRC) Makefile
      $(APXS) -c $(SRC)

"apxs -i" will grab the .so (or .sl or whatever is
appropriate for that platform) from the .libs directory and copy it
to the Apache modules directory.

Jeff Trawick |
Born in Roswell... married an alien...

View raw message