Jump to content
  • 0

GDB mode with 64 bits


dexter

Question


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  19
  • Reputation:   1
  • Joined:  12/31/11
  • Last Seen:  

So im trying to find out why my map-server is crashing, and im trying to use GDB mode, and i've seen that i need to use this to make the core be generated correctly:

 

./configure --enable-debug=gdb



Or compile like this:
 

./configure --with-debug=gdb && make && make sql

 

But on both cases i get this:



checking whether make sets $(MAKE)... yes
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 ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking whether byte ordering is bigendian... no
checking whether pointers can be stored in ints (old code)... yes (with -m32)
checking whether gcc supports -Wno-unused-parameter... yes
checking whether gcc supports -Wno-pointer-sign... yes
checking whether gcc supports -Wno-switch... yes
checking for setrlimit... yes
checking for inflateEnd in -lz... no
configure: error: zlib library not found or incompatible, please specify the correct path with --with-zlib=DIR... stopping
 
 
I do have zlib installed, And i dont get this error when i compile (./configure --enable-64bit) in 64 bits, but i can't get the command right for using those 2
 
I've tried this:

./configure --enable-64bit-with-debug=gdb

 


And it doesn't work either, does anyone know how to use these commands with 64 bits?

Edited by dexter
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...