configure: error: pointers cannot be stored in ints

Post Reply
Krelian
Posts: 3
Joined: Wed Sep 12, 2012 8:20 pm

configure: error: pointers cannot be stored in ints

Post by Krelian » Thu Sep 13, 2012 4:18 pm

Received this error during configure, been unable to find anything on it..

Code: Select all

configure: error: pointers cannot be stored in ints, required for old code... stopping
Entire output:

Code: Select all

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 a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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 ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
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 whether byte ordering is bigendian... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LUA... yes
yes
checking whether time.h and sys/time.h may both be included... yes
checking whether pointers can be stored in ints (old code)... no
configure: error: pointers cannot be stored in ints, required for old code... stopping
Anyone got any idea? I've compiled plenty of server emulators before and never seen anything like this.. Am I missing any libraries?

Running: Linux version 2.6.32-5-amd64 (Debian 2.6.32-45) (dannf@debian.org) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Sun May 6 04:00:17 UTC 2012

Krelian
Posts: 3
Joined: Wed Sep 12, 2012 8:20 pm

Re: configure: error: pointers cannot be stored in ints

Post by Krelian » Thu Sep 13, 2012 4:27 pm

Nevermind seem to have fixed it after opening up configure with editor.. Configured with -enable-64bit flag seemed to go okay.. Will report back if that doesn't fix it but configure ran without errors this time. Figured I'd post this in case someone else has the same issue.

bluekirby0
Developer
Posts: 707
Joined: Sun Jul 22, 2012 12:11 am

Re: configure: error: pointers cannot be stored in ints

Post by bluekirby0 » Sat Sep 15, 2012 2:42 am

the --enable-64bit flag is still there because I'd at least like to get 64-bit builds working again in the future, but overall it is wiser to do a 32-bit build for now since debian supports multilib.

Post Reply