Dune Legacy für OS4?

...für und mit Amiga OS4

Moderator: OS4Welt-Team

Benutzeravatar
Zettmaster
Beiträge: 264
Registriert: 14. Juli 2010 09:54
Wohnort: Coswig (Anh)
Kontaktdaten:

Re: Dune Legacy für OS4?

Beitrag von Zettmaster »

So...

gmake läuft bis:

Code: Alles auswählen

SDL -D_GNU_SOURCE=1 -c -o House.o House.cpp
House.cpp: In member function 'void House::decrementHarvesters()':
House.cpp:852: error: 'INFINITY' was not declared in this scope
gmake[1]: *** [House.o] Error 1
gmake[1]: Leaving directory `/Work/Temp/dunelegacy-0.96.2/src'
gmake: *** [all-recursive] Error 1
/Work/Temp/dunelegacy-0.96.2> 
Bitte mal helfen!

Hier mein Configure.log

Code: Alles auswählen

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by dunelegacy configure 0.96.2, which was
generated by GNU Autoconf 2.67.  Invocation command line was

  $ configure --disable-dependency-tracking --bindir=/SDK/Local/C --prefix=/SDK/Local --libdir=/SDK/Local/newlib/lib LIBS=-lauto -lunix -lSDL_mixer -lsmpeg -lm -lvorbisfile -lvorbis -logg -lmikmod -lflac -lSDL -lpthread -lstdc++ 

## --------- ##
## Platform. ##
## --------- ##

hostname = localhost
uname -m = ppc
uname -r = 53.8
uname -s = AmigaOS
uname -v = 3.5

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /gcc/bin
PATH: /SDK/C
PATH: /SDK/Local/C
PATH: /SDK/Local/newlib/bin
PATH: /SDK/Local/clib2/bin
PATH: /C
PATH: .


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2068: creating cache /dev/null
configure:2175: checking build system type
configure:2189: result: powerpc-unknown-amigaos
configure:2209: checking host system type
configure:2222: result: powerpc-unknown-amigaos
configure:2242: checking target system type
configure:2255: result: powerpc-unknown-amigaos
configure:2299: checking for a BSD-compatible install
configure:2367: result: /SDK/Local/C/ginstall -c
configure:2378: checking whether build environment is sane
configure:2428: result: yes
configure:2569: checking for a thread-safe mkdir -p
configure:2608: result: /SDK/Local/C/mkdir -p
configure:2621: checking for gawk
configure:2651: result: no
configure:2621: checking for mawk
configure:2651: result: no
configure:2621: checking for nawk
configure:2637: found /SDK/Local/C/nawk
configure:2648: result: nawk
configure:2659: checking whether /SDK/C/gmake sets $(MAKE)
configure:2681: result: yes
configure:2822: checking for g++
configure:2838: found /gcc/bin/g++
configure:2849: result: g++
configure:2876: checking for C++ compiler version
configure:2885: g++ --version >&5
g++ (GCC) 4.2.4 (adtools build 20090118)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2896: $? = 0
configure:2885: g++ -v >&5
Using built-in specs.
Target: ppc-amigaos
Configured with: ../gcc/configure --prefix=/gcc --host=ppc-amigaos --target=ppc-amigaos --build=i686-cygwin --enable-haifa --enable-sjlj-exceptions --enable-languages=c,c++
Thread model: single
gcc version 4.2.4 (adtools build 20090118)
configure:2896: $? = 0
configure:2885: g++ -V >&5
g++: '-V' option must have argument
configure:2896: $? = 1
configure:2885: g++ -qversion >&5
g++: no input files
configure:2896: $? = 1
configure:2916: checking whether the C++ compiler works
configure:2938: g++    conftest.cpp -lauto -lunix -lSDL_mixer -lsmpeg -lm -lvorbisfile -lvorbis -logg -lmikmod -lflac -lSDL -lpthread -lstdc++  >&5
configure:2942: $? = 0
configure:2990: result: yes
configure:2993: checking for C++ compiler default output file name
configure:2995: result: a.out
configure:3001: checking for suffix of executables
configure:3008: g++ -o conftest    conftest.cpp -lauto -lunix -lSDL_mixer -lsmpeg -lm -lvorbisfile -lvorbis -logg -lmikmod -lflac -lSDL -lpthread -lstdc++  >&5
configure:3012: $? = 0
configure:3034: result: 
configure:3056: checking whether we are cross compiling
configure:3064: g++ -o conftest    conftest.cpp -lauto -lunix -lSDL_mixer -lsmpeg -lm -lvorbisfile -lvorbis -logg -lmikmod -lflac -lSDL -lpthread -lstdc++  >&5
configure:3068: $? = 0
configure:3075: ./conftest
configure:3079: $? = 0
configure:3094: result: no
configure:3099: checking for suffix of object files
configure:3121: g++ -c   conftest.cpp >&5
configure:3125: $? = 0
configure:3146: result: o
configure:3150: checking whether we are using the GNU C++ compiler
configure:3169: g++ -c   conftest.cpp >&5
configure:3169: $? = 0
configure:3178: result: yes
configure:3187: checking whether g++ accepts -g
configure:3207: g++ -c -g  conftest.cpp >&5
configure:3207: $? = 0
configure:3248: result: yes
configure:3282: checking for style of include used by /SDK/C/gmake
configure:3310: result: GNU
configure:3335: checking dependency style of g++
configure:3445: result: none
configure:3534: checking for gcc
configure:3550: found /gcc/bin/gcc
configure:3561: result: gcc
configure:3790: checking for C compiler version
configure:3799: gcc --version >&5
gcc (GCC) 4.2.4 (adtools build 20090118)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3810: $? = 0
configure:3799: gcc -v >&5
Using built-in specs.
Target: ppc-amigaos
Configured with: ../gcc/configure --prefix=/gcc --host=ppc-amigaos --target=ppc-amigaos --build=i686-cygwin --enable-haifa --enable-sjlj-exceptions --enable-languages=c,c++
Thread model: single
gcc version 4.2.4 (adtools build 20090118)
configure:3810: $? = 0
configure:3799: gcc -V >&5
gcc: '-V' option must have argument
configure:3810: $? = 1
configure:3799: gcc -qversion >&5
gcc: no input files
configure:3810: $? = 1
configure:3814: checking whether we are using the GNU C compiler
configure:3833: gcc -c   conftest.c >&5
configure:3833: $? = 0
configure:3842: result: yes
configure:3851: checking whether gcc accepts -g
configure:3871: gcc -c -g  conftest.c >&5
configure:3871: $? = 0
configure:3912: result: yes
configure:3929: checking for gcc option to accept ISO C89
configure:3993: gcc  -c -g -O2  conftest.c >&5
configure:3993: $? = 0
configure:4006: result: none needed
configure:4028: checking dependency style of gcc
configure:4138: result: none
configure:4196: checking for sdl-config
configure:4214: found /SDK/Local/newlib/bin/sdl-config
configure:4227: result: /SDK/Local/newlib/bin/sdl-config
configure:4236: checking for SDL - version >= 1.2.0
configure:4323: gcc -o conftest -g -O2 -I/SDK/local/newlib/include/SDL -D_GNU_SOURCE=1   conftest.c -lauto -lunix -lSDL_mixer -lsmpeg -lm -lvorbisfile -lvorbis -logg -lmikmod -lflac -lSDL -lpthread -lstdc++  -L/SDK/local/newlib/lib -use-dynld -lSDL -lauto -lm >&5
configure:4323: $? = 0
configure:4323: ./conftest
configure:4323: $? = 0
configure:4338: result: yes
configure:4411: checking for Mix_OpenAudio in -lSDL_mixer
configure:4436: gcc -o conftest -g -O2 -I/SDK/local/newlib/include/SDL -D_GNU_SOURCE=1   conftest.c -lSDL_mixer  -lauto -lunix -lSDL_mixer -lsmpeg -lm -lvorbisfile -lvorbis -logg -lmikmod -lflac -lSDL -lpthread -lstdc++  -L/SDK/local/newlib/lib -use-dynld -lSDL -lauto -lm >&5
configure:4436: $? = 0
configure:4445: result: yes
configure:4455: checking for gethostbyaddr_r
configure:4455: gcc -o conftest -g -O2 -I/SDK/local/newlib/include/SDL -D_GNU_SOURCE=1   conftest.c -lauto -lunix -lSDL_mixer -lsmpeg -lm -lvorbisfile -lvorbis -logg -lmikmod -lflac -lSDL -lpthread -lstdc++  -L/SDK/local/newlib/lib -use-dynld -lSDL -lauto -lm -lSDL_mixer >&5
/T/ccGwVyY1.o: In function `main':
/Work/Temp/dunelegacy-0.96.2/conftest.c:45: undefined reference to `gethostbyaddr_r'
configure:4455: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "dunelegacy"
| #define PACKAGE_TARNAME "dunelegacy"
| #define PACKAGE_VERSION "0.96.2"
| #define PACKAGE_STRING "dunelegacy 0.96.2"
| #define PACKAGE_BUGREPORT "http://dunelegacy.sourceforge.net"
| #define PACKAGE_URL ""
| #define PACKAGE "dunelegacy"
| #define VERSION "0.96.2"
| /* end confdefs.h.  */
| /* Define gethostbyaddr_r to an innocuous variant, in case <limits.h> declares gethostbyaddr_r.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define gethostbyaddr_r innocuous_gethostbyaddr_r
| 
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char gethostbyaddr_r (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
| 
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 
| #undef gethostbyaddr_r
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char gethostbyaddr_r ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_gethostbyaddr_r || defined __stub___gethostbyaddr_r
| choke me
| #endif
| 
| int
| main ()
| {
| return gethostbyaddr_r ();
|   ;
|   return 0;
| }
configure:4455: result: no
configure:4461: checking for gethostbyname_r
configure:4461: gcc -o conftest -g -O2 -I/SDK/local/newlib/include/SDL -D_GNU_SOURCE=1   conftest.c -lauto -lunix -lSDL_mixer -lsmpeg -lm -lvorbisfile -lvorbis -logg -lmikmod -lflac -lSDL -lpthread -lstdc++  -L/SDK/local/newlib/lib -use-dynld -lSDL -lauto -lm -lSDL_mixer >&5
/T/ccFsyYzI.o: In function `main':
/Work/Temp/dunelegacy-0.96.2/conftest.c:45: undefined reference to `gethostbyname_r'
configure:4461: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "dunelegacy"
| #define PACKAGE_TARNAME "dunelegacy"
| #define PACKAGE_VERSION "0.96.2"
| #define PACKAGE_STRING "dunelegacy 0.96.2"
| #define PACKAGE_BUGREPORT "http://dunelegacy.sourceforge.net"
| #define PACKAGE_URL ""
| #define PACKAGE "dunelegacy"
| #define VERSION "0.96.2"
| /* end confdefs.h.  */
| /* Define gethostbyname_r to an innocuous variant, in case <limits.h> declares gethostbyname_r.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define gethostbyname_r innocuous_gethostbyname_r
| 
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char gethostbyname_r (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
| 
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 
| #undef gethostbyname_r
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char gethostbyname_r ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_gethostbyname_r || defined __stub___gethostbyname_r
| choke me
| #endif
| 
| int
| main ()
| {
| return gethostbyname_r ();
|   ;
|   return 0;
| }
configure:4461: result: no
configure:4467: checking for poll
configure:4467: gcc -o conftest -g -O2 -I/SDK/local/newlib/include/SDL -D_GNU_SOURCE=1   conftest.c -lauto -lunix -lSDL_mixer -lsmpeg -lm -lvorbisfile -lvorbis -logg -lmikmod -lflac -lSDL -lpthread -lstdc++  -L/SDK/local/newlib/lib -use-dynld -lSDL -lauto -lm -lSDL_mixer >&5
/T/cc3B3nJy.o: In function `main':
/Work/Temp/dunelegacy-0.96.2/conftest.c:45: undefined reference to `poll'
configure:4467: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "dunelegacy"
| #define PACKAGE_TARNAME "dunelegacy"
| #define PACKAGE_VERSION "0.96.2"
| #define PACKAGE_STRING "dunelegacy 0.96.2"
| #define PACKAGE_BUGREPORT "http://dunelegacy.sourceforge.net"
| #define PACKAGE_URL ""
| #define PACKAGE "dunelegacy"
| #define VERSION "0.96.2"
| /* end confdefs.h.  */
| /* Define poll to an innocuous variant, in case <limits.h> declares poll.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define poll innocuous_poll
| 
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char poll (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
| 
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 
| #undef poll
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char poll ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_poll || defined __stub___poll
| choke me
| #endif
| 
| int
| main ()
| {
| return poll ();
|   ;
|   return 0;
| }
configure:4467: result: no
configure:4473: checking for fcntl
configure:4473: gcc -o conftest -g -O2 -I/SDK/local/newlib/include/SDL -D_GNU_SOURCE=1   conftest.c -lauto -lunix -lSDL_mixer -lsmpeg -lm -lvorbisfile -lvorbis -logg -lmikmod -lflac -lSDL -lpthread -lstdc++  -L/SDK/local/newlib/lib -use-dynld -lSDL -lauto -lm -lSDL_mixer >&5
configure:4473: $? = 0
configure:4473: result: yes
configure:4479: checking for inet_pton
configure:4479: gcc -o conftest -g -O2 -I/SDK/local/newlib/include/SDL -D_GNU_SOURCE=1   conftest.c -lauto -lunix -lSDL_mixer -lsmpeg -lm -lvorbisfile -lvorbis -logg -lmikmod -lflac -lSDL -lpthread -lstdc++  -L/SDK/local/newlib/lib -use-dynld -lSDL -lauto -lm -lSDL_mixer >&5
configure:4479: $? = 0
configure:4479: result: yes
configure:4485: checking for inet_ntop
configure:4485: gcc -o conftest -g -O2 -I/SDK/local/newlib/include/SDL -D_GNU_SOURCE=1   conftest.c -lauto -lunix -lSDL_mixer -lsmpeg -lm -lvorbisfile -lvorbis -logg -lmikmod -lflac -lSDL -lpthread -lstdc++  -L/SDK/local/newlib/lib -use-dynld -lSDL -lauto -lm -lSDL_mixer >&5
configure:4485: $? = 0
configure:4485: result: yes
configure:4492: checking for struct msghdr.msg_flags
configure:4492: gcc -c -g -O2 -I/SDK/local/newlib/include/SDL -D_GNU_SOURCE=1  conftest.c >&5
configure:4492: $? = 0
configure:4492: result: yes
configure:4500: checking for socklen_t
configure:4500: gcc -c -g -O2 -I/SDK/local/newlib/include/SDL -D_GNU_SOURCE=1  conftest.c >&5
configure:4500: $? = 0
configure:4500: gcc -c -g -O2 -I/SDK/local/newlib/include/SDL -D_GNU_SOURCE=1  conftest.c >&5
conftest.c: In function 'main':
conftest.c:22: error: expected expression before ')' token
configure:4500: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "dunelegacy"
| #define PACKAGE_TARNAME "dunelegacy"
| #define PACKAGE_VERSION "0.96.2"
| #define PACKAGE_STRING "dunelegacy 0.96.2"
| #define PACKAGE_BUGREPORT "http://dunelegacy.sourceforge.net"
| #define PACKAGE_URL ""
| #define PACKAGE "dunelegacy"
| #define VERSION "0.96.2"
| #define HAS_FCNTL 1
| #define HAS_INET_PTON 1
| #define HAS_INET_NTOP 1
| #define HAS_MSGHDR_FLAGS 1
| /* end confdefs.h.  */
| #include <sys/types.h>
|               #include <sys/socket.h>
| 
| 
| int
| main ()
| {
| if (sizeof ((socklen_t)))
| 	    return 0;
|   ;
|   return 0;
| }
configure:4500: result: yes
configure:4515: checking how to run the C preprocessor
configure:4546: gcc -E  conftest.c
configure:4546: $? = 0
configure:4560: gcc -E  conftest.c
conftest.c:16:28: error: ac_nonexistent.h: No such file or directory
configure:4560: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "dunelegacy"
| #define PACKAGE_TARNAME "dunelegacy"
| #define PACKAGE_VERSION "0.96.2"
| #define PACKAGE_STRING "dunelegacy 0.96.2"
| #define PACKAGE_BUGREPORT "http://dunelegacy.sourceforge.net"
| #define PACKAGE_URL ""
| #define PACKAGE "dunelegacy"
| #define VERSION "0.96.2"
| #define HAS_FCNTL 1
| #define HAS_INET_PTON 1
| #define HAS_INET_NTOP 1
| #define HAS_MSGHDR_FLAGS 1
| #define HAS_SOCKLEN_T 1
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:4585: result: gcc -E
configure:4605: gcc -E  conftest.c
configure:4605: $? = 0
configure:4619: gcc -E  conftest.c
conftest.c:16:28: error: ac_nonexistent.h: No such file or directory
configure:4619: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "dunelegacy"
| #define PACKAGE_TARNAME "dunelegacy"
| #define PACKAGE_VERSION "0.96.2"
| #define PACKAGE_STRING "dunelegacy 0.96.2"
| #define PACKAGE_BUGREPORT "http://dunelegacy.sourceforge.net"
| #define PACKAGE_URL ""
| #define PACKAGE "dunelegacy"
| #define VERSION "0.96.2"
| #define HAS_FCNTL 1
| #define HAS_INET_PTON 1
| #define HAS_INET_NTOP 1
| #define HAS_MSGHDR_FLAGS 1
| #define HAS_SOCKLEN_T 1
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:4648: checking for grep that handles long lines and -e
configure:4706: result: /SDK/Local/C/grep
configure:4711: checking for egrep
configure:4773: result: /SDK/Local/C/grep -E
conftest.c:16:37: error: /usr/include/sys/socket.h: No such file or directory
conftest.c:16:20: error: socket.h: No such file or directory
configure:4879: not updating unwritable cache /dev/null
configure:4969: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by dunelegacy config.status 0.96.2, which was
generated by GNU Autoconf 2.67.  Invocation command line was

  CONFIG_FILES    = 
  CONFIG_HEADERS  = 
  CONFIG_LINKS    = 
  CONFIG_COMMANDS = 
  $ ./config.status 

on localhost

config.status:805: creating Makefile
config.status:805: creating src/Makefile
config.status:805: creating tests/Makefile
config.status:976: executing depfiles commands

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=powerpc-unknown-amigaos
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=set
ac_cv_env_LIBS_value='-lauto -lunix -lSDL_mixer -lsmpeg -lm -lvorbisfile -lvorbis -logg -lmikmod -lflac -lSDL -lpthread -lstdc++ '
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_func_fcntl=yes
ac_cv_func_gethostbyaddr_r=no
ac_cv_func_gethostbyname_r=no
ac_cv_func_inet_ntop=yes
ac_cv_func_inet_pton=yes
ac_cv_func_poll=no
ac_cv_host=powerpc-unknown-amigaos
ac_cv_lib_SDL_mixer_Mix_OpenAudio=yes
ac_cv_member_struct_msghdr_msg_flags=yes
ac_cv_objext=o
ac_cv_path_EGREP='/SDK/Local/C/grep -E'
ac_cv_path_GREP=/SDK/Local/C/grep
ac_cv_path_install='/SDK/Local/C/ginstall -c'
ac_cv_path_mkdir=/SDK/Local/C/mkdir
ac_cv_path_SDL_CONFIG=/SDK/Local/newlib/bin/sdl-config
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_AWK=nawk
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_cxx_g=yes
ac_cv_prog_make__SDK_C_gmake_set=yes
ac_cv_target=powerpc-unknown-amigaos
ac_cv_type_socklen_t=yes
am_cv_CC_dependencies_compiler_type=none
am_cv_CXX_dependencies_compiler_type=none

## ----------------- ##
## Output variables. ##
## ----------------- ##

ac_ct_CC='gcc'
ac_ct_CXX='g++'
ACLOCAL='${SHELL} /Work/Temp/dunelegacy-0.96.2/missing --run aclocal-1.11'
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE='#'
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE='#'
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE='#'
am__include='include'
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
AMDEP_FALSE=''
AMDEP_TRUE='#'
AMDEPBACKSLASH=''
AMTAR='${SHELL} /Work/Temp/dunelegacy-0.96.2/missing --run tar'
AUTOCONF='${SHELL} /Work/Temp/dunelegacy-0.96.2/missing --run autoconf'
AUTOHEADER='${SHELL} /Work/Temp/dunelegacy-0.96.2/missing --run autoheader'
AUTOMAKE='${SHELL} /Work/Temp/dunelegacy-0.96.2/missing --run automake-1.11'
AWK='nawk'
bindir='/SDK/Local/C'
build='powerpc-unknown-amigaos'
build_alias=''
build_cpu='powerpc'
build_os='amigaos'
build_vendor='unknown'
CC='gcc'
CCDEPMODE='depmode=none'
CFLAGS='-g -O2 -I/SDK/local/newlib/include/SDL -D_GNU_SOURCE=1'
CPP='gcc -E'
CPPFLAGS=''
CXX='g++'
CXXDEPMODE='depmode=none'
CXXFLAGS='-O3 -mno-fused-madd -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -I/SDK/local/newlib/include/SDL -D_GNU_SOURCE=1'
CYGPATH_W='echo'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
DEFS='-DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.2\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.2\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.2\" -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1'
DEPDIR='.deps'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dunelegacydatadir='${pkgdatadir}'
dvidir='${docdir}'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/SDK/Local/C/grep -E'
exec_prefix='${prefix}'
EXEEXT=''
GREP='/SDK/Local/C/grep'
host='powerpc-unknown-amigaos'
host_alias=''
host_cpu='powerpc'
host_os='amigaos'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
install_sh='${SHELL} /Work/Temp/dunelegacy-0.96.2/install-sh'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LDFLAGS=''
libdir='/SDK/Local/newlib/lib'
libexecdir='${exec_prefix}/libexec'
LIBOBJS=''
LIBS='-lauto -lunix -lSDL_mixer -lsmpeg -lm -lvorbisfile -lvorbis -logg -lmikmod -lflac -lSDL -lpthread -lstdc++  -L/SDK/local/newlib/lib -use-dynld -lSDL -lauto -lm -lSDL_mixer'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
LTLIBOBJS=''
MAKEINFO='${SHELL} /Work/Temp/dunelegacy-0.96.2/missing --run makeinfo'
mandir='${datarootdir}/man'
mkdir_p='/SDK/Local/C/mkdir -p'
MKDIR_P='/SDK/Local/C/mkdir -p'
OBJEXT='o'
oldincludedir='/usr/include'
PACKAGE='dunelegacy'
PACKAGE_BUGREPORT='http://dunelegacy.sourceforge.net'
PACKAGE_NAME='dunelegacy'
PACKAGE_STRING='dunelegacy 0.96.2'
PACKAGE_TARNAME='dunelegacy'
PACKAGE_URL=''
PACKAGE_VERSION='0.96.2'
PATH_SEPARATOR=':'
pdfdir='${docdir}'
prefix='/SDK/Local'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
SDL_CFLAGS='-I/SDK/local/newlib/include/SDL -D_GNU_SOURCE=1'
SDL_CONFIG='/SDK/Local/newlib/bin/sdl-config'
SDL_LIBS='-L/SDK/local/newlib/lib -use-dynld -lSDL -lauto -lm'
SET_MAKE=''
sharedstatedir='${prefix}/com'
SHELL='/bin/sh'
STRIP=''
sysconfdir='${prefix}/etc'
target='powerpc-unknown-amigaos'
target_alias=''
target_cpu='powerpc'
target_os='amigaos'
target_vendor='unknown'
VERSION='0.96.2'

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "dunelegacy"
#define PACKAGE_TARNAME "dunelegacy"
#define PACKAGE_VERSION "0.96.2"
#define PACKAGE_STRING "dunelegacy 0.96.2"
#define PACKAGE_BUGREPORT "http://dunelegacy.sourceforge.net"
#define PACKAGE_URL ""
#define PACKAGE "dunelegacy"
#define VERSION "0.96.2"
#define HAS_FCNTL 1
#define HAS_INET_PTON 1
#define HAS_INET_NTOP 1
#define HAS_MSGHDR_FLAGS 1
#define HAS_SOCKLEN_T 1

configure: exit 0
Vieleicht jemand eine Idee oder Anregung?

Gruß
Enrico
Demnächst wieder mit neuer Hardware! :boing:
Benutzeravatar
ZeroG
OS4Welt-Team
Beiträge: 2656
Registriert: 25. September 2009 18:19
Danksagung erhalten: 6 Mal

Re: Dune Legacy für OS4?

Beitrag von ZeroG »

Ich hab das Thema mal nach Programmierung verschoben, ich glaub das passt besser.
Benutzeravatar
Zettmaster
Beiträge: 264
Registriert: 14. Juli 2010 09:54
Wohnort: Coswig (Anh)
Kontaktdaten:

Re: Dune Legacy für OS4?

Beitrag von Zettmaster »

habe jetzt die Varibale "INFINITY" (unendlich) folgendermaßen festgelegt...hoffentlich funktioniert es... #define INFINITY 999999

Habe jetzt so einige Hürden übersprungen und gmake läuft schon mal fast 2h ohne Probleme bis hin und wieder INFINITY auftaucht...Dann schnell die Datei öffnen #define INFINITY 999999 eintragen und es läuft sauber durch...spannend...ich berichte...

Gruß
Enrico
Demnächst wieder mit neuer Hardware! :boing:
Benutzeravatar
Zettmaster
Beiträge: 264
Registriert: 14. Juli 2010 09:54
Wohnort: Coswig (Anh)
Kontaktdaten:

Re: Dune Legacy für OS4?

Beitrag von Zettmaster »

So...gmake ist durch...was nun? Scheint fertig zu sein...hier der letzte Code:

Code: Alles auswählen

mv -f .deps/Trike.Tpo .deps/Trike.Po
g++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.2\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.2\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.2\" -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I.  -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include   -O3 -mno-fused-madd  -pedantic -Wall -Wextra -Wno-unused-parameter -ISDK:Local/newlib/include//include/SDL -D_GNU_SOURCE=1 -MT Trooper.o -MD -MP -MF .deps/Trooper.Tpo -c -o Trooper.o `test -f 'units/Trooper.cpp' || echo './'`units/Trooper.cpp
mv -f .deps/Trooper.Tpo .deps/Trooper.Po
g++  -O3 -mno-fused-madd  -pedantic -Wall -Wextra -Wno-unused-parameter -ISDK:Local/newlib/include//include/SDL -D_GNU_SOURCE=1   -o dunelegacy AStarSearch.o Bullet.o Choam.o Command.o CommandManager.o Explosion.o Game.o GameInitSettings.o GameInterface.o House.o Map.o MapEditor.o MapGenerator.o MapSeed.o globals.o main.o mmath.o ObjectBase.o ObjectData.o ObjectManager.o ObjectPointer.o RadarView.o ScreenBorder.o sand.o SoundPlayer.o Tile.o INIMapLoader.o INIMapPreviewCreator.o CutScene.o Scene.o Intro.o Meanwhile.o Finale.o VideoEvent.o WSAVideoEvent.o FadeOutVideoEvent.o FadeInVideoEvent.o HoldPictureVideoEvent.o CrossBlendVideoEvent.o TextEvent.o CutSceneTrigger.o callbacks.o compress.o host.o list.o packet.o peer.o protocol.o unix.o win32.o draw_util.o FileSystem.o fnkdat.o IFileStream.o md5.o OFileStream.o sound_util.o strictmath.o string_util.o Button.o GUIStyle.o Widget.o Window.o ScrollBar.o ListBox.o DropDownBox.o TextView.o ChatManager.o DuneStyle.o GameOptionsWindow.o LoadSaveWindow.o InGameMenu.o InGameSettingsMenu.o NewsTicker.o MessageTicker.o BuilderList.o WaitingForOtherPlayers.o INIFile.o FileManager.o GFXManager.o SFXManager.o FontManager.o TextManager.o Pakfile.o Decode.o Fntfile.o Cpsfile.o SaveWAV.o Shpfile.o Icnfile.o Vocfile.o Wsafile.o Palfile.o Animation.o BriefingText.o IndexedTextFile.o MentatTextFile.o PictureFactory.o PictureFont.o sound_adlib.o opl_dosbox.o opl_mame.o fmopl.o xmidi.o ADLPlayer.o DirectoryPlayer.o XMIPlayer.o MenuBase.o MainMenu.o SinglePlayerMenu.o SinglePlayerSkirmishMenu.o CustomGameMenu.o CustomGamePlayers.o CustomGameStatsMenu.o OptionsMenu.o AboutMenu.o HouseChoiceMenu.o MentatMenu.o MultiPlayerMenu.o BriefingMenu.o HouseChoiceInfoMenu.o MentatHelp.o MapChoice.o CampaignStatsMenu.o LANGameFinderAndAnnouncer.o NetworkManager.o ENetHttp.o MetaServerClient.o TriggerManager.o ReinforcementTrigger.o TimeoutTrigger.o Player.o HumanPlayer.o AIPlayer.o StructureBase.o BuilderBase.o TurretBase.o Barracks.o ConstructionYard.o GunTurret.o HeavyFactory.o HighTechFactory.o IX.o LightFactory.o Palace.o Radar.o Refinery.o RepairYard.o RocketTurret.o Silo.o StarPort.o Wall.o WindTrap.o WOR.o UnitBase.o AirUnit.o GroundUnit.o InfantryBase.o TrackedUnit.o TankBase.o Carryall.o Devastator.o Deviator.o FremenTrooper.o Frigate.o Harvester.o Launcher.o MCV.o Ornithopter.o Quad.o Raider.o Saboteur.o SandWorm.o SardaukarTrooper.o SiegeTank.o Soldier.o SonicTank.o Tank.o Trike.o Trooper.o  -lSDL_mixer -lsmpeg -lm -lvorbisfile -lvorbis -logg -lmikmod -lflac -lSDL -lpthread -lstdc++  -LSDK:Local/newlib/include//lib -use-dynld -lSDL -lauto -lm -lSDL_mixer
gmake[1]: Leaving directory `/Work/Temp/dunelegacy-0.96.2/src'
Making all in tests
gmake[1]: Entering directory `/Work/Temp/dunelegacy-0.96.2/tests'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/Work/Temp/dunelegacy-0.96.2/tests'
gmake[1]: Entering directory `/Work/Temp/dunelegacy-0.96.2'
gmake[1]: Nothing to be done for `all-am'.
gmake[1]: Leaving directory `/Work/Temp/dunelegacy-0.96.2'
Da steht ja nichts von Fehler...Wie bekommt man nun das ganze zusammen???

