You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "James Huang (APC-黃建蒼)" <ja...@inotera.com> on 2005/06/21 08:12:44 UTC
Compiling Subversion 1.2.0 on HP-UX 11i 64bit
Hello all, does anyone have a precompiled binary package for this?
Or instructions on how to compile it?
I tried to compiler Subversion 1.2.0 on HP-UX 11.11 64bit, and have a
error occurred at 'make' time,
last output of 'make':
creating reloadable object files...
creating a temporary reloadable object file: .libs/libneon.la-20.o
/usr/bin/ld: (Warning) At least one PA 2.0 object file (.libs/libneon.
la-20.o) was detected. The linked output may not run on a PA 1.x
system.
/usr/bin/ld: Invalid loader fixup in text space needed in output file
for symbol "$0000041F" in input file ".libs/libneon.la-20.o"
*** Error exit code 1
Stop.
Thank a lot.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Compiling Subversion 1.2.0 on HP-UX 11i 64bit
Posted by Bob Proulx <bo...@proulx.com>.
James Huang(APC-黃建蒼) wrote:
> Hello all, does anyone have a precompiled binary package for this?
Do you have any particular need for a 64-bit version of svn? I
believe the 32-bit version will be sufficient for all of your needs.
> /usr/bin/ld: (Warning) At least one PA 2.0 object file (.libs/libneon.
> la-20.o) was detected. The linked output may not run on a PA 1.x
> system.
> /usr/bin/ld: Invalid loader fixup in text space needed in output file
> for symbol "$0000041F" in input file ".libs/libneon.la-20.o"
> *** Error exit code 1
> Stop.
This error means that you are mixing 32-bit and 64-bit .o files.
You should have been seeing lots of warnings from the compilation with
messages such as this one.
cc: warning 441: Previous '+DA' or '+DD' option overridden by '+DD64' option.
You will need to compile all of the package and libraries as 64-bit
objects. The problem is that the apr/build/apr_rules.mk file sets the
+DAportable flag. I did not look into it further.
File apr/build/apr_rules.mk:
EXTRA_CFLAGS= -Ae +Z +DAportable -mt
This get propagated to the Makefile.
File Makefile.in:
CFLAGS = @CFLAGS@ $(EXTRA_CFLAGS)
File Makefile:
CFLAGS = +DD64 -Ae +Z +DAportable -mt $(EXTRA_CFLAGS)
So in order to build a fully 64-bit version you would need to avoid
the +DAportable flag and chase through the build and make sure
everything only compiles with +DD64.
Bob
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org