Bug #104
KTX trunked version compiling in ppc64
| Status: | Closed | Start: | 30/01/2008 | |
| Priority: | Normal | Due date: | ||
| Assigned to: | - | % Done: | 0% |
|
| Category: | Core | |||
| Target version: | - | |||
Description
I probed compiling KTX trunked version on ppc64.
The uname.log config.log and make.log linked in files.
Is there any idea?
History
11/02/2008 23:02 - Anonymous
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
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
