httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tony Di Croce" <>
Subject [users@httpd] Cross Compile Apache2?
Date Tue, 14 Nov 2006 17:24:16 GMT
Has anyone here ever tried to cross compile apache2?

I've gotten past a lot of issues but I'm pretty stuck right now...

/root/httpd-2.0.59/srclib/apr/libtool --silent --mode=link ppc_4xx-gcc  -g
-DAP_HAVE_DESIGNATED_INITIALIZER   -I/root/httpd-2.0.59/srclib/apr/include
-I/root/httpd-2.0.59/srclib/apr-util/include -I. -I/root/httpd-2.0.59/os/unix
-I/root/httpd-2.0.59/server/mpm/prefork -I/root/httpd-2.0.59/modules/http
-I/root/httpd-2.0.59/modules/filters -I/root/httpd-2.0.59/modules/proxy
-I/root/httpd-2.0.59/include -I/root/httpd-2.0.59/modules/generators
-I/root/httpd-2.0.59/modules/dav/main -export-dynamic    -o htpasswd
htpasswd.lo    /root/httpd-2.0.59/srclib/pcre/ /root/httpd-2.0.59
/srclib/apr-util/ -lexpat /root/httpd-2.0.59
/srclib/apr/ -lrt -lm -lcrypt -lnsl -ldl
/usr/lib/ could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[2]: *** [htpasswd] Error 1
make[2]: Leaving directory `/root/httpd-2.0.59/support'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/httpd-2.0.59/support'
make: *** [all-recursive] Error 1

It looks like its picking up libraries from my host
(/usr/lib/ I have a root filesystem image with the correct
versions of these libraries... Is their any way to tell buildconf about my
"alternate" root?

BTW... If I get this done, I'm gonna write a tutorial and put it up so
others can learn from my suffering! :)

Publish technical articles @ and get 100% of the

View raw message