[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fatal make error
From: |
Schneider, Olaf |
Subject: |
Fatal make error |
Date: |
Thu, 18 Dec 2003 12:44:22 +0100 |
Hi,
I'm trying to compile the Bash on a Fujitsu VPP5000:
$ ./bashversion -l
GNU bash, version 2.05b.0(1)-release (f301-fujitsu-uxpv)
After running configure with
./configure \
--build=vpp \
--prefix=/opt/freeware \
--enable-alias \
--enable-history \
--enable-job-control \
--enable-readline \
--enable-static-link \
--enable-largefile \
--without-gnu-malloc \
CC='cc -KA32' \
CFLAGS='-KA32 -I/opt/freeware/include -KARG -Knovp -Knosamp' \
CCFLAGS='-KA32 -I/opt/freeware/include -KARG -Knovp -Knosamp' \
LDFLAGS='-KA32 -L/opt/freeware/lib -L/opt/freeware/lib32' \
LIBS='-lpx -lelf -lgen -lnsl -lsocket -lw -ldbm -lcrypt -ljsp -lvfl -lmalloc'
I get (after some time)
make: fatal error: line 328: Syntax error.
line 328 of the Makefile is the target $(MALLOC_LIBRARY) with the following
context
# Our malloc.
MALLOC_TARGET =
# set to alloca.o if we are using the C alloca in lib/malloc
ALLOCA =
ALLOC_LIBSRC = $(LIBSRC)/malloc
ALLOC_LIBDIR = $(dot)/$(LIBSUBDIR)/malloc
ALLOC_ABSSRC = ${topdir}/$(ALLOC_LIBDIR)
MALLOC_SRC =
MALLOC_OTHERSRC = ${ALLOC_LIBSRC}/trace.c ${ALLOC_LIBSRC}/stats.c \
${ALLOC_LIBSRC}/table.c ${ALLOC_LIBSRC}/watch.c
MALLOC_SOURCE = ${ALLOC_LIBSRC}/${MALLOC_SRC} ${MALLOC_OTHERSRC}
MALLOC_CFLAGS = -DRCHECK -Dbotch=programming_error ${MALLOC_DEBUG}
MALLOC_LIB =
MALLOC_LIBRARY =
MALLOC_LDFLAGS =
MALLOC_DEP =
ALLOC_HEADERS = $(ALLOC_LIBSRC)/getpagesize.h $(ALLOC_LIBSRC)/shmalloc.h \
$(ALLOC_LIBSRC)/imalloc.h $(ALLOC_LIBSRC)/mstats.h \
$(ALLOC_LIBSRC)/table.h $(ALLOC_LIBSRC)/watch.h
$(MALLOC_LIBRARY): ${MALLOC_SOURCE} ${ALLOC_HEADERS} config.h
@(cd $(ALLOC_LIBDIR) && \
$(MAKE) $(MFLAGS) \
MALLOC_CFLAGS="$(MALLOC_CFLAGS)" ${MALLOC_TARGET} ) || exit 1
Obviously make complains about the empty target name (but it works
on other systems I had tried - AIX, Linux ...). Maybe an error of my
make tool?
After commenting out the last 4 lines and rerun make all works fine.
Kind Regards, Ole
__|___________
|FFFFFFFFF
|F
|F Olaf Schneider
|F Forschungszentrum Karlsruhe GmbH
|F Institut für Wissenschaftliches Rechnen (IWR)
|F Postfach 3640, 76021 Karlsruhe
__|_________
|FFFFFFF
|F
|F Tel: (07247) 82-3160
|F Mail: Olaf.Schneider@iwr.fzk.de
|F WWW: www.fzk.de/iwr
|F
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Fatal make error,
Schneider, Olaf <=