sorry long paste amd64

Trying to build your own version of Vega Strike and having problems? Unix users, paste your config.log here (stderr output alone is not helpful).
Post Reply
Tweek888
Just a tourist with a frag'd nav console
Just a tourist with a frag'd nav console
Posts: 3
Joined: Fri May 06, 2005 8:36 pm

sorry long paste amd64

Post by Tweek888 »

tweek@tweek:~/vegastrike_0_4_3/vegastrike $ gedit /usr/include/glext.h
looking for type: got text/plain
tweek@tweek:~/vegastrike_0_4_3/vegastrike $ ./configure
checking Checking for C++ compiler.... checking for g++... g++
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 g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
configure: Using compiler: g++.
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking dependency style of g++... gcc3
checking for egrep... grep -E
checking for AIX... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking for library containing strerror... none required
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for working alloca.h... yes
checking for alloca... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking OS.h usability... no
checking OS.h presence... no
checking for OS.h... no
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking values.h usability... yes
checking values.h presence... yes
checking for values.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking linux/slab.h usability... yes
checking linux/slab.h presence... yes
checking for linux/slab.h... yes
checking linux/malloc.h usability... no
checking linux/malloc.h presence... no
checking for linux/malloc.h... no
checking for vfscanf... no
checking for an ANSI C-conforming const... yes
checking whether time.h and sys/time.h may both be included... yes
checking for inline... inline
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for uid_t in sys/types.h... yes
checking whether closedir returns void... no
checking for working memcmp... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... no
checking for access... yes
checking for atexit... yes
checking for bzero... yes
checking for clock_gettime... no
checking for floor... yes
checking for getcwd... yes
checking for gethostbyname... yes
checking for gethostname... yes
checking for gettimeofday... yes
checking for inet_ntoa... yes
checking for lstat... yes
checking for memmove... yes
checking for memset... yes
checking for mkdir... yes
checking for munmap... yes
checking for pow... yes
checking for select... yes
checking for socket... yes
checking for sqrt... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strstr... yes
checking for strtol... yes
checking for finite... yes
checking for _finite... no
checking for isnan... yes
checking for _isnan... no
checking ieeefp.h usability... no
checking ieeefp.h presence... no
checking for ieeefp.h... no
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
Enabling user-specified flags:
checking for Win32 platform... no
checking for CygWin platform... no
checking for Mingw32 platform... no
checking for Linux platform... yes
checking for FreeBSD platform... no
checking for MacOSX platform... no
checking for python... python Python 2.3.4
/usr/lib/libpython2.3.so yes
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.0.1... yes
checking for SDL_JoystickOpen... yes
Using SDL Windowing System
checking for Mix_OpenAudio in -lSDL_mixer... yes
checking for GL library... yes
checking for glXGetProcAddressARB... yes
checking for GLU library... yes
checking for GL/gl.h... yes
checking for GL/gl.h... yes
checking for GL/glext.h... yes
checking whether glext.h is recent enough... yes
checking for glut32 library... no
checking for glut library... no
configure: error: GLUT library not found or too old version. 3.7 (beta) or later required.
tweek@tweek:~/vegastrike_0_4_3/vegastrike $ ./configure
checking Checking for C++ compiler.... checking for g++... g++
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 g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
configure: Using compiler: g++.
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking dependency style of g++... gcc3
checking for egrep... grep -E
checking for AIX... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking for library containing strerror... none required
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for working alloca.h... yes
checking for alloca... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking OS.h usability... no
checking OS.h presence... no
checking for OS.h... no
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking values.h usability... yes
checking values.h presence... yes
checking for values.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking linux/slab.h usability... yes
checking linux/slab.h presence... yes
checking for linux/slab.h... yes
checking linux/malloc.h usability... no
checking linux/malloc.h presence... no
checking for linux/malloc.h... no
checking for vfscanf... no
checking for an ANSI C-conforming const... yes
checking whether time.h and sys/time.h may both be included... yes
checking for inline... inline
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for uid_t in sys/types.h... yes
checking whether closedir returns void... no
checking for working memcmp... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... no
checking for access... yes
checking for atexit... yes
checking for bzero... yes
checking for clock_gettime... no
checking for floor... yes
checking for getcwd... yes
checking for gethostbyname... yes
checking for gethostname... yes
checking for gettimeofday... yes
checking for inet_ntoa... yes
checking for lstat... yes
checking for memmove... yes
checking for memset... yes
checking for mkdir... yes
checking for munmap... yes
checking for pow... yes
checking for select... yes
checking for socket... yes
checking for sqrt... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strstr... yes
checking for strtol... yes
checking for finite... yes
checking for _finite... no
checking for isnan... yes
checking for _isnan... no
checking ieeefp.h usability... no
checking ieeefp.h presence... no
checking for ieeefp.h... no
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
Enabling user-specified flags:
checking for Win32 platform... no
checking for CygWin platform... no
checking for Mingw32 platform... no
checking for Linux platform... yes
checking for FreeBSD platform... no
checking for MacOSX platform... no
checking for python... python Python 2.3.4
/usr/lib/libpython2.3.so yes
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.0.1... yes
checking for SDL_JoystickOpen... yes
Using SDL Windowing System
checking for Mix_OpenAudio in -lSDL_mixer... yes
checking for GL library... yes
checking for glXGetProcAddressARB... yes
checking for GLU library... yes
checking for GL/gl.h... yes
checking for GL/gl.h... yes
checking for GL/glext.h... yes
checking whether glext.h is recent enough... yes
checking for glut32 library... no
checking for glut library... yes
checking GL/glut.h usability... yes
checking GL/glut.h presence... yes
checking for GL/glut.h... yes
checking for expat library... yes
checking expat.h usability... yes
checking expat.h presence... yes
checking for expat.h... yes
checking for png library... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for jpeg library... yes
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for openal library... yes
checking for AL/al.h... yes
checking for al.h... yes
checking AL/alext.h usability... yes
checking AL/alext.h presence... yes
checking for AL/alext.h... yes
Configuring with OpenAL support!
checking for vorbis library... yes
checking for vorbis header... found VORBIS header: Enabling ingame ogg support:: -DHAVE_SDL=1 -DSDL_WINDOWING=1 -DHAVE_AL=1 -DHAVE_OGG
No Crypto++ support
configure: creating ./config.status
config.status: creating Makefile
config.status: creating common/Makefile
config.status: creating launcher/Makefile
config.status: creating mission/Makefile
config.status: creating objconv/Makefile
config.status: creating src/Makefile
config.status: creating src/aldrv/Makefile
config.status: creating src/boost/Makefile
config.status: creating src/boost129/Makefile
config.status: creating src/boost129/converter/Makefile
config.status: creating src/boost129/object/Makefile
config.status: creating src/cmd/Makefile
config.status: creating src/cmd/ai/Makefile
config.status: creating src/cmd/collide/Makefile
config.status: creating src/cmd/collide/csgeom/Makefile
config.status: creating src/cmd/script/Makefile
config.status: creating src/cmd/script/c_alike/Makefile
config.status: creating src/common/Makefile
config.status: creating src/gfx/Makefile
config.status: creating src/gfx/nav/Makefile
config.status: creating src/gldrv/Makefile
config.status: creating src/gui/Makefile
config.status: creating src/networking/Makefile
config.status: creating src/networking/lowlevel/Makefile
config.status: creating src/python/Makefile
config.status: creating objconv/mesher/Makefile
config.status: creating tools/Makefile
config.status: creating config.h
config.status: executing depfiles commands
ace123
Lead Network Developer
Lead Network Developer
Posts: 2560
Joined: Sun Jan 12, 2003 9:13 am
Location: Palo Alto CA
Contact:

