[OpenAFS] Gcc 4.0 compile fails

Derek Atkins warlord@MIT.EDU
Mon, 10 Oct 2005 11:57:04 -0400


Not for me.  The 1.4.0-rc5 RPMs built just fine on FC4..  It would have blown
out if the build failed...

-derek

Quoting ted creedon <tcreedon@easystreet.com>:

> FC4 rc4 has the same error with gcc-4.0.0
> tedc
>
>>> Odd, because FC4 uses gcc-4.0.0 and the RPMs for rc5 built just fine..
>>> I dont think anything really changed between rc5 and rc6 in terms of the
> Linux Client...
>
> -derek
>
> "ted creedon" <tcreedon@easystreet.com> writes:
>
>> 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
>>
>
> --
>       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
>       Member, MIT Student Information Processing Board  (SIPB)
>       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
>       warlord@MIT.EDU                        PGP key available
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info
>
>
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info
>



-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available