Gruß
Demnächst wieder mit neuer Hardware! :boing:
Benutzeravatar
ZeroG
OS4Welt-Team
Beiträge: 2656
Registriert: 25. September 2009 18:19
Danksagung erhalten: 6 Mal

Re: Dune Legacy für OS4?

Beitrag von ZeroG »

Sollte schon zusammen sein?
Benutzeravatar
Cyborg
AmigaOS Entwickler
Beiträge: 3510
Registriert: 28. September 2009 11:10
Hat sich bedankt: 12 Mal
Danksagung erhalten: 33 Mal

Re: Dune Legacy für OS4?

Beitrag von Cyborg »

Steht doch da:

Code: Alles auswählen

g++  -O3 -mno-fused-madd  -pedantic -Wall -Wextra -Wno-unused-parameter -ISDK:Local/newlib/include//include/SDL -D_GNU_SOURCE=1   -o dunelegacy [...]
Im src Verzeichnis sollte jetzt das fertige dunelegacy liegen. Ob es mit Deinen Hacks und einem einfachen Recompile tatsächlich funktioniert, ist natürlich fraglich und kann nur durch ausprobieren herausgefunden werden.

Übrigens muß INFINITY in <cmath> definiert sein... oder zumindest in math.h. Das ist Bestandteil vom C99 Standard. Wundert mich schon sehr, daß es bei Dir nicht gefunden wurde. Und INFINITY ist auch ein "bisschen" mehr als 999999, sonst wären ja alle Millionäre reicher, als die Unendlichkeit :super: ;)
.. der SysOp hat immer recht :evil:

