This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
apache_1.3.x_mod_gzip_sample_config [2010/01/01 02:10] k2patel |
apache_1.3.x_mod_gzip_sample_config [2010/03/27 05:17] k2patel |
||
---|---|---|---|
Line 60: | Line 60: | ||
==== Common Errors ==== | ==== Common Errors ==== | ||
- | If you receive following error. | + | == Error No.1 == |
<code bash> | <code bash> | ||
Line 70: | Line 71: | ||
</code> | </code> | ||
- | RESOLUTION : | + | **RESOLUTION :** |
Add following line to your settings. | Add following line to your settings. | ||
Line 78: | Line 79: | ||
</code> | </code> | ||
+ | == Error No.2 == | ||
+ | <code bash> | ||
+ | apxs -Wc,-Wall,-O3,-fomit-frame-pointer,-pipe -c mod_gzip.c mod_gzip_debug.c mod_gzip_compress.c -o mod_gzip.so | ||
+ | gcc -DLINUX=22 -DHAVE_SET_DUMPABLE -DNO_DBM_REWRITEMAP -DMOD_SSL=208131 -DMOD_PERL -DUSE_PERL_SSI -D_REENTRANT -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DMOD_DEFLATE -DEAPI -DEAPI_MM -O3 -fpic -DSHARED_MODULE -I/usr/local/ServeurWeb_1.3.41/apache_1.3.41/include -Wall,-O3,-fomit-frame-pointer,-pipe -c mod_gzip.c | ||
+ | cc1: error: unrecognized command line option "-Wall,-O3,-fomit-frame-pointer,-pipe" | ||
+ | apxs:Break: Command failed with rc=1 | ||
+ | make: *** [build] Erreur 1 | ||
+ | </code> | ||
+ | |||
+ | **RESOLUTION :** | ||
+ | |||
+ | change from : | ||
+ | <code bash | Makefile> | ||
+ | $(APXS) -Wc,-Wall,-O3,-fomit-frame-pointer,-pipe -c mod_gzip.c mod_gzip_debug.c mod_gzip_compress.c -o mod_gzip.so | ||
+ | </code> | ||
+ | |||
+ | to | ||
+ | <code bash | Makefile> | ||
+ | $(APXS) -Wc "-Wall -O3 -fomit-frame-pointer -pipe" -c mod_gzip.c mod_gzip_debug.c mod_gzip_compress.c -o mod_gzip.so | ||
+ | </code> |