Problem compiling Apache httpd-2.2.17 for 64 bit on RHEL version 6.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Guys

I hope someone on the mailing list can advise me on an issue I'm
having with compiling Apache httpd-2.2.17 for 64 bit on RHEL version
6.2.

If I compile the same version on the same RHEL 6.2 OS but for 32 bit
then I don't have an issue.

I performed a google search and got a few different recommendations,
most of which I have tried but with no real success.

So the latest problem I hit was also mentioned on the Apache bugs list
from a  few years back;
https://issues.apache.org/bugzilla/show_bug.cgi?id=28205

So following some comments on this (and elsewhere) I used the
following configure command;

modules="dav cache disk_cache layer_cache ssl headers"
 ./configure --enable-so --enable-shared_dependencies --enable-lib64
--libdir=/usr/lib64 --enable-maintainer-mode  --enable-static-support
\
            --prefix=/spare/apache/2.2.17 --enable-modules="$modules"
--disable-include \
            --disable-asis --disable-actions --disable-cgi --disable-cgid \
            --with-mpm=worker --with-included-apr


I get the following linker issues shown below.  Its probably something
I have missed in the configure step.

When I compile for 32 bit on the same platform I dont get any issues
but the configure script is different and I also explicitly set the
CFLAGS="-m32";

Compiler Logs for 64 bit
=================
/usr/bin/ld: i386 architecture of input file
`encoding/.libs/apr_base64.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `hooks/.libs/apr_hooks.o'
is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file
`ldap/.libs/apr_ldap_stub.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file
`ldap/.libs/apr_ldap_url.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `misc/.libs/apu_dso.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file
`misc/.libs/apr_thread_pool.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `misc/.libs/apr_date.o'
is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `misc/.libs/apr_queue.o'
is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file
`misc/.libs/apu_version.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file
`misc/.libs/apr_reslist.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `misc/.libs/apr_rmm.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file
`memcache/.libs/apr_memcache.o' is incompatible with i386:x86-64
output
/usr/bin/ld: i386 architecture of input file `uri/.libs/apr_uri.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file
`strmatch/.libs/apr_strmatch.o' is incompatible with i386:x86-64
output

Thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[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]

  Powered by Linux