🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #42655

stdarg.h error

#42655
From: Tony Prohaska - Raleigh
Date: Tue, 21 Nov 1995 00:00
25 lines
1356 bytes
Folks, Am not sure this is really a GNU related problem, but...

	On a server of which I don't know the history (Sparc20
	running 4.1.3U1b) I get the following type of error
	when attempting builds of basic utilities (in this case
	vanilla Gopher):

# make
Making Objects
(cd object; make )
cc -O    -DDEBUGGING   -I.  -c Debug.c
"/usr/include/stdarg.h", line 72: __gnuc_va_list declared as parameter to 
non-function
"Debug.c", line 39: syntax error at or near type word "char"
"Debug.c", line 51: fmt undefined
*** Error code 1
make: Fatal error: Command failed for target `Debug.o'
Current working directory /usr/local/src/gopher/gopher2_1_3/object

	I cannot see any obvious defines of __STDC__ which directs
	the #include of stdarg.h. Perhaps a botched gcc install could
	be the culprit? Any thoughts, tips, or suggestions
	would be greatly appreciated.

Tony Prohaska (rap@ssds.com)
Technical Details
Message-ID: <Pine.SOL.3.91.951121103944.13369B-100000@raleigh>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,75fe4ebc310b7ed6,start
X-Google-Attributes: gid11318c,public
From: Tony Prohaska - Raleigh <rap@ssds.com>
Subject: stdarg.h error
Date: 1995/11/21
Message-ID: <Pine.SOL.3.91.951121103944.13369B-100000@raleigh>
X-Deja-AN: 119828124
organization: SSDS, Inc.
x-sender: rap@raleigh
content-type: TEXT/PLAIN; charset=US-ASCII
mime-version: 1.0
newsgroups: gnu.gcc.help