Bug #104

KTX trunked version compiling in ppc64

Added by Anonymous 161 days ago. Updated 30 days ago.

Status:Closed Start:30/01/2008
Priority:Normal Due date:
Assigned to:- % Done:

0%

Category:Core
Target version:-

Comment

Description

I probed compiling KTX trunked version on ppc64.
The uname.log config.log and make.log linked in files.
Is there any idea?

uname.log (129 Bytes) Anonymous, 30/01/2008 00:45

config.log (9.4 KB) Anonymous, 30/01/2008 00:45

make.log (7.7 KB) Anonymous, 30/01/2008 00:45

History

11/02/2008 03:32 - Renzo SC

Comment

Try using "make dl32" after configure and report back.

11/02/2008 03:33 - Renzo SC

  • Status changed from New to On Hold
  • Target version deleted (1.35)

11/02/2008 12:08 - Anonymous

Comment

huinfoppc64 ktx-trunk-sources # make dl32
make: *** No rule to make target `dl32'. Stop.

11/02/2008 22:58 - Renzo SC

Comment

You need to get at least build 720:

722 07/02/2008 14:35 renzo Just in case…
721 06/02/2008 22:06 renzo Now you can use make dl32 on 64bit systems making compiler compile at 32bits.

11/02/2008 23:02 - Anonymous

Comment

I also made changes to MVDSV recently but it does not check ppc64.

754 06/02/2008 22:09 renzo Put an additional check for x86_64 systems in configure. Should automatically make MVDSV compile 32bits even if on 64bit systems to make MVDSV more compliant with KTX.

However, after configure you only need to change one line (line 17) in the Makefile. It's in the beginning of the file and should look like this:

FORCE32BITFLAGS=-m32

12/02/2008 15:18 - Anonymous

Comment

I downloaded trunk version now.

huinfoppc64 ktx-trunk-source # ./configure
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for library containing strerror... none required
checking build system type... powerpc64-unknown-linux-gnu
checking host system type... powerpc64-unknown-linux-gnu
checking target system type... powerpc64-unknown-linux-gnu
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for AIX... no
checking whether make sets $(MAKE)... yes
checking for lcc... no
checking for q3asm... no
checking for rm... /bin/rm
checking for mkdep... no
checking for mkdir... /bin/mkdir
checking for a BSD-compatible install... /usr/bin/install -c
checking for ANSI C header files... yes
checking whether gcc needs -traditional... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile.dl
config.status: creating src/Makefile.dl32
config.status: creating src/Makefile.vm

huinfoppc64 ktx-trunk-source # make dl32
cd src; make -f Makefile.dl32 build
make[1]: Entering directory `/usr/src/ktx-trunk-source/src'
gcc -g -Wall -O2 -fPIC -DSVNREV="exported" -m32 -I../include -c native_lib.c
In file included from /usr/include/features.h:345,
from /usr/include/assert.h:37,
from ../include/q_shared.h:60,
from ../include/g_local.h:31,
from native_lib.c:12:
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: Nincs ilyen fájl vagy könyvtár
________________________________________________^File not found
make[1]: *** [native_lib.o] Error 1
make[1]: Leaving directory `/usr/src/ktx-trunk-source/src'
make: *** [build-dl32] Error 2

15/02/2008 22:31 - Renzo SC

Comment

At this point we can't do anything. We would require a shell with PPC arch to check it out, and while we don't have such, it's impossible.

08/06/2008 19:03 - Renzo SC

  • Status changed from On Hold to Closed
Comment

Let's close this. If and when KTX supports 64 bit compiling we can check this again (and we have PPC to check things).

Also available in: Atom PDF