[OpenAFS] Gcc 4.0 compile fails
ted creedon
tcreedon@easystreet.com
Fri, 14 Oct 2005 11:50:09 -0700
Goes back to 1.3.87 at least.
Is there a ./configure switch for gcc to try? Could it be a strict
prototypes issue?
tedc
-----Original Message-----
From: openafs-info-admin@openafs.org [mailto:openafs-info-admin@openafs.org]
On Behalf Of Jeffrey Altman
Sent: Friday, October 14, 2005 11:44 AM
To: ted creedon
Cc: openafs-info@openafs.org
Subject: Re: [OpenAFS] Gcc 4.0 compile fails
the problem is that prototypes for those functions are not being
generated into afsint.h from src/fsint/afsint.xg. Unfortunately, I
don't know why they are not being generated.
Jeffrey Altman
ted creedon wrote:
> Can't get it to compile - no how.
> Any clues?
>
> tedc
>
> -----Original Message-----
> From: openafs-info-admin@openafs.org
> [mailto:openafs-info-admin@openafs.org]
> On Behalf Of ted creedon
> Sent: Monday, October 10, 2005 8:30 AM
> To: openafs-info@openafs.org
> Subject: RE: [OpenAFS] Gcc 4.0 compile fails
>
> 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_se
> rver.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
>>
>
>