delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/03/12/12:17:17

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Build Errors . . .
Date: 12 Mar 2004 17:11:15 GMT
Organization: Aachen University of Technology (RWTH)
Lines: 39
Message-ID: <c2sqvj$oip$3@nets3.rz.RWTH-Aachen.DE>
References: <DIEKLDAIDDDAFDHIALANIEJICGAA DOT ddaniels AT egenera DOT com>
NNTP-Posting-Host: ac3b07.physik.rwth-aachen.de
X-Trace: nets3.rz.RWTH-Aachen.DE 1079111475 25177 137.226.33.205 (12 Mar 2004 17:11:15 GMT)
X-Complaints-To: abuse AT rwth-aachen DOT de
NNTP-Posting-Date: 12 Mar 2004 17:11:15 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019