Compile Error on CentOS 4

These are old archives. They are kept for historic purposes only.
Post Reply
Fapiko

Compile Error on CentOS 4

Post by Fapiko »

Here is the output:

Code: Select all

checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking sys/rusage.h usability... no
checking sys/rusage.h presence... no
checking for sys/rusage.h... no
checking glob.h usability... yes
checking glob.h presence... yes
checking for glob.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for uid_t in sys/types.h... yes
checking for short... yes
checking size of short... 2
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for int16_t... yes
checking for u_int16_t... yes
checking for int32_t... yes
checking for u_int32_t... yes
checking for rlim_t... no
checking size of rlim_t... 0
checking what kind of nonblocking sockets you have... O_NONBLOCK
checking whether gcc needs -traditional... no
checking whether setpgrp takes no argument... yes
checking for function prototypes... yes
checking whether setvbuf arguments are reversed... no
checking for working alloca.h... yes
checking for alloca... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for strlcpy... no
checking for strlcat... no
checking for strlncat... no
checking for inet_pton... yes
checking for inet_ntop... yes
checking if C99 variable length arrays are supported... yes
checking if we can set the core size to unlimited... yes
checking for vprintf... yes
checking for _doprnt... no
checking for gettimeofday... yes
checking for getrusage... yes
checking for setproctitle... no
checking for setproctitle in -lutil... no
checking for pstat... no
checking what type of signals you have... POSIX
checking for strtoken... no
checking for strtok... yes
checking for strerror... yes
checking for index... yes
checking for strtoul... yes
checking for bcopy... yes
checking for bcmp... yes
checking for bzero... yes
checking for strcasecmp... yes
checking for inet_addr... yes
checking for inet_ntoa... yes
checking for inet_netof... yes
checking for syslog... yes
checking for vsyslog... yes
checking for dlopen... no
checking for dlopen in -ldl... yes
checking if we need the -export-dynamic flag... yes
checking for compiler option to produce PIC... -fPIC -DPIC -shared
checking if your system prepends an underscore on symbols... no
checking if FD_SETSIZE is large enough to allow 1024 file descriptors... yes
extracting TRE regex library
configuring TRE regex library
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
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... gcc3
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking for the best optimization flags... -O1 -fomit-frame-pointer
checking for C compiler warning flags... -Wall
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for working alloca.h... yes
checking for alloca... 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 getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for getopt_long... yes
checking for isascii... yes
checking for isblank... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
checking whether NLS is requested... yes
checking for msgfmt... no
checking for gmsgfmt... :
checking for xgettext... no
checking for msgmerge... no
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking whether NLS is requested... yes
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
configure: creating libtool
configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating src/Makefile
config.status: creating tests/Makefile
config.status: creating po/Makefile.in
config.status: creating m4/Makefile
config.status: creating utils/Makefile
config.status: creating doc/Makefile
config.status: creating tre.pc
config.status: creating tre.spec
config.status: creating doc/agrep.1
config.status: creating config.h
config.status: creating lib/tre-config.h
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile


Configuration summary
=====================

TRE is now configured as follows:

* Compilation environment

  CC       = gcc
  CFLAGS   = -O1 -fomit-frame-pointer -Wall
  CPP      = gcc -E
  CPPFLAGS =
  LD       = /usr/bin/ld
  LDFLAGS  =
  LIBS     =
  Use alloca():                       yes

* TRE options

  Development-time debugging:         no
  System regex ABI compatibility:     no
  Wide character (wchar_t) support:   no (disabled with --disable-wchar)
  Multibyte character set support:    no (disabled with --disable-multibyte)
  Approximate matching support:       yes
  Build and install agrep:            no

compiling TRE regex library
gmake  all-recursive
gmake[1]: Entering directory `/home/root/Unreal3.2/extras/tre-0.7.2'
gmake: *** [all] Segmentation fault
Making all in lib
gmake[2]: Entering directory `/home/root/Unreal3.2/extras/tre-0.7.2/lib'
gmake  all-am
gmake[3]: Entering directory `/home/root/Unreal3.2/extras/tre-0.7.2/lib'
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.     -O1 -fomit-frame-pointer -Wall -MT tre-ast.lo -MD -MP -MF ".deps/tre-ast.Tpo" -c -o tre-ast.lo tre-ast.c; \
then mv -f ".deps/tre-ast.Tpo" ".deps/tre-ast.Plo"; else rm -f ".deps/tre-ast.Tpo"; exit 1; fi
gmake[2]: *** [all] Segmentation fault
gmake[2]: Leaving directory `/home/root/Unreal3.2/extras/tre-0.7.2/lib'
[root@irc2 Unreal3.2]#  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -O1 -fomit-frame-pointer -Wall -MT tre-ast.lo -MD -MP -MF .deps/tre-ast.Tpo -c tre-ast.c -o tre-ast.o
Post Reply