<Apache>error when compiling CPP modules
I am working on Linux Platform. I am just trying to port a CPP module to apache as a module. When I try to build the Apache , it throws an error as follows
libtool: unrecognized option `-DLINUX=2'
Later I did some search and changed the config_vars.mk file under the "build" directory of Apache.
The line that I changed is as follows
So I just removed the option from EXTRA_CPPFLAG and it worked fine.
I did this just to overcome the error ..
Can anyone please let me know what is the correct way of compiling the CPP module and provide some description. The C modules compiles fine.
Last edited by radoulov; 05-18-2012 at 06:37 AM.. Reason: Code tags.
|Thread Tools||Search this Thread|
|More UNIX and Linux Forum Topics You Might Find Helpful|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Apache modules query||mohtashims||UNIX for Advanced & Expert Users||2||01-25-2012 04:02 PM|
|cc not found error in compiling perl modules||priyophan||Solaris||0||10-05-2011 05:21 PM|
|Apache modules different sizes on 2 servers||skewbie||Solaris||3||01-18-2010 02:10 PM|
|Which modules are installed for APACHE?||mojoman||UNIX for Dummies Questions & Answers||2||01-14-2009 03:49 PM|
|get error while compiling apache with php module||jApHEth||UNIX for Dummies Questions & Answers||2||11-29-2001 01:49 AM|