*BSD News Article 79921


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!nntp.coast.net!newsfeed.dacom.co.kr!arclight.uoregon.edu!news.ibm.net.il!newsfeed.uk.ibm.net!news-m01.ny.us.ibm.net!newsjunkie.ans.net!newsfeeds.ans.net!news.rmii.com!not-for-mail
From: jon@xinside.com (Jon Trulson)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: 2.2-960801-SNAP & libg++
Date: 4 Oct 1996 22:08:58 GMT
Organization: XInside Inc.
Lines: 40
Message-ID: <5341tq$qvt@natasha.rmii.com>
References: <533qrm$2v2@hptemp1.cc.umr.edu>
NNTP-Posting-Host: fog.xinside.com
X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]

-----BEGIN PGP SIGNED MESSAGE-----

pjgray (pjgray@pgray.student.umr.edu) wrote:
: I recently put 2.2-960801-SNAP on my machine and I am attempting to put gcc/g++ 
: 2.7.2 on as well.  I applied the repo/weak directive patches to gcc, and the 
: compilation/installation of gcc went fine.  However when I compile libg++ I am
: getting this error:
: 
: [ -z "" ] ||  /usr/local/bin/gcc -c -g -I. -I./../include   vasprintf.c -o pic/vasprintf.o
: /usr/local/bin/gcc -c -g -I. -I./../include  vasprintf.c
: vasprintf.c: In function `vasprintf':
: vasprintf.c:122: argument `args' doesn't match prototype
: /usr/include/stdio.h:297: prototype declaration
: *** Error code 1
: 
: Stop.
: 

	Heheh, ran into this one myself just about 2 days ago... edit vasprintf.c 
and change all (I think there are 2) 'va_list args' definitions to: '_BSD_VA_LIST_ 
args'.  This worked for me...

- --
Jon Trulson    work: jon@xinside.com, home: jon@radscan.com
PGP ID: 1A9A2B09, Fingerprint: C23F328A721264E7 B6188192EC733962 
PGP public key at finger:trulson@rainbow.rmii.com or keyserver
We are Grey.  We stand between the Candle and the Star.


-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQEVAwUBMlWLDpv9MhmQHeeBAQEQUgf+M6hUA32awbN3MHoisyWIH0qp61cgznce
jYnHWvjM6cH6MqSvxFH1ZL7Hbzas1nUdx0VbCntOtNU5xEcll10q67FnIsb2gwP4
lbthBJeOj+l+Lbo05YYh11T+9QpFS4kuoNrIJ9G+IDxKRKb2vOlc7iUwT5N0R7+U
3y3yy/gBwmBgI2j2RX012wOSQC9H86auSe5WN7D2f/NwRfebtQQbZd9zwzTPOOh/
X2o2HrxpGspNZD6ASdIwOfmS3GSZ8F4UOhdOtPe/6WYYbFx3LZmeH2M1f+YZyG+j
fWSYy8EIp5bf8hyvX41FGR0dmW1eQHAyFJl0RhTz3hc84jJW5x8Lyw==
=JIAT
-----END PGP SIGNATURE-----