configure: 'GLUT library not found or too old version'

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).
pontiac
Elite
Elite
Posts: 1454
Joined: Sun Jan 12, 2003 6:24 pm
Location: Far out in the uncharted backwaters of the unfashionable end of the western spiral arm of the Galaxy
Contact:

configure: 'GLUT library not found or too old version'

Post by pontiac »

This is also an answer-post to http://vegastrike.sourceforge.net/forum ... =8710#8710 :

Finally i'm at home again.
Unfortunately it didn't build.

I checked out module vegastrike and data4.x with my pontiac user at SF -> (:pserver:pontiac[AT]cvs.sourceforge.net:/cvsroot/vegastrike).

The standard procedure:

Code: Select all

cd ./vegastrike
make clean
aclocal
autoconf
configure --enable-debug --enable-nosdl --enable-nogtk --with-gl-lib-name=opengl32 --with-glu-lib-name=glu32 --with-png-inc=/usr/include/libpng12 --disable-sound --enable-boost-128
configure complains about a missing glut, but it is installed and the location didn't move since the last succesfully compile.

The log is here:
http://members.chello.at/stefbuer/vegas ... config.log

What does the message "cannot find -lXi" mean?

Pontiac
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

Xi is a usually-required xwindow component
maybe it's lower case for you or something...

look for libXi*.so
it should be in /usr/X11R6/lib

is it there? ;-) you n eed that file to compile on some systems...
you could edit configure.in and take out any references to -lXi and see if it worked... prolly same with Xmu
some distros will force linking with Xi if needed
but most require you to specify

which distro? or are you using cygwin...
if you're using cygwin--then it shouldn't have done the -Xi
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
pontiac
Elite
Elite
Posts: 1454
Joined: Sun Jan 12, 2003 6:24 pm
Location: Far out in the uncharted backwaters of the unfashionable end of the western spiral arm of the Galaxy
Contact:

Post by pontiac »

hellcatv wrote:which distro? or are you using cygwin...
if you're using cygwin--then it shouldn't have done the -Xi
Yes i am using cygwin.
And i never got this error before.
look for libXi*.so
it should be in /usr/X11R6/lib
Only file in the tree is libXi.dll , but i think this is more or less useless ;-)
is it there? ;-) you n eed that file to compile on some systems...
you could edit configure.in and take out any references to -lXi and see if it worked... prolly same with Xmu
Currently trying it, will report success/failure here.

Pontiac
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

libXi.dll is the file it should be trying to link with...

