Subject: Build Failed on i386 in /libc/hash/rmd160/rmd160.c
To: None <current-users@NetBSD.org>
From: Sumantra Kundu <sumantra@gmail.com>
List: current-users
Date: 04/16/2007 01:02:12
------=_Part_41666_27361071.1176703332432
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
I was upgrading the kernel source from 3.1 to 4.0.
Downloaded code from: NetBSD-daily/netbsd-4/200704130002Z on an i386
architecture.
Ran into the following errors:
./build.sh -O ../obj -T ../tools -U -u tools
<error>
cc -O -I. -I./include -I/usr/src/tools/compat -DHAVE_NBTOOL_CONFIG_H=1
-D_FILE_OFFSET_BITS=64 -D__DBINTERFACE_PRIVATE -c -o rmd160.lo.o
/usr/src/lib/libc/hash/rmd160/rmd160.c
In file included from /usr/src/lib/libc/hash/rmd160/rmd160.c:39:
/usr/src/tools/compat/crypto/rmd160.h:5:47:
../../sys/crypto/ripemd160/rmd160.h: No such file or directory
/usr/src/lib/libc/hash/rmd160/rmd160.c:106: error: parse error before '*'
token
/usr/src/lib/libc/hash/rmd160/rmd160.c: In function `RMD160Init':
/usr/src/lib/libc/hash/rmd160/rmd160.c:108: error: `ctx' undeclared (first
use in this function)
/usr/src/lib/libc/hash/rmd160/rmd160.c:108: error: (Each undeclared
identifier is reported only once
/usr/src/lib/libc/hash/rmd160/rmd160.c:108: error: for each function it
appears in.)
/usr/src/lib/libc/hash/rmd160/rmd160.c: At top level:
/usr/src/lib/libc/hash/rmd160/rmd160.c:117: error: parse error before '*'
token
/usr/src/lib/libc/hash/rmd160/rmd160.c: In function `RMD160Update':
/usr/src/lib/libc/hash/rmd160/rmd160.c:121: error: `ctx' undeclared (first
use in this function)
/usr/src/lib/libc/hash/rmd160/rmd160.c:123: error: `len' undeclared (first
use in this function)
/usr/src/lib/libc/hash/rmd160/rmd160.c:128: error: `input' undeclared (first
use in this function)
/usr/src/lib/libc/hash/rmd160/rmd160.c: At top level:
/usr/src/lib/libc/hash/rmd160/rmd160.c:144: error: parse error before
"RMD160_CTX"
/usr/src/lib/libc/hash/rmd160/rmd160.c: In function `RMD160Final':
/usr/src/lib/libc/hash/rmd160/rmd160.c:150: error: `ctx' undeclared (first
use in this function)
/usr/src/lib/libc/hash/rmd160/rmd160.c:162: error: `digest' undeclared
(first use in this function)
/usr/src/lib/libc/hash/rmd160/rmd160.c: At top level:
/usr/src/lib/libc/hash/rmd160/rmd160.c:171: warning: type mismatch with
previous implicit declaration
/usr/src/lib/libc/hash/rmd160/rmd160.c:135: warning: previous implicit
declaration of `RMD160Transform'
/usr/src/lib/libc/hash/rmd160/rmd160.c:171: warning: `RMD160Transform' was
previously implicitly declared to return `int'
*** Failed target: rmd160.lo
*** Failed command: cc -O -I. -I./include -I/usr/src/tools/compat
-DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D__DBINTERFACE_PRIVATE -c
-o rmd160.lo.o /usr/src/lib/libc/hash/rmd160/rmd160.c
*** Error code 1
</error>
------=_Part_41666_27361071.1176703332432
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
<font face="Verdana" size="2"><br>I was upgrading the kernel source from 3.1 to 4.0. <br>Downloaded code from: </font>NetBSD-daily/netbsd-4/200704130002Z on an i386 architecture. <br>Ran into the following errors:<br><font face="Verdana" size="2">
./build.sh -O ../obj -T ../tools -U -u tools <br><error><br>cc -O -I. -I./include
-I/usr/src/tools/compat -DHAVE_NBTOOL_CONFIG_H=1
-D_FILE_OFFSET_BITS=64 -D__DBINTERFACE_PRIVATE -c -o rmd160.lo.o
/usr/src/lib/libc/hash/rmd160/rmd160.c<br>In file included from /usr/src/lib/libc/hash/rmd160/rmd160.c:39:<br>/usr/src/tools/compat/crypto/rmd160.h:5:47: ../../sys/crypto/ripemd160/rmd160.h: No such file or directory<br>
/usr/src/lib/libc/hash/rmd160/rmd160.c:106: error: parse error before '*' token<br>/usr/src/lib/libc/hash/rmd160/rmd160.c: In function `RMD160Init':<br>/usr/src/lib/libc/hash/rmd160/rmd160.c:108: error: `ctx' undeclared (first use in this function)
<br>/usr/src/lib/libc/hash/rmd160/rmd160.c:108: error: (Each undeclared identifier is reported only once<br>/usr/src/lib/libc/hash/rmd160/rmd160.c:108: error: for each function it appears in.)<br>/usr/src/lib/libc/hash/rmd160/rmd160.c: At top level:
<br>/usr/src/lib/libc/hash/rmd160/rmd160.c:117: error: parse error before '*' token<br>/usr/src/lib/libc/hash/rmd160/rmd160.c: In function `RMD160Update':<br>/usr/src/lib/libc/hash/rmd160/rmd160.c:121: error: `ctx' undeclared (first use in this function)
<br>/usr/src/lib/libc/hash/rmd160/rmd160.c:123: error: `len' undeclared (first use in this function)<br>/usr/src/lib/libc/hash/rmd160/rmd160.c:128: error: `input' undeclared (first use in this function)<br>/usr/src/lib/libc/hash/rmd160/rmd160.c: At top level:
<br>/usr/src/lib/libc/hash/rmd160/rmd160.c:144: error: parse error before "RMD160_CTX"<br>/usr/src/lib/libc/hash/rmd160/rmd160.c: In function `RMD160Final':<br>/usr/src/lib/libc/hash/rmd160/rmd160.c:150: error: `ctx' undeclared (first use in this function)
<br>/usr/src/lib/libc/hash/rmd160/rmd160.c:162: error: `digest' undeclared (first use in this function)<br>/usr/src/lib/libc/hash/rmd160/rmd160.c: At top level:<br>/usr/src/lib/libc/hash/rmd160/rmd160.c:171: warning: type mismatch with previous implicit declaration
<br>/usr/src/lib/libc/hash/rmd160/rmd160.c:135: warning: previous implicit declaration of `RMD160Transform'<br>/usr/src/lib/libc/hash/rmd160/rmd160.c:171: warning: `RMD160Transform' was previously implicitly declared to return `int'
<br><br>*** Failed target: rmd160.lo<br>***
Failed command: cc -O -I. -I./include -I/usr/src/tools/compat
-DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D__DBINTERFACE_PRIVATE
-c -o rmd160.lo.o /usr/src/lib/libc/hash/rmd160/rmd160.c<br>*** Error code 1<br><br></error><br></font>
------=_Part_41666_27361071.1176703332432--