User Tools

Site Tools


apache_1.3.x_mod_gzip_sample_config

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
apache_1.3.x_mod_gzip_sample_config [2009/12/31 21:10]
k2patel
apache_1.3.x_mod_gzip_sample_config [2010/03/27 01:16]
k2patel
Line 60: Line 60:
 ==== Common Errors ==== ==== Common Errors ====
  
-If you receive following error.+== Error No.1 == 
  
 <code bash> <code bash>
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>​
apache_1.3.x_mod_gzip_sample_config.txt · Last modified: 2010/03/27 01:17 by k2patel