libXi.so is the same fiel under linux (linux dll's are named .so)

so it should link with libXi.so successfully...
but maybe it's not necessary to use glut on windows


I thought someone got VS compiling on cygwin-- anyone care to help me out? I've never done it before
was it surfdargent?
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
pontiac
Elite
Elite
Posts: 1454
Joined: Sun Jan 12, 2003 6:24 pm
Location: Far out in the uncharted backwaters of the unfashionable end of the western spiral arm of the Galaxy
Contact:

Post by pontiac »

pontiac wrote:Currently trying it, will report success/failure here.
configure finished successfully with -lXi and -lXmu disabled in configure.in.


But unfortunately make breaks now:

http://members.chello.at/stefbuer/vegas ... config.log
http://members.chello.at/stefbuer/vegas ... stderr.txt
http://members.chello.at/stefbuer/vegas ... stdout.txt

I had the error

Code: Select all

Target `all' not remade because of errors.
before, but i think the changes in the source didn't solve it:
http://vegastrike.sourceforge.net/forum ... =7024#7024

Pontiac
pontiac
Elite
Elite
Posts: 1454
Joined: Sun Jan 12, 2003 6:24 pm
Location: Far out in the uncharted backwaters of the unfashionable end of the western spiral arm of the Galaxy
Contact:

Post by pontiac »

hellcatv wrote:libXi.dll is the file it should be trying to link with...

libXi.so is the same fiel under linux (linux dll's are named .so)
Aren't the libraries under cygwin named *.a (and then linked to the dlls)?
so it should link with libXi.so successfully...
but maybe it's not necessary to use glut on windows
If it is necessary it has been linked fine the first (and last) time i got it to compile :?

Pontiac
dandandaman
Artisan
Artisan
Posts: 1270
Joined: Fri Jan 03, 2003 3:27 am
Location: Perth, Western Australia
Contact:

Post by dandandaman »

I'm afraid I'm now also getting this problem under linux...although everything that is needed is installed and in the right places (ie, as worked before under RH8) it is now not working....I don't know if this is RH9 or VS, but since other people are now having the same problem with cvs...I'm thinking the config script has been munted :-/ I will try with the older script when I get home

Dan.a
pontiac
Elite
Elite
Posts: 1454
Joined: Sun Jan 12, 2003 6:24 pm
Location: Far out in the uncharted backwaters of the unfashionable end of the western spiral arm of the Galaxy
Contact:

Post by pontiac »

dandandaman wrote:I'm afraid I'm now also getting this problem under linux...although everything that is needed is installed and in the right places (ie, as worked before under RH8) it is now not working....I don't know if this is RH9 or VS, but since other people are now having the same problem with cvs...I'm thinking the config script has been munted :-/ I will try with the older script when I get home

Dan.a
Are you talking about the "Target `all' not remade because of errors." mesg or the Xi thing or both?

Pontiac
dandandaman
Artisan
Artisan
Posts: 1270
Joined: Fri Jan 03, 2003 3:27 am
Location: Perth, Western Australia
Contact:

Post by dandandaman »

hmm....looks like mine's a different problem, and it looks like it might have something to do with redhat's glut....:-/

hellcat...what's your opinion on this?

http://black-paralysis.sourceforge.net/config.log

thanks

Dan.a
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

your config.log says:

configure:8583: gcc -o conftest -L/usr/X11R6/lib -L/usr/X11R6/lib conftest.c -lutil -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread -lSDL_mixer -lGL -lGLU -lglut -lXi -lXmu >&5
/usr/lib/libglut.so: undefined reference to `glXBindChannelToWindowSGIX'
/usr/lib/libglut.so: undefined reference to `glXQueryChannelDeltasSGIX'
/usr/lib/libglut.so: undefined reference to `glXChannelRectSyncSGIX'
/usr/lib/libglut.so: undefined reference to `glXChannelRectSGIX'
/usr/lib/libglut.so: undefined reference to `glXQueryChannelRectSGIX'

it appears your GL or Xwindow system is missing those references....

the only way you can tell if a lib has references is by using nm

let me demonstrate

daniel@mirror:/usr/lib$ nm --dynamic libglut.so | grep glX
U glXChooseVisual
U glXCreateContext
U glXDestroyContext
U glXGetClientString
U glXGetConfig
U glXIsDirect
U glXMakeCurrent
U glXQueryExtension
U glXQueryExtensionsString
U glXQueryVersion
U glXSwapBuffers
U glXWaitX

that means my libglut.so depends on those glx extensions...
let me see which ones I have (listed with a T by them)
0002ae00 T glXChooseVisual
0002bac0 T glXGetConfig
0002d978 T glXCreateContext
0002e6f4 T glXCreateContextWithConfigSGIX
0002d5e0 T glXCreateGLXPbufferSGIX
0002d9bc T glXCreateGLXPixmap
0002d454 T glXCreateGLXPixmapWithConfigSGIX
0002de50 T glXCreateNewContext
0002c8f4 T glXCreatePbuffer
0002caec T glXCreatePixmap
0002cc70 T glXCreateWindow
0002da74 T glXDestroyContext
...
...
...
my libGL.so indeed has all the glX primitives it needs

however it does not share your glX primitiives that your GL requires
I suspect that your libGL version is too old for the libglut that goes with it

no worries---just build the libglut.so.3.7 that I have--that one definitely does NOT depend on any of the glX things you presented here
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
pontiac
Elite
Elite
Posts: 1454
Joined: Sun Jan 12, 2003 6:24 pm
Location: Far out in the uncharted backwaters of the unfashionable end of the western spiral arm of the Galaxy
Contact:

Post by pontiac »

Is there any way i can help finding the problem with this "Target `all' not remade because of errors." - thing?
Maybe gdb or something? Though i doN#t knwo how to use gdb ;-)

Pontiac
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

make -k should continune building even with those errors

it hasn't gotten to the finished building point--no way to use GDB tilli t's done compiling
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
pontiac
Elite
Elite
Posts: 1454
Joined: Sun Jan 12, 2003 6:24 pm
Location: Far out in the uncharted backwaters of the unfashionable end of the western spiral arm of the Galaxy
Contact:

Post by pontiac »

hellcatv wrote:make -k should continune building even with those errors
But it doesn't.
I am using

Code: Select all

make -k 2>make_stderr.txt >make_stdout.txt
after configure.
It hasn't gotten to the finished building point--no way to use GDB tilli t's done compiling
Oh, good to know. No other way to check the problem?

Pontiac
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

well if it successfully makes it through the ./configure stage hten paste the stderr.txt and we can see exactly what goes wrong
it could be that problem with glut
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
pontiac
Elite
Elite
Posts: 1454
Joined: Sun Jan 12, 2003 6:24 pm
Location: Far out in the uncharted backwaters of the unfashionable end of the western spiral arm of the Galaxy
Contact:

Post by pontiac »

Code: Select all

make clean
aclocal
autoconf > autoconf_stdout.txt 2>autoconf_stderr.txt
automake -a --add-missing > automake_stdout.txt 2>automake_stderr.txt
configure --enable-debug --enable-nosdl --enable-nogtk --with-gl-lib-name=opengl32 --with-glu-lib-name=glu32 --with-png-inc=/usr/include/libpng12 --disable-sound --enable-boost-128 --disable-sdl> configure_stdout.txt 2>configure_stderr.txt
make -k 2>make_stderr.txt >make_stdout.txt


http://members.chello.at/stefbuer/vegas ... stderr.txt
autoconf_stdout.txt - empty
automake_stderr.txt - empty
automake_stdout.txt - empty
http://members.chello.at/stefbuer/vegas ... config.log
configure_stdout.txt - empty
http://members.chello.at/stefbuer/vegas ... stdout.txt
http://members.chello.at/stefbuer/vegas ... stderr.txt
http://members.chello.at/stefbuer/vegas ... stdout.txt


I removed/commented all -lXi and -lXmu in configure.in.

Hope this helps.

Pontiac
pontiac
Elite
Elite
Posts: 1454
Joined: Sun Jan 12, 2003 6:24 pm
Location: Far out in the uncharted backwaters of the unfashionable end of the western spiral arm of the Galaxy
Contact:

Post by pontiac »

Does anybody already have a clue where this error comes from?

Pontiac
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

somehow your makefile got corrupted

try this:
top level

find . -name Makefile.in | xargs rm
find . -name Makefile | xargs rm
aclocal
autoreconf
automake
./configure --with-your-options
make


hope that helps
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
pontiac
Elite
Elite
Posts: 1454
Joined: Sun Jan 12, 2003 6:24 pm
Location: Far out in the uncharted backwaters of the unfashionable end of the western spiral arm of the Galaxy
Contact:

Post by pontiac »

hellcatv wrote:somehow your makefile got corrupted

try this:
top level

find . -name Makefile.in | xargs rm
find . -name Makefile | xargs rm
aclocal
autoreconf
automake
./configure --with-your-options
make


hope that helps
Thanks for the reply.
Unfortunately it didn't work.
I got the same errors as before (you need the exact output?).

Pontiac

PS: You sure about the corrupted makefile? I made a complete re-checkout before trying to compile it in the last post.
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

ugh well whenever it says missing separator in my makefile that trick works....gosh I've never used cygwin--maybe surfdargent knows how to get it working in cygwin after surfdargent gets back from holiday
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
Guest

Post by Guest »

hellcatv wrote:ugh well whenever it says missing separator in my makefile that trick works....gosh I've never used cygwin--maybe surfdargent knows how to get it working in cygwin after surfdargent gets back from holiday
Yeah, you are probably right. This must be some cygwin stuff, since everyone else seems to get it to compile with other systems.
I will wait for surfdargent to come back :-)

