I don't see a solution here so I thought I'd follow up with what I've
found thus far.
The error is caused by the fact that ALL_BUILD_MODULES is empty. It IS
explicitly set to empty. Yet, the syntax requirements do require it
NOT to be empty. I hunted around at am in the process of testing a
build with ALL_BUILD_MODULES to the same value as
ALL_BUILD_MODULES_LIST. This latter Macro is never referenced within
this Makefile, leading me to suspect that they really wanted to just
set ALL_BUILD_MODULES all along. But, following the principal of least
change, I've left that one as is and have only added the value for
ALL_BUILD_MODULES.
Unfortunately, my build is now failing on somsolib.c:
gcc -c -g -O2 -D__HP_CURSES -Dvfork=fork -I. -I. -I./config
-DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H
-I./../include/
opcode -I./../readline/.. -I../bfd -I./../bfd -I./../include
-I../intl -I./../intl -DMI_OUT=1 -DUI_OUT=1 -Wimplicit -Wreturn-type
-Wcomment
-Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized
somsolib.c
In file included from defs.h:59,
from somsolib.c:27:
.../include/ansidecl.h:149:1: warning: "PARAMS" redefined
In file included from gdb_locale.h:29,
from defs.h:42,
from somsolib.c:27:
.../intl/libintl.h:48:1: warning: this is the location of the previous
definition
somsolib.c: In function `som_solib_have_load_event':
somsolib.c:1126: error: `SHL_LOAD' undeclared (first use in this
function)
somsolib.c:1126: error: (Each undeclared identifier is reported only
once
somsolib.c:1126: error: for each function it appears in.)
somsolib.c: In function `som_solib_have_unload_event':
somsolib.c:1135: error: `SHL_UNLOAD' undeclared (first use in this
function)
*** Error exit code 1
Anyone have any ideas for this one?
dhandly@cup.hp.com (Dennis Handly) wrote in message news:<3f13e797$1@usenet01.boi.hp.com>...
> !!Tonnere de Brest (x@y.z.com) wrote:
> : Make: line 1192: syntax error. Stop.
> : contents of /tmp/gdb-5.3/Makefile:
> : 1191 .PHONY: $(ALL_BUILD_MODULES)
> : 1192 $(ALL_BUILD_MODULES):
>
> This error seems like the macro ALL_BUILD_MODULES hasn't been defined.