Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Jul 2007 15:51:12 +0800
From:      Ganbold <ganbold@micom.mng.net>
To:        "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>
Subject:   today's buildworld breaks
Message-ID:  <4691E8F0.8080005@micom.mng.net>

next in thread | raw e-mail | index | archive | help
Hi,

I'm trying to update my machine, however buildworld fails with following 
error:

...
ln -fs /usr/obj/usr/src/tmp/lib/libkvm.so.4  
/usr/obj/usr/src/tmp/usr/lib/libkvm.so
sh /usr/src/tools/install.sh -C -o root -g wheel -m 444  
/usr/src/lib/libkvm/kvm.h /usr/obj/usr/src/tmp/usr/include
===> lib/libmd (obj,depend,all,install)
(echo '#define LENGTH 16';  sed -e 's/mdX/md2/g' -e 's/MDX/MD2/g' 
/usr/src/lib/libmd/mdXhl.c) > md2hl.c
(echo '#define LENGTH 16';  sed -e 's/mdX/md4/g' -e 's/MDX/MD4/g' 
/usr/src/lib/libmd/mdXhl.c) > md4hl.c
(echo '#define LENGTH 16';  sed -e 's/mdX/md5/g' -e 's/MDX/MD5/g' 
/usr/src/lib/libmd/mdXhl.c) > md5hl.c
(echo '#define LENGTH 20';  sed -e 's/mdX/ripemd/g' -e 
's/MDX/RIPEMD160_/g'  -e 's/RIPEMD160__/RIPEMD160_/g'  
/usr/src/lib/libmd/mdXhl.c) > rmd160hl.c
(echo '#define LENGTH 20';  sed -e 's/mdX/sha/g' -e 's/MDX/SHA_/g' -e 
's/SHA__/SHA_/g'  /usr/src/lib/libmd/mdXhl.c) > sha0hl.c
(echo '#define LENGTH 20';  sed -e 's/mdX/sha/g' -e 's/MDX/SHA1_/g' -e 
's/SHA1__/SHA1_/g'  /usr/src/lib/libmd/mdXhl.c) > sha1hl.c
(echo '#define LENGTH 32';  sed -e 's/mdX/sha256/g' -e 
's/MDX/SHA256_/g'         -e  's/SHA256__/SHA256_/g'  
/usr/src/lib/libmd/mdXhl.c) > sha256hl.c
rm -f .depend
mkdep -f .depend -a    -I/usr/src/lib/libmd -DSHA1_ASM -DELF 
-DRMD160_ASM -DELF /usr/src/lib/libmd/md2c.c /usr/src/lib/libmd/md4c.c 
/usr/src/lib/libmd/md5c.c md2hl.c md4hl.c md5hl.c 
/usr/src/lib/libmd/rmd160c.c rmd160hl.c /usr/src/lib/libmd/sha0c.c 
sha0hl.c /usr/src/lib/libmd/sha1c.c sha1hl.c 
/usr/src/lib/libmd/sha256c.c sha256hl.c /usr/src/lib/libmd/i386/sha.S 
/usr/src/lib/libmd/i386/rmd160.S
cc -O1 -pipe  -I/usr/src/lib/libmd -DSHA1_ASM -DELF -DRMD160_ASM -DELF  
-c /usr/src/lib/libmd/md2c.c
cc -O1 -pipe  -I/usr/src/lib/libmd -DSHA1_ASM -DELF -DRMD160_ASM -DELF  
-c /usr/src/lib/libmd/md4c.c
cc -O1 -pipe  -I/usr/src/lib/libmd -DSHA1_ASM -DELF -DRMD160_ASM -DELF  
-c /usr/src/lib/libmd/md5c.c
cc -O1 -pipe  -I/usr/src/lib/libmd -DSHA1_ASM -DELF -DRMD160_ASM -DELF  
-c md2hl.c
md2hl.c:25: error: expected ')' before '*' token
md2hl.c: In function 'md2File':
md2hl.c:47: warning: return makes pointer from integer without a cast
md2hl.c: At top level:
md2hl.c:52: error: conflicting types for 'md2FileChunk'
md2hl.c:47: error: previous implicit declaration of 'md2FileChunk' was here
md2hl.c: In function 'md2FileChunk':
md2hl.c:54: error: 'md2_CTX' undeclared (first use in this function)
md2hl.c:54: error: (Each undeclared identifier is reported only once
md2hl.c:54: error: for each function it appears in.)
md2hl.c:54: error: expected ';' before 'ctx'
md2hl.c:59: error: 'ctx' undeclared (first use in this function)
md2hl.c:88: warning: return makes pointer from integer without a cast
md2hl.c: In function 'md2Data':
md2hl.c:94: error: 'md2_CTX' undeclared (first use in this function)
md2hl.c:94: error: expected ';' before 'ctx'
md2hl.c:96: error: 'ctx' undeclared (first use in this function)
md2hl.c:98: warning: return makes pointer from integer without a cast
*** Error code 1

Stop in /usr/src/lib/libmd.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
devil#

How to fix this problem?

thanks,

Ganbold


-- 
Delusions are often functional. A mother's opinions about her children's 
beauty, intelligence, goodness, et cetera ad nauseam, keep her from 
drowning them at birth.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4691E8F0.8080005>