Pontiac
pontiac
Elite
Elite
Posts: 1454
Joined: Sun Jan 12, 2003 6:24 pm
Location: Far out in the uncharted backwaters of the unfashionable end of the western spiral arm of the Galaxy
Contact:

Post by pontiac »

Found some more things which could help solving this problem.
I just post them here so I don't forget to do so later ;-)

Error from the post above:

Code: Select all

Makefile:386: *** missing separator.  Stop.
...
Code from the makefile in the scr directory:

Code: Select all

...
maintainer-clean: maintainer-clean-recursive

.PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
mostlyclean-compile distclean-compile clean-compile \
maintainer-clean-compile install-data-recursive \
uninstall-data-recursive install-exec-recursive \
uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
all-recursive check-recursive installcheck-recursive info-recursive \
dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
install-exec install-data-am install-data install-am install \
uninstall-am uninstall all-redirect all-am all installdirs-am \
installdirs mostlyclean-generic distclean-generic clean-generic \
maintainer-clean-generic clean mostlyclean distclean maintainer-clean


if USEBOOST128					##### line 386 #######
	 -I$(top_srcdir)/src/boost
else
	 -I$(top_srcdir)/src/boost129
endif


if NETCOMM
if NETCOMM_JVOIP
    jvoiplib jthread jrtplib \
    cmd gfx gldrv aldrv python gui networking boost common boost129
    jvoiplib/libjvoip.a \
    jvoiplib/libgsm.a \
    jvoiplib/liblpc.a \
    jrtplib/libjrtp.a
else
    jthread \
    cmd gfx gldrv aldrv python gui networking boost common boost129
endif
else
    jthread \
    cmd gfx gldrv aldrv python gui networking boost common boost129
endif
...

Pontiac
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

try
./configure --enable-boost-128
and see if that gets around the problem
how odd
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
pontiac
Elite
Elite
Posts: 1454
Joined: Sun Jan 12, 2003 6:24 pm
Location: Far out in the uncharted backwaters of the unfashionable end of the western spiral arm of the Galaxy
Contact:

Post by pontiac »

hellcatv wrote:try
./configure --enable-boost-128
and see if that gets around the problem
how odd
That was my first guess too, but i already use this parameter as default (see here).
I turned it off for testing, but this also didn't work.

Attached the complete Makefile. I hope it isn't too long.
Marked the line 386 with "#### line 386 ####":

Code: Select all

# Generated automatically from Makefile.in by configure.
# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am

# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.


SHELL = /bin/sh

srcdir = .
top_srcdir = ..
prefix = /usr/local
exec_prefix = ${prefix}

bindir = ${exec_prefix}/bin
sbindir = ${exec_prefix}/sbin
libexecdir = ${exec_prefix}/libexec
datadir = ${prefix}/share
sysconfdir = ${prefix}/etc
sharedstatedir = ${prefix}/com
localstatedir = ${prefix}/var
libdir = ${exec_prefix}/lib
infodir = ${prefix}/info
mandir = ${prefix}/man
includedir = ${prefix}/include
oldincludedir = /usr/include

DESTDIR =

pkgdatadir = $(datadir)/vegastrike
pkglibdir = $(libdir)/vegastrike
pkgincludedir = $(includedir)/vegastrike

top_builddir = ..

ACLOCAL = aclocal
AUTOCONF = autoconf
AUTOMAKE = automake
AUTOHEADER = autoheader

INSTALL = /usr/bin/install -c
INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS)
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_SCRIPT = ${INSTALL_PROGRAM}
transform = s,x,x,

NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
host_alias = i686-pc-cygwin
host_triplet = i686-pc-cygwin
BOOST_CPPFLAGS = -DUSE_BOOST_128=1
BOOST_LIBS = ../src/boost/libpython_boost.a
CC = gcc
CXX = c++
CXXCPP = c++ -E
GTK_CFLAGS = @GTK_CFLAGS@
GTK_CONFIG = @GTK_CONFIG@
GTK_LIBS = @GTK_LIBS@
LN_S = ln -s
MAKEINFO = makeinfo
PACKAGE = vegastrike
PYTHON_CPPFLAGS =  -I/usr/include/python2.2 -DHAVE_PYTHON=1 
PYTHON_LIBS = /usr/lib/python2.3/config/libpython2.3.dll.a  -Xlinker -export-dynamic
RANLIB = ranlib
SDL_CFLAGS = 
SDL_CONFIG = 
SDL_LIBS = 
TR_CFLAGS = -gdwarf-2 -g3 -Wall  -DNOMINMAX
TR_CPPFLAGS =     -I/usr/include/libpng12   -I/System/Library/Frameworks/QuickTime.framework/Headers -I/System/Library/Frameworks/Carbon.framework/Versions/A/Headers
TR_CXXFLAGS = -gdwarf-2 -g3 -Wall -DNOMINMAX
TR_LIBS =  -luser32 -lgdi32 -lutil  -lopengl32  -lglu32  -lglut32  -lexpat  -lpng  -ljpeg
VERSION = 0.3.5
INCLUDES = -I$(top_srcdir)/src \
bin_PROGRAMS = vegastrike vegaserver accountserver
SUBDIRS = \
ld_add = 
vegastrike_LDADD = \
vegaserver_LDADD = \
accountserver_LDADD = \
libroot = \
librootgeneric = \
librootserver = \
vegaserver_SOURCES = \
accountserver_SOURCES = \
vegastrike_SOURCES = \
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = ../config.h
CONFIG_CLEAN_FILES = 
PROGRAMS =  $(bin_PROGRAMS)


DEFS = -DHAVE_CONFIG_H -I. -I$(srcdir) -I..
CPPFLAGS =      -I/usr/include/libpng12   -I/System/Library/Frameworks/QuickTime.framework/Headers -I/System/Library/Frameworks/Carbon.framework/Versions/A/Headers  -I/usr/include/python2.2 -DHAVE_PYTHON=1  -DUSE_BOOST_128=1 
LDFLAGS = -L/usr/X11R6/lib 
LIBS =   -luser32 -lgdi32 -lutil  -lopengl32  -lglu32  -lglut32  -lexpat  -lpng  -ljpeg /usr/lib/python2.3/config/libpython2.3.dll.a  -Xlinker -export-dynamic
vegastrike_OBJECTS = 
vegastrike_DEPENDENCIES =  \
vegastrike_LDFLAGS = 
vegaserver_OBJECTS = 
vegaserver_DEPENDENCIES =  \
vegaserver_LDFLAGS = 
accountserver_OBJECTS = 
accountserver_DEPENDENCIES =  \
accountserver_LDFLAGS = 
DIST_COMMON =  Makefile.am Makefile.in


DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)

TAR = tar
GZIP_ENV = --best
SOURCES = $(vegastrike_SOURCES) $(vegaserver_SOURCES) $(accountserver_SOURCES)
OBJECTS = $(vegastrike_OBJECTS) $(vegaserver_OBJECTS) $(accountserver_OBJECTS)

all: all-redirect
.SUFFIXES:
.SUFFIXES: .S .c .o .s
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
	cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile

Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
	cd $(top_builddir) \
	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status


mostlyclean-binPROGRAMS:

clean-binPROGRAMS:
	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)

distclean-binPROGRAMS:

maintainer-clean-binPROGRAMS:

install-binPROGRAMS: $(bin_PROGRAMS)
	@$(NORMAL_INSTALL)
	$(mkinstalldirs) $(DESTDIR)$(bindir)
	@list='$(bin_PROGRAMS)'; for p in $$list; do \
	  if test -f $$p; then \
	    echo "  $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
	     $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
	  else :; fi; \
	done

uninstall-binPROGRAMS:
	@$(NORMAL_UNINSTALL)
	list='$(bin_PROGRAMS)'; for p in $$list; do \
	  rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
	done

.s.o:
	$(COMPILE) -c $<

.S.o:
	$(COMPILE) -c $<

mostlyclean-compile:
	-rm -f *.o core *.core

clean-compile:

distclean-compile:
	-rm -f *.tab.c

maintainer-clean-compile:

vegastrike: $(vegastrike_OBJECTS) $(vegastrike_DEPENDENCIES)
	@rm -f vegastrike
	$(LINK) $(vegastrike_LDFLAGS) $(vegastrike_OBJECTS) $(vegastrike_LDADD) $(LIBS)

