Jump to content


Photo

Openxdk On Kubuntu 7.04


  • Please log in to reply
3 replies to this topic

#1 OpenFusili

OpenFusili

    X-S Enthusiast

  • Members
  • 2 posts
  • Location:St. Cloud, Minnesota
  • Xbox Version:unk
  • 360 version:none

Posted 17 October 2007 - 05:14 AM

Okay, so I'm a Linux user. The only form of windows software (or hardware for that matter) I have is my XBox. I was watching Grandmas Boy and got the idea to start creating my own content for the XBox. Well, after some digging I cam across OpenXDK. I've read that it can be installed on Linux. Now here is my problem. I have gcc4.* , mingw32, automake installed. This is what I get when I try to make all install.

CODE

tylor@technologic:~/openxdk/OpenXDK$ make all install
Making all in include
make[1]: Entering directory `/home/tylor/openxdk/OpenXDK/include'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/tylor/openxdk/OpenXDK/include'
Making all in .
make[1]: Entering directory `/home/tylor/openxdk/OpenXDK'
PATH="/home/tylor/openxdk/OpenXDK/build/bin:/usr/local/openxdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" make -C build/newlib/newlib-1.12.0 all
make[2]: Entering directory `/home/tylor/openxdk/OpenXDK/build/newlib/newlib-1.12.0'
make[3]: Entering directory `/home/tylor/openxdk/OpenXDK/build/newlib/newlib-1.12.0/etc'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/tylor/openxdk/OpenXDK/build/newlib/newlib-1.12.0/etc'
Checking multilib configuration...
multilib.out is unchanged
make[3]: Entering directory `/home/tylor/openxdk/OpenXDK/build/newlib/newlib-1.12.0/i386-pc-xbox/newlib'
make "AR_FLAGS=rc"      "CC_FOR_BUILD=gcc"      "CFLAGS=-O2 -I/home/tylor/openxdk/OpenXDK/./include"    "CFLAGS_FOR_BUILD="     "CFLAGS_FOR_TARGET=-O2 -I/home/tylor/openxdk/OpenXDK/./include"         "LDFLAGS="      "LIBCFLAGS=-O2 -I/home/tylor/openxdk/OpenXDK/./include"         "LIBCFLAGS_FOR_TARGET=-O2 -I/home/tylor/openxdk/OpenXDK/./include"      "MAKE=make"     "MAKEINFO=makeinfo --split-size=5000000 "       "PICFLAG="      "PICFLAG_FOR_TARGET="   "SHELL=/bin/sh"        "EXPECT=expect"  "RUNTEST=runtest"       "RUNTESTFLAGS="         "exec_prefix=/usr/local/openxdk"        "infodir=/usr/local/openxdk/info"       "libdir=/usr/local/openxdk/lib"         "prefix=/usr/local/openxdk"     "tooldir=/usr/local/openxdk/i386-pc-xbox"       "top_toollibdir=/usr/local/openxdk/i386-pc-xbox/lib"   "AR=i386-pc-xbox-ar"     "AS=i386-pc-xbox-as"    "CC=i386-pc-xbox-gcc -B/home/tylor/openxdk/OpenXDK/build/newlib/newlib-1.12.0/i386-pc-xbox/newlib/ -isystem /home/tylor/openxdk/OpenXDK/build/newlib/newlib-1.12.0/i386-pc-xbox/newlib/targ-include -isystem /home/tylor/openxdk/OpenXDK/build/newlib/newlib-1.12.0/newlib/libc/include"        "LD=i386-pc-xbox-ld"    "LIBCFLAGS=-O2 -I/home/tylor/openxdk/OpenXDK/./include"         "NM=i386-pc-xbox-nm"    "PICFLAG="      "RANLIB=i386-pc-xbox-ranlib"    "DESTDIR=" all-recursive
make[4]: Entering directory `/home/tylor/openxdk/OpenXDK/build/newlib/newlib-1.12.0/i386-pc-xbox/newlib'
make "AR_FLAGS=rc"      "CC_FOR_BUILD=gcc"      "CFLAGS=-O2 -I/home/tylor/openxdk/OpenXDK/./include"    "CFLAGS_FOR_BUILD="     "CFLAGS_FOR_TARGET=-O2 -I/home/tylor/openxdk/OpenXDK/./include"         "LDFLAGS="      "LIBCFLAGS=-O2 -I/home/tylor/openxdk/OpenXDK/./include"         "LIBCFLAGS_FOR_TARGET=-O2 -I/home/tylor/openxdk/OpenXDK/./include"      "MAKE=make"     "MAKEINFO=makeinfo --split-size=5000000  "      "PICFLAG="      "PICFLAG_FOR_TARGET="   "SHELL=/bin/sh"        "EXPECT=expect"  "RUNTEST=runtest"       "RUNTESTFLAGS="         "exec_prefix=/usr/local/openxdk"        "infodir=/usr/local/openxdk/info"       "libdir=/usr/local/openxdk/lib"         "prefix=/usr/local/openxdk"     "tooldir=/usr/local/openxdk/i386-pc-xbox"       "top_toollibdir=/usr/local/openxdk/i386-pc-xbox/lib"   "AR=i386-pc-xbox-ar"     "AS=i386-pc-xbox-as"    "CC=i386-pc-xbox-gcc -B/home/tylor/openxdk/OpenXDK/build/newlib/newlib-1.12.0/i386-pc-xbox/newlib/ -isystem /home/tylor/openxdk/OpenXDK/build/newlib/newlib-1.12.0/i386-pc-xbox/newlib/targ-include -isystem /home/tylor/openxdk/OpenXDK/build/newlib/newlib-1.12.0/newlib/libc/include"        "LD=i386-pc-xbox-ld"    "LIBCFLAGS=-O2 -I/home/tylor/openxdk/OpenXDK/./include"         "NM=i386-pc-xbox-nm"    "PICFLAG="      "RANLIB=i386-pc-xbox-ranlib"    "DESTDIR=" DO=all multi-do # make
make[5]: Entering directory `/home/tylor/openxdk/OpenXDK/build/newlib/newlib-1.12.0/i386-pc-xbox/newlib'
if [ -z "" ]; then \
          true; \
        else \
          rootpre=`${PWDCMD-pwd}`/; export rootpre; \
          srcrootpre=`cd ../.././newlib; ${PWDCMD-pwd}`/; export srcrootpre; \
          lib=`echo ${rootpre} | sed -e 's,^.*/\([^/][^/]*\)/$,\1,'`; \
          compiler="i386-pc-xbox-gcc -B/home/tylor/openxdk/OpenXDK/build/newlib/newlib-1.12.0/i386-pc-xbox/newlib/ -isystem /home/tylor/openxdk/OpenXDK/build/newlib/newlib-1.12.0/i386-pc-xbox/newlib/targ-include -isystem /home/tylor/openxdk/OpenXDK/build/newlib/newlib-1.12.0/newlib/libc/include"; \
          for i in `${compiler} --print-multi-lib 2>/dev/null`; do \
            dir=`echo $i | sed -e 's/;.*$//'`; \
            if [ "${dir}" = "." ]; then \
              true; \
            else \
              if [ -d ../${dir}/${lib} ]; then \
                flags=`echo $i | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; \
                if (cd ../${dir}/${lib}; make "AR_FLAGS=rc"     "CC_FOR_BUILD=gcc"      "CFLAGS=-O2 -I/home/tylor/openxdk/OpenXDK/./include"    "CFLAGS_FOR_BUILD="     "CFLAGS_FOR_TARGET=-O2 -I/home/tylor/openxdk/OpenXDK/./include"        "LDFLAGS="       "LIBCFLAGS=-O2 -I/home/tylor/openxdk/OpenXDK/./include"        "LIBCFLAGS_FOR_TARGET=-O2 -I/home/tylor/openxdk/OpenXDK/./include"       "MAKE=make"     "MAKEINFO=makeinfo --split-size=5000000   "     "PICFLAG="      "PICFLAG_FOR_TARGET="   "SHELL=/bin/sh"         "EXPECT=expect"         "RUNTEST=runtest"       "RUNTESTFLAGS="         "exec_prefix=/usr/local/openxdk"        "infodir=/usr/local/openxdk/info"       "libdir=/usr/local/openxdk/lib"         "prefix=/usr/local/openxdk"     "tooldir=/usr/local/openxdk/i386-pc-xbox"       "top_toollibdir=/usr/local/openxdk/i386-pc-xbox/lib"    "AR=i386-pc-xbox-ar"    "AS=i386-pc-xbox-as"    "CC=i386-pc-xbox-gcc -B/home/tylor/openxdk/OpenXDK/build/newlib/newlib-1.12.0/i386-pc-xbox/newlib/ -isystem /home/tylor/openxdk/OpenXDK/build/newlib/newlib-1.12.0/i386-pc-xbox/newlib/targ-include -isystem /home/tylor/openxdk/OpenXDK/build/newlib/newlib-1.12.0/newlib/libc/include"        "LD=i386-pc-xbox-ld"    "LIBCFLAGS=-O2 -I/home/tylor/openxdk/OpenXDK/./include"         "NM=i386-pc-xbox-nm"    "PICFLAG="      "RANLIB=i386-pc-xbox-ranlib"    "DESTDIR=" \
                                CFLAGS="-O2 -I/home/tylor/openxdk/OpenXDK/./include ${flags}" \
                                prefix="/usr/local/openxdk" \
                                exec_prefix="/usr/local/openxdk" \
                                GCJFLAGS="@GCJFLAGS@ ${flags}" \
                                CXXFLAGS="-g -O2 ${flags}" \
                                LIBCFLAGS="-O2 -I/home/tylor/openxdk/OpenXDK/./include ${flags}" \
                                LIBCXXFLAGS="-g -O2 -fno-implicit-templates ${flags}" \
                                LDFLAGS=" ${flags}" \
                                MULTIFLAGS="${flags}" \
                                DESTDIR="" \
                                INSTALL="/usr/bin/install -c" \
                                INSTALL_DATA="/usr/bin/install -c -m 644" \
                                INSTALL_PROGRAM="/usr/bin/install -c " \
                                INSTALL_SCRIPT="/usr/bin/install -c " \
                                all); then \
                  true; \
                else \
                  exit 1; \
                fi; \
              else true; \
              fi; \
            fi; \
          done; \
        fi
