hallo leute!
ich würde gerne den apache 1.3.37 mit eim arm cross compiler kompilieren. prozessorarchitektur ist arm.
kompiliere ich es mit dem normalen gcc funzt alles:
pc:~/apache_1.3.37# CC="/usr/bin/gcc" ./configure --prefix=/usr/local/apache --enable-module=rewrite --enable-shared=rewrite --enable-module=proxy --enable-shared=proxy
Configuring for Apache, Version 1.3.37
+ using installation path layout: Apache (config.layout)
Creating Makefile
Creating Configuration.apaci in src
+ enabling mod_so for DSO support
Creating Makefile in src
+ configured for Linux platform
+ setting C pre-processor to /usr/bin/gcc -E
+ using "tr [a-z] [A-Z]" to uppercase
+ checking for system header files
+ adding selected modules
o rewrite_module uses ConfigStart/End
disabling DBM support for mod_rewrite
(perhaps you need to add -ldbm, -lndbm or -lgdbm to EXTRA_LIBS)
+ using builtin Expat
+ using -ldl for vendor DSO support
+ checking sizeof various data types
+ doing sanity check on compiler and options
Creating Makefile in src/support
Creating Makefile in src/regex
Creating Makefile in src/os/unix
Creating Makefile in src/ap
Creating Makefile in src/main
Creating Makefile in src/lib/expat-lite
Creating Makefile in src/modules/standard
Creating Makefile in src/modules/proxy
versuche ich es mit dem arm gcc compiler sieht es nicht mehr so fein aus.
CC="/usr/local/arm-linux/bin/arm-linux-gcc" ./configure --prefix=/usr/local/apache --enable-module=rewrite --enable-shared=rewrite --enable-module=proxy --enable-shared=proxy
Configuring for Apache, Version 1.3.37
+ using installation path layout: Apache (config.layout)
Creating Makefile
Creating Configuration.apaci in src
+ enabling mod_so for DSO support
Creating Makefile in src
+ configured for Linux platform
+ setting C pre-processor to /usr/bin/cpp
+ using "tr [a-z] [A-Z]" to uppercase
+ checking for system header files
+ adding selected modules
o rewrite_module uses ConfigStart/End
disabling DBM support for mod_rewrite
(perhaps you need to add -ldbm, -lndbm or -lgdbm to EXTRA_LIBS)
+ using builtin Expat
+ checking sizeof various data types
+ doing sanity check on compiler and options
** A test compilation with your Makefile configuration
** failed. The below error output from the compilation
** test will give you an idea what is failing. Note that
** Apache requires an ANSI C Compiler, such as gcc.
======== Error Output for sanity check ========
cd ..; /usr/local/arm-linux/bin/arm-linux-gcc -DLINUX=22 -DNO_DBM_REWRITEMAP -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite ./apaci
-o helpers/dummy helpers/dummy.c -lm
<command line>:1:1: warning: "__GNUC__" redefined
<built-in>: warning: this is the location of the previous definition
<command line>:1:1: warning: "__GNUC_MINOR__" redefined
<built-in>: warning: this is the location of the previous definition
<command line>:1:12: warning: "system" re-asserted
<command line>:1:13: warning: "system" re-asserted
cpp: -lang-c: linker input file unused because linking not done
arm-linux-gcc: installation problem, cannot exec `cc1': No such file or directory
make: *** [dummy] Error 1
============= End of Error Report =============
Aborting!
eigentlich sollte es doch mit jedem ansi c-compiler funktionieren.
hat jemand eine ahnung was ich falsch mache?
danke und gruss,
marion