View Single Post
  #5  
Old 12-19-2012, 02:18 PM
scerion
Fire Beetle
 
Join Date: Dec 2012
Location: United States
Posts: 10
Default

was was comparing the world makefile to the zone makefile and came across that it was missing -lm -lz from the LINKOPTS line. here they are below:

world makefile
Code:
COPTS=$(WFLAGS) -g -O -pthread -pipe -I../common/SocketLib \
  -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD $(DFLAGS) $(MYSQL_FLAGS) $(PERL_FLAGS)
LINKOPTS=$(COPTS) -rdynamic -L. -lstdc++ -lm -lz -ldl \
  $(MYSQL_LIB) $(PERL_LIB)
zone makefile
Code:
COPTS=$(WFLAGS) -O -g -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE $(DFLAGS) $(MYSQL_FLAGS) $(PERL_FLAGS)
LINKOPTS=$(COPTS) -rdynamic -L. -lstdc++ -ldl $(MYSQL_LIB) $(PERL_LIB)
So it looks like that portion compiled correctly...the fix by adding "-lm -lz" before "-ldl" in the zone makefile.

Now I got
Code:
make[1]: Leaving directory `/home/eqemu/source/EQEmuServer/queryserv'
make -C utils
make[1]: Entering directory `/home/eqemu/source/EQEmuServer/utils'
g++ cleanipc.cpp -o cleanipc
make[1]: Leaving directory `/home/eqemu/source/EQEmuServer/utils'
at the end of the compilation.
are these errors?
Reply With Quote