PGP Schlüssel verfügbar
Benutzeravatar
Zettmaster
Beiträge: 264
Registriert: 14. Juli 2010 09:54
Wohnort: Coswig (Anh)
Kontaktdaten:

Re: Dune Legacy für OS4?

Beitrag von Zettmaster »

Cyborg hat geschrieben:Steht doch da:

Code: Alles auswählen

g++  -O3 -mno-fused-madd  -pedantic -Wall -Wextra -Wno-unused-parameter -ISDK:Local/newlib/include//include/SDL -D_GNU_SOURCE=1   -o dunelegacy [...]
Im src Verzeichnis sollte jetzt das fertige dunelegacy liegen. Ob es mit Deinen Hacks und einem einfachen Recompile tatsächlich funktioniert, ist natürlich fraglich und kann nur durch ausprobieren herausgefunden werden.

Übrigens muß INFINITY in <cmath> definiert sein... oder zumindest in math.h. Das ist Bestandteil vom C99 Standard. Wundert mich schon sehr, daß es bei Dir nicht gefunden wurde. Und INFINITY ist auch ein "bisschen" mehr als 999999, sonst wären ja alle Millionäre reicher, als die Unendlichkeit :super: ;)
Danke für die Hinweise!!!

Habe die Datei gefunden...Findet aber eine logdatei nicht...Soweit ich lesen konnte gibt es diese Logdatei um zu prüfen welche .pak Dateien vorhanden sind...