make[5]: Leaving directory `/home/tylor/openxdk/OpenXDK/build/newlib/newlib-1.12.0/i386-pc-xbox/newlib'
Making all in libc
make[5]: Entering directory `/home/tylor/openxdk/OpenXDK/build/newlib/newlib-1.12.0/i386-pc-xbox/newlib/libc'
Making all in argz
make[6]: Entering directory `/home/tylor/openxdk/OpenXDK/build/newlib/newlib-1.12.0/i386-pc-xbox/newlib/libc/argz'
i386-pc-xbox-gcc -B/home/tylor/openxdk/OpenXDK/build/newlib/newlib-1.12.0/i386-pc-xbox/newlib/ -isystem /home/tylor/openxdk/OpenXDK/build/newlib/newlib-1.12.0/i386-pc-xbox/newlib/targ-include -isystem /home/tylor/openxdk/OpenXDK/build/newlib/newlib-1.12.0/newlib/libc/include -DPACKAGE=\"newlib\" -DVERSION=\"1.12.0\"  -I. -I../../../.././newlib/libc/argz  -O2 -D_COMPILING_NEWLIB -mno-cygwin -DMISSING_SYSCALL_NAMES -fno-builtin    -O2 -I/home/tylor/openxdk/OpenXDK/./include  -O2 -I/home/tylor/openxdk/OpenXDK/./include -c ../../../.././newlib/libc/argz/dummy.c
make[6]: i386-pc-xbox-gcc: Command not found
make[6]: *** [dummy.o] Error 127
make[6]: Leaving directory `/home/tylor/openxdk/OpenXDK/build/newlib/newlib-1.12.0/i386-pc-xbox/newlib/libc/argz'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/tylor/openxdk/OpenXDK/build/newlib/newlib-1.12.0/i386-pc-xbox/newlib/libc'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/tylor/openxdk/OpenXDK/build/newlib/newlib-1.12.0/i386-pc-xbox/newlib'
make[3]: *** [all-recursive-am] Error 2
make[3]: Leaving directory `/home/tylor/openxdk/OpenXDK/build/newlib/newlib-1.12.0/i386-pc-xbox/newlib'
make[2]: *** [all-target-newlib] Error 2
make[2]: Leaving directory `/home/tylor/openxdk/OpenXDK/build/newlib/newlib-1.12.0'
make[1]: *** [newlib-stamp] Error 2
make[1]: Leaving directory `/home/tylor/openxdk/OpenXDK'
make: *** [all-recursive] Error 1
tylor@technologic:~/openxdk/OpenXDK$


Any help would be greatly appreciated.

#2 openxdkman

openxdkman

    X-S Genius

  • Moderator
  • PipPipPipPip
  • 823 posts
  • Xbox Version:unk
  • 360 version:unknown

Posted 18 October 2007 - 08:26 AM

Are you skipping the auto configure step? You shouldn't.

http://home.tele2.fr...t/changelog.txt
there you will find a few tutorials link (at bottom) and a link to a precompiled Mai 2007 version

However, the result of compilation is a .xbe that needs the original xbox operating system to run.
So you will have to switch from linux to a dashboard in order to run .xbe (I think).
(Usually Linux removes all traces of previous operating system from memory, I think)

I'm only using cygwin under Windows, so I can't really help other platforms toolchains.
(frankly it's easier to compile on PC and have the makefile automatically send .xbe through ftp)

Edited by openxdkman, 18 October 2007 - 08:28 AM.


#3 OpenFusili

OpenFusili

    X-S Enthusiast

  • Members
  • 2 posts
  • Location:St. Cloud, Minnesota
  • Xbox Version:unk
  • 360 version:none

Posted 19 October 2007 - 08:56 AM

CODE
tylor@technologic:~/openxdk/OpenXDK$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
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 style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking dependency style of gcc... gcc3
configure: error: Usage: configure --prefix=<dir>
tylor@technologic:~/openxdk/OpenXDK$


Thats what I get when running ./configure

#4 openxdkman

openxdkman

    X-S Genius

  • Moderator
  • PipPipPipPip
  • 823 posts
  • Xbox Version:unk
  • 360 version:unknown

Posted 20 October 2007 - 08:06 AM

I don't understand why you don't want to follow the instructions written in craig's web page (now hosted by maturion)... Just follow tutorial links at bottom of changelog if you didn't notice it yet.

For Linux it says :

cd /usr/home/openxdk
export WANT_AUTOCONF=2.5
export WANT_AUTOMAKE=1.6
./autogen.sh
./configure --prefix=/usr/local/openxdk --host=i386-mingw32
make all install





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users