Bug 1062 - error: parse error before "volatile"
Summary: error: parse error before "volatile"
Status: CLOSED DUPLICATE of bug 1013
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Build system (show other bugs)
Version: 4.1p1
Hardware: UltraSPARC Solaris
: P2 normal
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-09 04:55 AEST by Ray McCaffity
Modified: 2006-10-07 11:41 AEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ray McCaffity 2005-07-09 04:55:35 AEST
make[1]: Entering directory `/home/rxmccaf/src/openssh-4.1p1/openbsd-compat'
gcc -g -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I.. -I. -I./..
-I/opt/sfw/openssl -I/opt/sfw/lib  -DHAVE_CONFIG_H -c bsd-arc4random.c
In file included from bsd-arc4random.c:18:
../log.h: In function `fatal':
../log.h:56: warning: empty declaration
../log.h:65: error: parse error before "volatile"
../log.h:65: error: old-style parameter declarations in prototyped function
definition
../log.h:56: error: parameter name omitted
bsd-arc4random.c:20: error: `rcsid' undeclared (first use in this function)
bsd-arc4random.c:20: error: (Each undeclared identifier is reported only once
bsd-arc4random.c:20: error: for each function it appears in.)
bsd-arc4random.c:20: warning: left-hand operand of comma expression has no effect
bsd-arc4random.c:20: error: parse error before '}' token
make[1]: *** [bsd-arc4random.o] Error 1
make[1]: Leaving directory `/home/rxmccaf/src/openssh-4.1p1/openbsd-compat'
make: *** [openbsd-compat/libopenbsd-compat.a] Error 2

./configure --prefix=/opt/sfw --with-
privsep-path=/var/empty --with-privsep-user=sshd --with-ssl-dir=/opt/sfw/openssl
 --with-zlib=/opt/sfw/lib --includedir=/opt/sfw/include --libdir=/opt/sfw/lib --
target=sparc-sun-solaris2.10

gcc -v        
Reading specs from /opt/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.2/specs
Configured with: ../gcc-3.4.2/configure --prefix=/opt/sfw
--with-ld=/usr/ccs/bin/ld --with-gnu-as --with-as=/opt/sfw/bin/gas
--enable-shared --disable-libgcj
Thread model: posix
gcc version 3.4.2
Comment 1 Darren Tucker 2005-07-09 13:52:07 AEST
Quick fix: remove HAVE_CDEFS_H from config.h.  For details see bug #1013.

*** This bug has been marked as a duplicate of 1013 ***
Comment 2 Darren Tucker 2006-10-07 11:41:12 AEST
Change all RESOLVED bug to CLOSED with the exception of the ones fixed post-4.4.