Mailing List Archive

[Bug 1062] error: parse error before "volatile"
http://bugzilla.mindrot.org/show_bug.cgi?id=1062

Summary: error: parse error before "volatile"
Product: Portable OpenSSH
Version: 4.1p1
Platform: UltraSparc
OS/Version: Solaris
Status: NEW
Severity: normal
Priority: P2
Component: Build system
AssignedTo: bitbucket@mindrot.org
ReportedBy: ray.mccaffity@usbank.com


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



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 1062] error: parse error before "volatile" [ In reply to ]
http://bugzilla.mindrot.org/show_bug.cgi?id=1062


dtucker@zip.com.au changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE




------- Additional Comments From dtucker@zip.com.au 2005-07-09 13:52 -------
Quick fix: remove HAVE_CDEFS_H from config.h. For details see bug #1013.

*** This bug has been marked as a duplicate of 1013 ***



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.