vegaserver: $(vegaserver_OBJECTS) $(vegaserver_DEPENDENCIES)
	@rm -f vegaserver
	$(LINK) $(vegaserver_LDFLAGS) $(vegaserver_OBJECTS) $(vegaserver_LDADD) $(LIBS)

accountserver: $(accountserver_OBJECTS) $(accountserver_DEPENDENCIES)
	@rm -f accountserver
	$(LINK) $(accountserver_LDFLAGS) $(accountserver_OBJECTS) $(accountserver_LDADD) $(LIBS)

# This directory's subdirectories are mostly independent; you can cd
# into them and run `make' without going through this Makefile.
# To change the values of `make' variables: instead of editing Makefiles,
# (1) if the variable is set in `config.status', edit `config.status'
#     (which will cause the Makefiles to be regenerated when you run `make');
# (2) otherwise, pass the desired values on the `make' command line.



all-recursive install-data-recursive install-exec-recursive \
installdirs-recursive install-recursive uninstall-recursive  \
check-recursive installcheck-recursive info-recursive dvi-recursive:
	@set fnord $(MAKEFLAGS); amf=$$2; \
	dot_seen=no; \
	target=`echo $@ | sed s/-recursive//`; \
	list='$(SUBDIRS)'; for subdir in $$list; do \
	  echo "Making $$target in $$subdir"; \
	  if test "$$subdir" = "."; then \
	    dot_seen=yes; \
	    local_target="$$target-am"; \
	  else \
	    local_target="$$target"; \
	  fi; \
	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
	done; \
	if test "$$dot_seen" = "no"; then \
	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
	fi; test -z "$$fail"

mostlyclean-recursive clean-recursive distclean-recursive \
maintainer-clean-recursive:
	@set fnord $(MAKEFLAGS); amf=$$2; \
	dot_seen=no; \
	rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
	  rev="$$subdir $$rev"; \
	  test "$$subdir" != "." || dot_seen=yes; \
	done; \
	test "$$dot_seen" = "no" && rev=". $$rev"; \
	target=`echo $@ | sed s/-recursive//`; \
	for subdir in $$rev; do \
	  echo "Making $$target in $$subdir"; \
	  if test "$$subdir" = "."; then \
	    local_target="$$target-am"; \
	  else \
	    local_target="$$target"; \
	  fi; \
	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
	done && test -z "$$fail"
tags-recursive:
	list='$(SUBDIRS)'; for subdir in $$list; do \
	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
	done

tags: TAGS

ID: $(HEADERS) $(SOURCES) $(LISP)
	list='$(SOURCES) $(HEADERS)'; \
	unique=`for i in $$list; do echo $$i; done | \
	  awk '    { files[$$0] = 1; } \
	       END { for (i in files) print i; }'`; \
	here=`pwd` && cd $(srcdir) \
	  && mkid -f$$here/ID $$unique $(LISP)

TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
	tags=; \
	here=`pwd`; \
	list='$(SUBDIRS)'; for subdir in $$list; do \
   if test "$$subdir" = .; then :; else \
	    test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
   fi; \
	done; \
	list='$(SOURCES) $(HEADERS)'; \
	unique=`for i in $$list; do echo $$i; done | \
	  awk '    { files[$$0] = 1; } \
	       END { for (i in files) print i; }'`; \
	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
	  || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)

mostlyclean-tags:

clean-tags:

distclean-tags:
	-rm -f TAGS ID

maintainer-clean-tags:

distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)

subdir = src

