Basic 1.1.13-pre Build Issue on FreeBSD 4.10
Anthony Volodkin
anthonyv at brainlink.com
Sat Jun 17 07:15:24 UTC 2006
Hi,
I've been testing out the 1.1.13-pre
(http://www.danga.com/memcached/dist/memcached-1.1.13-pre.tar.gz) on
some of my systems with a lot of success. I am especially happy to see
some of the slab-allocation/redistribution features in this release
(Thanks Facebook!).
One of the systems is FreeBSD 4.10 with gcc 2.95.4 and it seems to be
having difficulties building this new memcached. I am probably missing
something basic, and I really appreciate any help.
Thank you,
Anthony Volodkin
-----------------------------------------------
Here is my build process:
Configure
-----------------------------------------------
#> ./configure --with-libevent=/usr/local
checking build system type... i386-unknown-freebsd4.10
checking host system type... i386-unknown-freebsd4.10
checking target system type... i386-unknown-freebsd4.10
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/root/memcached-1.1.13-pre/missing: Unknown `--run' option
Try `/root/memcached-1.1.13-pre/missing --help' for more information
configure: WARNING: `missing' script is too old or missing
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
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 for style of include used by make... GNU
checking dependency style of gcc... gcc
checking for a BSD-compatible install... /usr/bin/install -c
checking for event_set in -levent... yes
checking for library containing socket... none required
checking for library containing gethostbyname... none required
checking for library containing mallinfo... no
checking for daemon... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... 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... no
checking for unistd.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for struct mallinfo.arena... no
checking for socklen_t... yes
checking for mlockall... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
Make
-----------------------------------------------
#> make
make all-recursive
Making all in doc
source='memcached.c' object='memcached.o' libtool=no DEPDIR=.deps
depmode=gcc /bin/sh ./depcomp gcc -DHAVE_CONFIG_H -I. -I. -I.
-DNDEBUG -g -O2 -I/usr/local/include -c memcached.c
In file included from memcached.c:47:
/usr/include/malloc.h:2: warning: #warning "this file includes
<malloc.h> which is deprecated, use <stdlib.h> instead"
memcached.c: In function `drive_machine':
memcached.c:1230: syntax error before `long'
memcached.c:1230: `__X' undeclared (first use in this function)
memcached.c:1230: (Each undeclared identifier is reported only once
memcached.c:1230: for each function it appears in.)
memcached.c:1230: syntax error before `)'
memcached.c:1231: syntax error before `)'
memcached.c:1234: `key_size' undeclared (first use in this function)
memcached.c:1236: `value_size' undeclared (first use in this function)
memcached.c:1238: syntax error before `else'
memcached.c:1242: `it' undeclared (first use in this function)
memcached.c:1246: case label not within a switch statement
memcached.c: At top level:
memcached.c:1264: syntax error before `break'
*** Error code 1
Stop in /root/memcached-1.1.13-pre.
*** Error code 1
Stop in /root/memcached-1.1.13-pre.
*** Error code 1
Stop in /root/memcached-1.1.13-pre.
More information about the memcached
mailing list