[OpenAFS] Gcc 4.0 compile fails

ted creedon tcreedon@easystreet.com
Sun, 9 Oct 2005 07:53:18 -0700


This is a multi-part message in MIME format.

------=_NextPart_000_01CA_01C5CCA6.83535080
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

SuSE 10.0 includes gcc 4.0.2 and the following error is observed for 1.4.
RC6:



/data/openafs-1.4.0-rc6/src/libafs/MODLOAD-2.6.13-15-smp-ted-MP/afs_server.c
: In function 'afs_CheckServers':
 
/data/openafs-1.4.0-rc6/src/libafs/MODLOAD-2.6.13-15-smp-ted-MP/afs_server.c
:603: error: implicit declaration of function 'StartRXAFS_GetTime'
 
/data/openafs-1.4.0-rc6/src/libafs/MODLOAD-2.6.13-15-smp-ted-MP/afs_server.c
:603: error: implicit declaration of function 'EndRXAFS_GetTime'
    make[6]: ***
[/data/openafs-1.4.0-rc6/src/libafs/MODLOAD-2.6.13-15-smp-ted-MP/afs_server.
o] Error 1
    make[5]: ***
[_module_/data/openafs-1.4.0-rc6/src/libafs/MODLOAD-2.6.13-15-smp-ted-MP]
Error 2
    make[4]: *** [libafs.ko] Error 2
    make[3]: *** [linux_compdirs] Error 2
    make[2]: *** [libafs] Error 2
    make[1]: *** [build] Error 2
make: *** [all] Error 2


It compiles fine with gcc3.x.
Thanks.
tedc

------=_NextPart_000_01CA_01C5CCA6.83535080
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.5.7036.0">
<TITLE>Gcc 4.0 compile fails</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=3D2 FACE=3D"Arial">SuSE 10.0 includes gcc 4.0.2 and the =
following error is observed for 1.4. RC6:</FONT>
</P>
<BR>
<BR>

<P><FONT SIZE=3D2 =
FACE=3D"Arial">/data/openafs-1.4.0-rc6/src/libafs/MODLOAD-2.6.13-15-smp-t=
ed-MP/afs_server.c: In function 'afs_CheckServers':</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">&nbsp;&nbsp;&nbsp; =
/data/openafs-1.4.0-rc6/src/libafs/MODLOAD-2.6.13-15-smp-ted-MP/afs_serve=
r.c:603: error: implicit declaration of function =
'StartRXAFS_GetTime'</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">&nbsp;&nbsp;&nbsp; =
/data/openafs-1.4.0-rc6/src/libafs/MODLOAD-2.6.13-15-smp-ted-MP/afs_serve=
r.c:603: error: implicit declaration of function =
'EndRXAFS_GetTime'</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">&nbsp;&nbsp;&nbsp; make[6]: *** =
[/data/openafs-1.4.0-rc6/src/libafs/MODLOAD-2.6.13-15-smp-ted-MP/afs_serv=
er.o] Error 1</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">&nbsp;&nbsp;&nbsp; make[5]: *** =
[_module_/data/openafs-1.4.0-rc6/src/libafs/MODLOAD-2.6.13-15-smp-ted-MP]=
 Error 2</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">&nbsp;&nbsp;&nbsp; make[4]: *** =
[libafs.ko] Error 2</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">&nbsp;&nbsp;&nbsp; make[3]: *** =
[linux_compdirs] Error 2</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">&nbsp;&nbsp;&nbsp; make[2]: *** =
[libafs] Error 2</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">&nbsp;&nbsp;&nbsp; make[1]: *** =
[build] Error 2</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">make: *** [all] Error 2</FONT>
</P>
<BR>

<P><FONT SIZE=3D2 FACE=3D"Arial">It compiles fine with gcc3.x.</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">Thanks.</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">tedc</FONT>
</P>

</BODY>
</HTML>
------=_NextPart_000_01CA_01C5CCA6.83535080--