Ich configuriere nochmal neu:

Code: Alles auswählen

configure --disable-dependency-tracking --bindir=/SDK/Local/C --prefix=/SDK/Local --libdir=/SDK/Local/newlib/lib CFLAGS=-mcrt=newlib CPPFLAGS="-mcrt=newlib -DMINIGL -D__USE_INLINE__" CXXFLAGS=-mcrt=newlib LIBS="-lSDL_gfx -lSDL_net -lz -lSDL_mixer -lmikmod -lflac -lsmpeg -lm -lvorbisfile -lvorbis -logg -lstdc++ -lSDL_ttf -lfreetype -lsdlmain -lsdl -lauto -lpthread -lunix"
Mal sehen ob er nun richtig Linkt...

Bis dann...wenn nicht schreibe ich alle Header neu und setze die Links manuel nach...

Gruß
Enrico
Demnächst wieder mit neuer Hardware! :boing:
Benutzeravatar
Zettmaster
Beiträge: 264
Registriert: 14. Juli 2010 09:54
Wohnort: Coswig (Anh)
Kontaktdaten:

Re: Dune Legacy für OS4?

Beitrag von Zettmaster »

Cyborg hat geschrieben: Übrigens muß INFINITY in <cmath> definiert sein... oder zumindest in math.h. Das ist Bestandteil vom C99 Standard. Wundert mich schon sehr, daß es bei Dir nicht gefunden wurde. Und INFINITY ist auch ein "bisschen" mehr als 999999, sonst wären ja alle Millionäre reicher, als die Unendlichkeit :super: ;)
Habe jetzt include math.h in die betroffenen Dateien geschrieben. Gibt es diese Datei nativ auf dem Amiga? Weil immer noch folgender Fehler...