distdir: $(DISTFILES)
	here=`cd $(top_builddir) && pwd`; \
	top_distdir=`cd $(top_distdir) && pwd`; \
	distdir=`cd $(distdir) && pwd`; \
	cd $(top_srcdir) \
	  && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/Makefile
	@for file in $(DISTFILES); do \
	  d=$(srcdir); \
	  if test -d $$d/$$file; then \
	    cp -pr $$d/$$file $(distdir)/$$file; \
	  else \
	    test -f $(distdir)/$$file \
	    || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
	    || cp -p $$d/$$file $(distdir)/$$file || :; \
	  fi; \
	done
	for subdir in $(SUBDIRS); do \
	  if test "$$subdir" = .; then :; else \
	    test -d $(distdir)/$$subdir \
	    || mkdir $(distdir)/$$subdir \
	    || exit 1; \
	    chmod 777 $(distdir)/$$subdir; \
	    (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \
	      || exit 1; \
	  fi; \
	done
info-am:
info: info-recursive
dvi-am:
dvi: dvi-recursive
check-am: all-am
check: check-recursive
installcheck-am:
installcheck: installcheck-recursive
install-exec-am: install-binPROGRAMS
install-exec: install-exec-recursive

install-data-am:
install-data: install-data-recursive

install-am: all-am
	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
install: install-recursive
uninstall-am: uninstall-binPROGRAMS
uninstall: uninstall-recursive
all-am: Makefile $(PROGRAMS)
all-redirect: all-recursive
install-strip:
	$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
installdirs: installdirs-recursive
installdirs-am:
	$(mkinstalldirs)  $(DESTDIR)$(bindir)


mostlyclean-generic:

clean-generic:

distclean-generic:
	-rm -f Makefile $(CONFIG_CLEAN_FILES)
	-rm -f config.cache config.log stamp-h stamp-h[0-9]*

maintainer-clean-generic:
mostlyclean-am:  mostlyclean-binPROGRAMS mostlyclean-compile \
		mostlyclean-tags mostlyclean-generic

mostlyclean: mostlyclean-recursive

clean-am:  clean-binPROGRAMS clean-compile clean-tags clean-generic \
		mostlyclean-am

clean: clean-recursive

distclean-am:  distclean-binPROGRAMS distclean-compile distclean-tags \
		distclean-generic clean-am

distclean: distclean-recursive

maintainer-clean-am:  maintainer-clean-binPROGRAMS \
		maintainer-clean-compile maintainer-clean-tags \
		maintainer-clean-generic distclean-am
	@echo "This command is intended for maintainers to use;"
	@echo "it deletes files that may require special tools to rebuild."

maintainer-clean: maintainer-clean-recursive

.PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
mostlyclean-compile distclean-compile clean-compile \
maintainer-clean-compile install-data-recursive \
uninstall-data-recursive install-exec-recursive \
uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
all-recursive check-recursive installcheck-recursive info-recursive \
dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
install-exec install-data-am install-data install-am install \
uninstall-am uninstall all-redirect all-am all installdirs-am \
installdirs mostlyclean-generic distclean-generic clean-generic \
maintainer-clean-generic clean mostlyclean distclean maintainer-clean


if USEBOOST128                      #### line 386 ####
	 -I$(top_srcdir)/src/boost
else
	 -I$(top_srcdir)/src/boost129
endif


if NETCOMM
if NETCOMM_JVOIP
    jvoiplib jthread jrtplib \
    cmd gfx gldrv aldrv python gui networking boost common boost129
    jvoiplib/libjvoip.a \
    jvoiplib/libgsm.a \
    jvoiplib/liblpc.a \
    jrtplib/libjrtp.a
else
    jthread \
    cmd gfx gldrv aldrv python gui networking boost common boost129
endif
else
    jthread \
    cmd gfx gldrv aldrv python gui networking boost common boost129
endif

networking/netserver.o 				\
aldrv/libaldrv.a 					\
common/libvscommon.a 				\
networking/libnetclient.a 			\
cmd/script/script_call_briefing.o 	\
cmd/script/libscript.a 				\
cmd/script/c_alike/libc_alike.a 	\
python/briefing_wrapper.o 			\
cmd/libcmd.a 						\
cmd/base_init.o 					\
python/libpython.a 					\
gfx/libgfx.a 						\
gldrv/libgldrv.a 					\
cmd/ai/libai.a 						\
gui/libgui.a 						\
networking/libnet.a 				\
cmd/collide/libcollide.a 			\
boost129/libboost_python.a          \
boost/libboost_python.a             \
gfx/nav/libnav.a 					\
$(ld_add)							\
jthread/libjthread.a                \
-lpthread -lz

cmd/script/director_server.o 	\
cmd/unit_util_generic.o 		\
cmd/unit_util_server.o 			\
networking/netclient.o 			\
common/libvscommon.a 			\
networking/libnetserver.a 		\
cmd/libcmdserver.a 				\
cmd/script/libscriptserver.a 	\
cmd/ai/libaiserver.a 			\
cmd/script/c_alike/libc_alike.a \
python/libpythonserver.a 		\
gfx/libgfxserver.a 				\
gldrv/libgldrvserver.a 			\
cmd/collide/libcollide.a 		\
boost129/libboost_python.a      \
boost/libboost_python.a	        \
jthread/libjthread.a -lz

common/libvscommon.a            \
networking/libnetacct.a	        \
jthread/libjthread.a -lz


	debug_vs.h				\
	debug_vs.cpp			\
	gfxlib.h				\
	gfxlib_struct.h			\
	gfxlib_struct.cpp		\
	linecollide.h			\
	in_joystick.cpp			\
	in_joystick.h			\
	force_feedback.cpp		\
	force_feedback.h		\
	faction_util.cpp		\
	in_kb.cpp				\
	in_kb.h					\
	in_sdl.cpp				\
	in_mouse.cpp			\
	in_mouse.h				\
	in_main.cpp				\
	in_main.h				\
	in_handler.cpp			\
	in_handler.h			\
	main_loop.h				\
	main_loop.cpp			\
	physics.h				\
	physics.cpp				\
	resizable.h				\
	star_system_jump.cpp	\
	star_system_xml.cpp		\
	star_system.cpp 		\
	star_system.h 			\
	universe.cpp			\
	universe.h				\
	universe_util.h			\
	universe_util.cpp		\
	config_xml.cpp			\
	config_xml.h			\
	profile.h 				\
	audiolib.h				\
    macosx_math.cpp			\
    macosx_math.h			\
	cg_global.cpp

	stardate.cpp				\
	stardate.h					\
	md5.cpp						\
	md5.h						\
	star_system_generic.cpp 	\
	star_system_generic.h 		\
	universe_generic.cpp		\
	universe_generic.h			\
	universe_util_generic.cpp 	\
	universe_util_generic.h 	\
	galaxy.cpp					\
	galaxy_xml.cpp				\
	galaxy_xml.h				\
	galaxy_gen.cpp				\
	galaxy_gen.h				\
	faction_generic.cpp			\
	faction_generic.h			\
	hashtable.h					\
	hashtable.cpp				\
	configxml.cpp				\
	configxml.h					\
	easydom.cpp					\
	easydom.h					\
	xml_serializer.cpp			\
	xml_serializer.h			\
	xml_support.h  				\
	xml_support.cpp				\
	lin_time.cpp				\
	lin_time.h					\
	endianness.cpp				\
	endianness.h				\
	file_main.h					\
	in.h						\
	faction_util_generic.cpp	\
	load_mission.cpp			\
	savegame.cpp				\
	savegame.h					\
	vegastrike.h				\
	vs_globals.cpp				\
	vs_path.cpp					\
	vs_path.h

	gfxlib_struct_server.cpp	\
	libaudioserver.cpp			\
	libserver.cpp				\
	universe_util_server.cpp	\
	force_feedback_server.cpp	\
	faction_util_server.cpp

	$(librootgeneric) $(librootserver) \
	vegaserver.cpp

	libserver.cpp			\
	configxml.cpp			\
	configxml.h				\
	easydom.cpp				\
	easydom.h				\
	xml_support.h  			\
	xml_support.cpp			\
	lin_time.cpp			\
	lin_time.h				\
	endianness.cpp			\
	endianness.h			\
	vs_path.cpp				\
	vs_path.h				\
	galaxy_gen.cpp			\
	galaxy_gen.h			\
	md5.cpp					\
	md5.h					\
	accountserver.cpp

	$(librootgeneric) $(libroot) \
	main.cpp


# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
Pontiac
Last edited by pontiac on Sat Aug 16, 2003 11:28 pm, edited 1 time in total.
Guest

Post by Guest »

Duplicate deleted :roll:
Guest

Post by Guest »

Anonymous wrote:Duplicate deleted :roll:
The post above was from me.
Just had a strange combination of double board-timeout (sending the long post + timeout when trying to delete a dulicate of the long post). :roll:

Pontiac
Post Reply