
Code: Select all
gcc -march=athlon64 -O2 -pipe -fno-ident -Wall -Wl,-O1 -o .libs/xdelta xdmain.o getopt.o getopt1.o .libs/libxdelta.so -L/usr/lib64 -lglib ./libedsio/.libs/libedsio.so -lglib -L/usr/lib64 -lglib -lz -Wl,--rpath -Wl,/usr/lib32
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libc.so when searching for -lc
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libc.a when searching for -lc
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libc.so when searching for -lc
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libc.a when searching for -lc
xdmain.o(.text+0xbe3): In function `file_gunzip':
: undefined reference to `g_string_printf'
collect2: ld returned 1 exit status
make[2]: *** [xdelta] Error 1
make[2]: Leaving directory `/var/tmp/portage/xdelta-1.1.3/work/xdelta-1.1.3'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xdelta-1.1.3/work/xdelta-1.1.3'
make: *** [all-recursive-am] Error 2
Code: Select all
ln -s /lib32/libc.so.6 /lib32/libc.so
ln -s /emul/linux/x86/usr/lib/libglib-2.0.so.0 /emul/linux/x86/usr/lib/libglib.soCode: Select all
-L/usr/lib64 -L/usr/lib64I tried to build it with -m32 but I got some errors so I did a little ebuild that installs binary versionMaedhros wrote:Hmm, I tried it, but it doesn't seem to like your patch:Code: Select all
gcc -march=athlon64 -O2 -pipe -fno-ident -Wall -Wl,-O1 -o .libs/xdelta xdmain.o getopt.o getopt1.o .libs/libxdelta.so -L/usr/lib64 -lglib ./libedsio/.libs/libedsio.so -lglib -L/usr/lib64 -lglib -lz -Wl,--rpath -Wl,/usr/lib32 /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libc.so when searching for -lc /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libc.a when searching for -lc /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libc.so when searching for -lc /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libc.a when searching for -lc xdmain.o(.text+0xbe3): In function `file_gunzip': : undefined reference to `g_string_printf' collect2: ld returned 1 exit status make[2]: *** [xdelta] Error 1 make[2]: Leaving directory `/var/tmp/portage/xdelta-1.1.3/work/xdelta-1.1.3' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/xdelta-1.1.3/work/xdelta-1.1.3' make: *** [all-recursive-am] Error 2
Code: Select all
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/xdelta/xdelta-1.1.3.ebuild,v 1.16 2005/04/27 16:46:50 corsair Exp $
inherit rpm eutils
DESCRIPTION="Computes changes between binary or text files and creates deltas"
SRC_URI="ftp://fr2.rpmfind.net/linux/PLD/dists/ra/PLD/i686/PLD/RPMS/xdelta-1.1.3-2.i686.rpm"
HOMEPAGE="http://xdelta.sourceforge.net"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64"
IUSE=""
DEPEND="=dev-libs/glib-1.2*
>=sys-libs/zlib-1.1.4"
RESTRICT="nostrip nomirror"
inherit eutils rpm
src_compile() { :; }
src_install() {
cd "${WORKDIR}"
insinto /usr/share/doc
doins -r ./usr/share/doc/xdelta-1.1.3
insinto /usr/share/man
doins -r ./usr/share/man/man1
dodir /usr/lib
insinto /usr/lib32
doins ./usr/lib/*
dobin ./usr/bin/xdelta
}

Yep, I saw that there is 0.7 this morning, I will give it a shot later.Giuly wrote:prymitive, i've fixed that already. Have a look at http://giuly.de/xdelta
And a little information: the dynamic deltup server switched to bdelta, which is full 64bit-compatible.