Code: Alles auswählen

NU_SOURCE=1 -c -o House.o House.cpp
House.cpp: In member function 'void House::decrementHarvesters()':
House.cpp:852: error: 'INFINITY' was not declared in this scope
gmake[1]: *** [House.o] Error 1
gmake[1]: Leaving directory `/Work/Temp/Port/dunelegacy-0.96.2/src'
gmake: *** [all-recursive] Error 1
7.Work:Temp/Port/dunelegacy-0.96.2> p
Desweitereb habe ich die Datei gefunden wo die Unix Pfade drinnen stehen:

Code: Alles auswählen

#ifndef PACKAGE
#   error PACKAGE is not defined
#endif

#ifndef FNKDAT_PKGDATADIR
#  define FNKDAT_PKGDATADIR "/usr/share/" PACKAGE
#endif

#ifndef FNKDAT_GAMESUBDIR
#  define FNKDAT_GAMESUBDIR "games/"
#endif

/*
 * BSD seems to put their game stuff in /var/games
 * as opposed to /var/lib/games
 */
#ifndef FNKDAT_PKGLIBDIR
#  ifdef __FreeBSD__
#     ifndef FNKDAT_GAMESUBDIR
#        define FNKDAT_GAMESUBDIR "lib/"
#     endif /* GAMESUBDIR */
#     define FNKDAT_PKGLIBDIR "/var/" FNKDAT_GAMESUBDIR PACKAGE
#  else
#     define FNKDAT_PKGLIBDIR "/var/lib/" FNKDAT_GAMESUBDIR PACKAGE
#  endif /* __FreeBSD__ */
#endif /* FNKDAT_PKGLIBDIR */

#ifndef FNKDAT_SYSCONFDIR
#  define FNKDAT_SYSCONFDIR "/etc"
#endif
In was ändere ich diese? /PROGDIR/ ist ja keine Lösung oder?

Wenn ich die dunelegacy ausführe kommt:

Code: Alles auswählen

GetLogFilepath(): fnkdat failed!
Opening logfile '' failed


Bitte mal helfen...Danke!!!!
Gruß
Enrico
Demnächst wieder mit neuer Hardware! :boing:
Kris

Re: Dune Legacy für OS4?

Beitrag von Kris »

Ich kann zwar nicht helfen, aber finde deine Fortschritte wirklich hervorragend! Bitte jetzt auf keinem Fall aufgeben sondern das Projekt abschließen!
Benutzeravatar
Zettmaster
Beiträge: 264
Registriert: 14. Juli 2010 09:54
Wohnort: Coswig (Anh)
Kontaktdaten:

Re: Dune Legacy für OS4?

Beitrag von Zettmaster »

@Kris Danke!

@all
Habe jetzt beim configure den --prefix=/progdir hinzugefügt. In der Datei dann bei den Linux Pfaden /progdir/ eingefügt.
Bei INFINITY habe ich die math.h noch nicht ausmachen können wo diese beschrieben ist. Habe neu configuriert, bei den makefiles -pipe entfernt und jetzt läuft gerade gmake durch. Heut Nachmittag weiß ich mehr...

Wer helfen will, den kann ich auch anrufen. Mein neues Arbeitszimmer steht incl. Sam440ep auch zu Verfügung. Falls jemand persönlich kommen mag.
Für mich ist das Selbststudium

Gruß
Enrico
Demnächst wieder mit neuer Hardware! :boing:
Antworten