From c4ca0e127e4c3407df8268ec6320576f98c83567 Mon Sep 17 00:00:00 2001 From: Sven Joachim Date: Sun, 4 Jan 2009 16:30:43 +0000 Subject: FTBFS (i386 with 64bit kernel) Am 04.01.2009 um 04:55 schrieb Adrian Bunk: > .... > In file included from ../../../src/xine-engine/xine_internal.h:33, > from noise.c:24: > .../../../include/xine.h:2230: warning: 'xine_tvsystem' is deprecated > noise.c: Assembler messages: > noise.c:155: Error: bad register name `%rax' > noise.c:161: Error: bad register name `%rax)' > <-- snip --> One problem is that the configure script thinks we're running a 64-bit system: ,---- | checking build system type... x86_64-unknown-linux-gnu | checking host system type... x86_64-unknown-linux-gnu | checking build system type... (cached) x86_64-unknown-linux-gnu `---- This is bad, build and host type should be passed explicitly in debian/rules. --- debian/rules | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index b44bccd81..e1f66382f 100755 --- a/debian/rules +++ b/debian/rules @@ -71,7 +71,10 @@ ifeq (,$(findstring optimize,$(DEB_BUILD_OPTIONS))) endif # --mandir - remove after etch released (autoconf >= 2.59c gets it right) -CONFIGURE_FLAGS := --prefix=/usr \ +CONFIGURE_FLAGS := \ + --build $(DEB_BUILD_GNU_TYPE) \ + --host $(DEB_HOST_GNU_TYPE) \ + --prefix=/usr \ --mandir=\$${prefix}/share/man \ --with-external-libmad \ --with-external-a52dec \ -- cgit v1.2.3