some question about ANSI C
Rolland Wong
rolland@linkmark-tech.com
Mon Jan 3 07:19:00 GMT 2000
Dear Sir/ Madam,
ÃÂ
ÃÂ ÃÂ ÃÂ I'm not sure if I wrote to a right
party..ÃÂ ÃÂ ÃÂ
ÃÂ ÃÂ ÃÂ I've encounter a problem while compile the
program, mod_perl.
ÃÂ ÃÂ ÃÂ I can successfully compile the mod_ssl and
Apache v1.3.9 without any problem.
ÃÂ ÃÂ ÃÂ But when I try to compile the mod_perl
v1.21 into Apache Source in order to include this program, the makefile seems
not really like the GCC v2.95.2. It got the following error message
:-
ÃÂ
Configure mod_perl with ../apache_1.3.9/src ? [y] Shall I
build httpd in ../apache_1.3.9/src for you? [y] Appending mod_perl to
src/Configuration Using config file:
/source/javaserver/mod_perl-1.21/src/Configuration Creating
Makefile ÃÂ + configured for Linux platform ÃÂ + setting C compiler
to gcc ÃÂ + setting C pre-processor to gcc -E ÃÂ + checking for
system header files ÃÂ + adding selected modules ÃÂ + checking
sizeof various data types ÃÂ + doing sanity check on compiler and
options ** A test compilation with your Makefile configuration ** failed.
This is most likely because your C compiler ** is not ANSI. Apache requires
an ANSI C Compiler, such ** as gcc. The above error message from your
compiler ** will also provide a clue.
ÃÂ ÃÂ ÃÂ It's great the if you can help me to solve
this problem, since I've asked Apache while they said this problem should
related to GCC and not them...
ÃÂ
ÃÂ ÃÂ ÃÂ Thanks again for your patient and awaiting
for your reply.
ÃÂ
Best Regards,
ÃÂ
Rolland Wong
System Adminstrator
Linkmark Technology Ltd.
More information about the Gcc-help
mailing list