🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by CusterDD Mon, 14 Dec 1992 04:18
libg++ make fails -- new
#621
Author: CusterDD
Date: Mon, 14 Dec 1992 04:18
61 lines
2009 bytes
First, thanks to all those who responded to my first plea.
Removing th -g got past the previous problem.  Now I have a new one.

Machine: 386/25 clone

OS: ESIX System V/386 Release 4.0 Version 4 

X: X11R4, Motif

Compiler: gcc 2.3.2

Make: gnu make 

c++ Experience: not very much  (I do device drivers for a living-this is play)

Procedure:

cd to gnu/libg++-2.2
gmake -w all
{ losts of stuff removed.  no errors, some warnings about casting void* }

gmake[2] Entering directory gnu/libg++-2.2/libg++/src

{ stuff deleted, no errors }

gcc -nostdinc++ -I.. -I. -I./../iostram -I./../g++-include -c String.cc
In file included from ./../iostream/iostream.h:25,
from ./../iostream/stream.h:7, from ./String.h:27, from String.cc:215:
../..iostream/streambuf.h:359: warning type specified omitted for parameter
./../iostream./streambuf.h:259:: parse error before `)'
../..iostream/streambuf.h:360: warning type specified omitted for parameter
./../iostream./streambuf.h:260:: parse error before `)'

{ similar diagnostics for iostream.h:60, iostream.h 152, iostream.h 225
  iostream.h 247 followed by}

./../iostream/iostream.h:226: `format' undeclared (first use this function)

{ and similar complaints in iostream.h:248 regarding format and args }
gmake[2] *** [String.o] Error 1
...

All the complaints have in common _G_va_list

I found

#define _G_va_list __gnuc_va_list

in config.h.  In the hopes that somehow config.h wasn't being included,
I manually made the substition at one place in streambuf.h:359

Results: the same.


Anyone have a cure?

Thanks in advance

Dave Custer
AT&T Bell Labs
ddc@druwa.att.com
Re: libg++ make fails -- new
#631
Author: Tom McConnell~
Date: Sun, 20 Dec 1992 08:23
31 lines
1444 bytes
In article <22845@drutx.ATT.COM>, ddc@druwa.ATT.COM (CusterDD) writes:
  <stuff deleted>

> All the complaints have in common _G_va_list
> 
> I found
> 
> #define _G_va_list __gnuc_va_list
> 
> in config.h.  In the hopes that somehow config.h wasn't being included,
> I manually made the substition at one place in streambuf.h:359

  So close! If you look in ./lib++ you will find a file called _G_config.h. In
there you need to uncomment the line that defines _G_va_list. It should look
something like:

    typedef char* _G_va_list;

  I think this problem is solved in libg++-2.3.

  Hope that helps.

    Cheers,

    Tom McConnell
-- 
 Tom McConnell          |     Internet: tmcconne@sedona.intel.com
 Intel, Corp. C3-91     |     Phone: (602)-554-8229
 5000 W. Chandler Blvd. | The opinions expressed are my own. No one in 
 Chandler, AZ  85226    | their right mind would claim them.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads