[users@httpd] Cross Compile Apache2?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
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 -O2 -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -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/libpcre.la /root/httpd-
2.0.59/srclib/apr-util/libaprutil-0.la -lexpat /root/httpd-2.0.59/srclib/apr/libapr-0.la -lrt -lm -lcrypt -lnsl -ldl
/usr/lib/libexpat.so: 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/libexpat.so)... 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 @ skilledwords.com
and get 100% of the ad-revenue!
http://www.skilledwords.com
[Index of Archives]
[Open SSH Users]
[Linux ACPI]
[Linux Kernel]
[Linux Laptop]
[Kernel Newbies]
[Security]
[Netfilter]
[Bugtraq]
[Squid]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Samba]
[Video 4 Linux]
[Device Mapper]