Post by ace123 »

That config.log looks fine to me...

Your first one was missing GLUT, but then your second one succeeded. Doesn't it compile? Or does it give the error like the one in this thread.

What's the error when running "make" (what is the last 50 lines of output)?
Tweek888
Just a tourist with a frag'd nav console
Just a tourist with a frag'd nav console
Posts: 3
Joined: Fri May 06, 2005 8:36 pm

yup..

Post by Tweek888 »

yes ace i get those errors but it said post config log :D any ideas?

p.s. ubuntu linux :P if that helps
flydpnkrtn
Star Pilot
Star Pilot
Posts: 5
Joined: Sun Mar 13, 2005 9:25 am
Contact:

What does the error look like from make

Post by flydpnkrtn »

Tweek, what's the error you get when you run make? Everything from config.log looks OK...

I've been compiling VS OK on amd64 for about 2 weeks now...
Tweek888
Just a tourist with a frag'd nav console
Just a tourist with a frag'd nav console
Posts: 3
Joined: Fri May 06, 2005 8:36 pm

here ya go

Post by Tweek888 »

tweek@tweek:~/vegastrike_0_4_3/vegastrike $ make
make all-recursive
make[1]: Entering directory `/home/tweek/vegastrike_0_4_3/vegastrike'
Making all in src
make[2]: Entering directory `/home/tweek/vegastrike_0_4_3/vegastrike/src'
Making all in cmd
make[3]: Entering directory `/home/tweek/vegastrike_0_4_3/vegastrike/src/cmd'
Making all in ai
make[4]: Entering directory `/home/tweek/vegastrike_0_4_3/vegastrike/src/cmd/ai'if g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -DHAVE_SDL=1 -DSDL_WINDOWING=1 -DHAVE_SDL=1 -DSDL_WINDOWING=1 -DHAVE_AL=1 -DHAVE_OGG -I/usr/include/python2.3 -DHAVE_PYTHON=1 -DUSE_BOOST_131=1 -I../../../src/boost129 -I../../../src -pipe -falign-loops=2 -falign-jumps=2 -falign-functions=2 -I/usr/include/SDL -D_REENTRANT -pthread -pipe -MT comm_ai.o -MD -MP -MF ".deps/comm_ai.Tpo" -c -o comm_ai.o comm_ai.cpp; \
then mv -f ".deps/comm_ai.Tpo" ".deps/comm_ai.Po"; else rm -f ".deps/comm_ai.Tpo"; exit 1; fi
In file included from ../../../src/networking/const.h:25,
from ../../../src/vsfilesystem.h:12,
from ../../../src/easydom.h:35,
from ../../../src/cmd/script/mission.h:35,
from ../../../src/cmd/script/flightgroup.h:5,
from ../../../src/cmd/unit_generic.h:47,
from communication.h:3,
from comm_ai.cpp:3:
../../../src/posh.h:542:4: #error POSH cannot determine target CPU
comm_ai.cpp: In function `void GetMadAt(Unit*, Unit*, int)':
comm_ai.cpp:124: warning: converting to `int' from `float'
make[4]: *** [comm_ai.o] Error 1
make[4]: Leaving directory `/home/tweek/vegastrike_0_4_3/vegastrike/src/cmd/ai'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/tweek/vegastrike_0_4_3/vegastrike/src/cmd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/tweek/vegastrike_0_4_3/vegastrike/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tweek/vegastrike_0_4_3/vegastrike'
make: *** [all] Error 2


this is it i have no idea what it means :|
ace123
Lead Network Developer
Lead Network Developer
Posts: 2560
Joined: Sun Jan 12, 2003 9:13 am
Location: Palo Alto CA
Contact:

Post by ace123 »

The thread that I posted earlier has your exact same problem:
http://vegastrike.sourceforge.net/forum ... php?t=3272

From the thread:
flydpnkrtn wrote:I'm on Gentoo, on AMD64 ( -march=k8 ) and I had to edit src/posh.h to get VS to compile (from CVS)

Without editing the file make errors out with:
../../../src/posh.h:542:4: #error POSH cannot determine target CPU

In src/posh.h around where the comments
/* -------------------------------------------------------------
Intel x86 and AMD x86-64
----------------------------------------------------------------
*/

appear I just blew away the "if defined"s and left
# define POSH_CPU_STRING "AMD x86-64"

I've been using CVS VS since then happily.
Hopefully that works for you.

P.S. When we said "paste config.log", we also want you to paste the all errors that came out of make as well. The config.log *by itself* (without any errors or a description of what the error is) doesn't help at all. Config.log only helps determine the cause of any other errors that you have.
Post Reply