Mail Archives: djgpp/2004/03/12/12:17:17
Dennis Daniels <ddaniels AT egenera DOT com> wrote:
> MAP_LIST(vpage, physpage)
> ****************************************************************************
> Gives me the following build error . . .
> ****************************************************************************
> D:\work\gnn_diag\src\DOS_DIAG\gnn_diag>make
> make.exe[1]: Entering directory `d:/work/gnn_diag/src/DOS_DIAG/common'
> gcc -c -O3 -g -I../h -DDOS\
> -o ../obj/hdos.o\
> hdos.c
> hdos.c:864:25: pasting "map_vpage_to_physpage" and "(" does not give a valid
> pre
> processing token
> hdos.c:864:25: pasting "retrieve_vpage_from_physpage" and "(" does not give
> a va
> lid preprocessing token
Search your sources for the definition of that macro MAP_LIST. It's
apparently incorrect in how it uses C preprocessor token
concatenation, and that will have to be fixed.
> Also, when I comment out "MAP_LIST(vpage, physpage)" to
> work-around the error I get the following output below which seems
> to indicate that I'm missing some C++ libraries?
You quite certainly have them if you follwed the installation instructions.
You're just not *linking* to them, because you use the wrong program to
link your C++ .o files:
> gcc -s\
Use 'gpp' instead, and you'll be getting somewhere.
--
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.
- Raw text -