Stuck at compiling wimax network service 1.5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2010-07-25 at 19:16 +0400, Alexey Shvetsov wrote:
> Actualy seems there is a real problem with wimax network service on 64
> bit
> systems. There is output from gentoo automated tests

It wasn't written for Linux 64-bit, not even sure it was written for
Windows 64-bit in mind either.  So we get the task of porting it to
x86-64 and fixing up the problems.

Dan


>  * QA Notice:
> Package
> has poor programming practices which may compile
>  *            fine
> but
> exhibit random runtime failures.
>  * ./Socket.c:191: warning:
> dereferencing
> type-punned pointer will break strict-aliasing rules
>  *
> ./L5Connector.c:847:
> warning: dereferencing type-punned pointer will break
> strict-aliasing rules
> 
> * ./L5Connector.c:853: warning: dereferencing
> type-punned pointer will break
> strict-aliasing rules
> 
> *
> ../../../../InfraStack/OSAgnostic/Common/L5Common/L5CommonUtils.c:150:
> war
> ning: dereferencing type-punned pointer will break strict-aliasing rules
> 
> *
> ../../../../InfraStack/OSAgnostic/Common/L5Common/L5CommonUtils.c:181:
> warni
> ng: dereferencing type-punned pointer will break strict-aliasing
> rules
> 
> *
> ../../../../InfraStack/OSAgnostic/Common/L5Common/IndicatorsSubscri
> bers.c:19
> 7: warning: dereferencing type-punned pointer will break
> strict-aliasing
> rules
> 
> *
> ../../../../InfraStack/OSAgnostic/Common/L5Common/IndicatorsSubscribers.c:
> 19
> 8: warning: dereferencing type-punned pointer will break
> strict-aliasing
> rules
> 
> *
> ../../../../../InfraStack/OSAgnostic/WiMax/Wrappers/Supplicant/wmxSDK_Sup_
> Im
> pl.c:279: warning: dereferencing type-punned pointer will
> break
> strict-aliasing rules
>  * ./Source/SupplicantAgent.c:1518:
> warning:
> dereferencing type-punned pointer will break strict-aliasing rules
> 
> *
> ./Source/SupplicantAgent.c:1570: warning: dereferencing type-punned
> pointer
> will break strict-aliasing rules
>  *
> ./Source/SupplicantAgent.c:1576:
> warning: dereferencing type-punned pointer
> will break strict-aliasing rules
> 
> * ./Source/NDnSAgent_CBs.c:79: warning:
> dereferencing type-punned pointer
> will break strict-aliasing rules
>  *
> ./Source/NDnSAgent_CBs.c:115: warning:
> dereferencing type-punned pointer
> will break strict-aliasing rules
>  *
> ./Source/NDnSAgent_CBs.c:150: warning:
> dereferencing type-punned pointer
> will break strict-aliasing rules
>  *
> ./Source/NDnSAgent_CBs.c:285: warning:
> dereferencing type-punned pointer
> will break strict-aliasing rules
>  *
> ./Source/NDnSAgent.c:573: warning:
> dereferencing type-punned pointer will
> break strict-aliasing rules
>  *
> ./Source/NDnSAgent.c:623: warning:
> dereferencing type-punned pointer will
> break strict-aliasing rules
>  *
> ./Source/NDnSAgent.c:2069: warning:
> dereferencing type-punned pointer will
> break strict-aliasing rules
>  *
> ./Source/NDnSAgent.c:2720: warning:
> dereferencing type-punned pointer will
> break strict-aliasing rules
>  *
> ./Source/NDnSAgent.c:2744: warning:
> dereferencing type-punned pointer will
> break strict-aliasing rules
>  *
> ./Source/NDnSAgent.c:2962: warning:
> dereferencing type-punned pointer will
> break strict-aliasing rules
>  *
> ./Source/NDnSAgent.c:2979: warning:
> dereferencing type-punned pointer will
> break strict-aliasing rules
>  *
> ./Source/NDnSAgent.c:2987: warning:
> dereferencing type-punned pointer will
> break strict-aliasing rules
>  *
> ./Source/NDnSAgent.c:3004: warning:
> dereferencing type-punned pointer will
> break strict-aliasing rules
>  *
> ./Source/NDnSAgent.c:3016: warning:
> dereferencing type-punned pointer will
> break strict-aliasing rules
>  *
> ./Source/NDnSAgent.c:3027: warning:
> dereferencing type-punned pointer will
> break strict-aliasing rules
>  *
> ./Source/NDnS_Coex.c:174: warning:
> dereferencing type-punned pointer will
> break strict-aliasing rules
>  *
> ./APDO/NDnSAgent_APDO_CBs.c:103: warning:
> dereferencing type-punned pointer
> will break strict-aliasing rules
>  *
> ./APDO/NDnSAgent_APDO_CBs.c:210:
> warning: dereferencing type-punned pointer
> will break strict-aliasing rules
> 
> * ./APDO/NDnSAgent_APDO_CBs.c:247:
> warning: dereferencing type-punned
> pointer will break strict-aliasing rules
> 
> * ./APDO/NDnSAgent_APDO_CBs.c:283:
> warning: dereferencing type-punned
> pointer will break strict-aliasing rules
> 
> *
> ./L4Publisher/NDnS_L4Publisher.c:504: warning: dereferencing
> type-punned
> pointer will break strict-aliasing rules
> 
> *
> ./../../Wrappers/Apdo/wmxSDK_Apdo_Impl.c:172: warning:
> dereferencing
> type-punned pointer will break strict-aliasing rules
> 
> *
> ./../../Wrappers/Apdo/wmxSDK_Apdo_Impl.c:1264: warning:
> dereferencing
> type-punned pointer will break strict-aliasing rules
> 
> *
> ./../../Wrappers/NDnS/wmxSDK_Nds_IndHandler.c:484: warning:
> dereferencing
> type-punned pointer will break strict-aliasing rules
> 
> *
> ./../../Wrappers/NDnS/wmxSDK_Nds_IndHandler.c:569: warning:
> dereferencing
> type-punned pointer will break strict-aliasing rules
> 
> *
> ./../../Wrappers/NDnS/wmxSDK_Nds_IndHandler.c:642: warning:
> dereferencing
> type-punned pointer will break strict-aliasing rules
>  *
> ./DnDAgent.c:1116:
> warning: dereferencing type-punned pointer will break
> strict-aliasing rules
> 
> * ./L5SocketsDispatcher.c:533: warning: dereferencing
> type-punned pointer
> will break strict-aliasing rules
> 
> *
> ./../../Common/L5Common/L5CommonUtils.c:150: warning:
> dereferencing
> type-punned pointer will break strict-aliasing rules
> 
> *
> ./../../Common/L5Common/L5CommonUtils.c:181: warning:
> dereferencing
> type-punned pointer will break strict-aliasing rules
> 
> *
> ../../../../InfraStack/OSDependent/Linux/InfraStackModules/KDapi/KDapi.c:6
> 28
> : warning: dereferencing type-punned pointer will break
> strict-aliasing
> rules
>  * ./../NDnS/wmxSDK_Nds_3.c:847: warning:
> dereferencing type-punned
> pointer will break strict-aliasing rules
>  *
> ./../NDnS/wmxSDK_Nds_3.c:1063:
> warning: dereferencing type-punned pointer
> will break strict-aliasing rules
> 
> * ./../NDnS/wmxSDK_Nds_3.c:1125: warning:
> dereferencing type-punned pointer
> will break strict-aliasing rules
>  *
> ./../NDnS/wmxSDK_Nds_3.c:1223: warning:
> dereferencing type-punned pointer
> will break strict-aliasing rules
>  *
> ./../NDnS/wmxSDK_Nds_IndHandler.c:484:
> warning: dereferencing type-punned
> pointer will break strict-aliasing rules
> 
> *
> ./../NDnS/wmxSDK_Nds_IndHandler.c:569: warning: dereferencing
> type-punned
> pointer will break strict-aliasing rules
> 
> *
> ./../NDnS/wmxSDK_Nds_IndHandler.c:642: warning: dereferencing
> type-punned
> pointer will break strict-aliasing rules
> 
> *
> ./../Apdo/wmxSDK_Apdo_Impl.c:172: warning: dereferencing type-punned
> pointer
> will break strict-aliasing rules
>  *
> ./../Apdo/wmxSDK_Apdo_Impl.c:1264:
> warning: dereferencing type-punned
> pointer will break strict-aliasing
> rules
> 
> 
>  * QA Notice: Package has poor
> programming practices which may
> compile
>  *            fine but exhibit
> random runtime failures.
>  *
> ././Services/wimax_osal_services.c:411: warning:
> dereferencing pointer
> ?({anonymous})? does break strict-aliasing rules
> 
> 
>  *
> QA Notice: Package has
> poor programming practices which may compile
>  *      
>      fine but exhibit
> random runtime failures.
>  *
> ././Primitives/wimax_osal_util.c:120: warning:
> implicit declaration of
> function ?SetLastError?
>  *
> ././Primitives/wimax_osal_util.c:132: warning:
> implicit declaration of
> function ?OSAL_trylock_mutex?
>  *
> ././Primitives/wimax_osal_primitives.c:975:
> warning: implicit declaration of
> function ?GetLastError?
>  *
> ././Primitives/wimax_osal_trace.c:241: warning:
> implicit declaration of
> function ?atoi?
>  *
> ././Services/wimax_osal_services.c:411: warning: implicit
> declaration of
> function ?inet_ntoa?
>  *
> ././Services/wimax_osal_crypt_services.c:117:
> warning: implicit declaration
> of function ?OSAL_GetObfuscateConfig?
>  *
> ./Queue.c:107: warning: implicit
> declaration of function ?free?
>  *
> ./List.c:72: warning: implicit declaration
> of function ?free?
> 
> *
> ../../../../InfraStack/OSAgnostic/Common/L5Common/EventSubscribers.c:61:
> w
> arning: implicit declaration of function ?free?
> 
> *
> ../../../../InfraStack/OSAgnostic/Common/CommonServices/VersionHandshake.c
> :8
> 2: warning: implicit declaration of function ?free?
> 
> *
> ../../../../InfraStack/OSAgnostic/Common/L5Common/IndicatorsSubscribers.c:
> 78
> : warning: implicit declaration of function ?free?
> 
> *
> ../../../../InfraStack/OSAgnostic/Common/CommonServices/Messenger.c:114:
> w
> arning: implicit declaration of function ?free?
> 
> *
> ../../../../InfraStack/OSAgnostic/Common/CommonServices/Messenger.c:157:
> w
> arning: implicit declaration of function ?GetLastError?
> 
> *
> ../../../../InfraStack/OSAgnostic/Common/WrappersCommon/WrappersUtils.c:19
> 9:
> warning: implicit declaration of function ?free?
> 
> *
> ../../../../InfraStack/OSDependent/Linux/InfraStackModules/TraceModule/Tra
> ce
> Module.c:312: warning: implicit declaration of function ?OSAL_sprintf?
> 
> *
> ../../../../InfraStack/OSDependent/Linux/InfraStackModules/TraceModule/Tra
> ce
> Module.c:320: warning: implicit declaration of function ?GetLastError?
> 
> *
> ./Source/SupplicantAgent.c:484: warning: implicit declaration of
> function
> ?ResetSupplicantLibrary?
>  * ./Source/SupplicantAgent.c:1186:
> warning:
> implicit declaration of function ?GetLastError?
> 
> *
> ./Source/SupplicantAgent.c:1781: warning: implicit declaration of
> function
> ?Sup_PrintTrace?
>  * ./Source/SupplicantAgent.c:1922: warning:
> implicit
> declaration of function ?wmxNds_SupOpCodeToStr?
> 
> *
> ./Source/NDnSAgent.c:4039: warning: implicit declaration of
> function
> ?log10?
>  * ./../../Wrappers/Apdo/AES_CCM.c:111: warning:
> implicit
> declaration of function ?ceil?
>  *
> ./../../Wrappers/Apdo/AES_CCM.c:173:
> warning: implicit declaration of
> function ?free?
>  *
> ./RemoveExcessFiles.c:131: warning: implicit declaration
> of function
> ?GetLastError?
>  * ./L5Dispatcher.c:125: warning: implicit
> declaration of
> function ?free?
>  * ./L4MsgProxy.c:690: warning: implicit
> declaration of
> function ?free?
> 
> *
> ../../../../InfraStack/OSDependent/Linux/InfraStackModules/KDapi/KDapi.c:9
> 02
> : warning: implicit declaration of
> function
> ?Populate_PreInitConfigurationStruct?
> 
> *
> ../../../../InfraStack/OSDependent/Linux/InfraStackModules/KDapi/KDapi.c:9
> 26
> : warning: implicit declaration of function ?GetL4Opcode?
> 
> *
> ../../../../InfraStack/OSDependent/Linux/InfraStackModules/Skeletons/AppSr
> v/
> GenericConsole.c:118: warning: implicit declaration of
> function
> ?OSAL_sprintf?
> 
> *
> ../../../../InfraStack/OSDependent/Linux/InfraStackModules/Skeletons/AppSr
> v/
> GenericConsole.c:287: warning: implicit declaration of
> function
> ?NDnSAgent_ApdoLinkStatus?../../../../InfraStack/OSDependent/Linux/
> InfraStac
> kModules/Skeletons/AppSrv/GenericDaemon.c:196: warning: type
> defaults to
> ?int? in declaration of ?no_of_signals?
> 
> *
> ../../../../InfraStack/OSDependent/Linux/InfraStackModules/Skeletons/AppSr
> v/
> GenericDaemon.c:202: warning: implicit declaration of
> function
> ?print_callstack_to_file?
>  * ./../CommonAPI/wimaxapi.c:1046:
> warning:
> implicit declaration of function ?GetLastError?
>  *
> ./../Apdo/AES_CCM.c:111:
> warning: implicit declaration of function ?ceil?
>  *
> ./../Apdo/AES_CCM.c:173:
> warning: implicit declaration of function ?free?
>  *
> ./wimaxcu_cmdhdlr.c:534:
> warning: implicit declaration of function
> ?wimaxcu_get_version_info?
>  *
> ./wimaxcu_cmdhdlr.c:582: warning: implicit
> declaration of function
> ?wimaxcu_stop_scan?
>  * wimax_monitor.c:47: warning:
> implicit declaration of
> function ?PRINT_LINE?
>  * wimax_monitor.c:79:
> warning: implicit declaration
> of function ?wmxNds_Init?
>  *
> wimax_monitor.c:84: warning: implicit
> declaration of function
> ?wmxNds_Finalize?
>  * wimax_monitor.c:215: warning:
> implicit declaration of
> function ?PRINT_OUTPUT?
> 
> 
>  * QA Notice: Package has
> poor programming
> practices which may compile
>  *            fine but exhibit
> random runtime
> failures.
>  * ./Queue.c:107: warning: incompatible implicit
> declaration of
> built-in function ?free?
>  * ./Queue.c:188: warning:
> incompatible implicit
> declaration of built-in function ?free?
>  *
> ./Queue.c:283: warning:
> incompatible implicit declaration of built-in
> function ?free?
>  *
> ./List.c:72: warning: incompatible implicit declaration
> of built-in function
> ?free?
>  * ./List.c:95: warning: incompatible implicit
> declaration of
> built-in function ?free?
>  * ./List.c:167: warning:
> incompatible implicit
> declaration of built-in function ?free?
> 
> *
> ../../../../InfraStack/OSAgnostic/Common/L5Common/EventSubscribers.c:61:
> w
> arning: incompatible implicit declaration of built-in function ?free?
> 
> *
> ../../../../InfraStack/OSAgnostic/Common/L5Common/EventSubscribers.c:70:
> w
> arning: incompatible implicit declaration of built-in function ?free?
> 
> *
> ../../../../InfraStack/OSAgnostic/Common/CommonServices/VersionHandshake.c
> :8
> 2: warning: incompatible implicit declaration of built-in function ?free?
> 
> *
> ../../../../InfraStack/OSAgnostic/Common/L5Common/IndicatorsSubscribers.c:
> 78
> : warning: incompatible implicit declaration of built-in function ?free?
> 
> *
> ../../../../InfraStack/OSAgnostic/Common/L5Common/IndicatorsSubscribers.c:
> 87
> : warning: incompatible implicit declaration of built-in function ?free?
> 
> *
> ../../../../InfraStack/OSAgnostic/Common/CommonServices/Messenger.c:114:
> w
> arning: incompatible implicit declaration of built-in function ?free?
> 
> *
> ../../../../InfraStack/OSAgnostic/Common/CommonServices/Messenger.c:117:
> w
> arning: incompatible implicit declaration of built-in function ?free?
> 
> *
> ../../../../InfraStack/OSAgnostic/Common/CommonServices/Messenger.c:358:
> w
> arning: incompatible implicit declaration of built-in function ?free?
> 
> *
> ../../../../InfraStack/OSAgnostic/Common/CommonServices/Messenger.c:385:
> w
> arning: incompatible implicit declaration of built-in function ?free?
> 
> *
> ../../../../InfraStack/OSAgnostic/Common/CommonServices/Messenger.c:392:
> w
> arning: incompatible implicit declaration of built-in function ?free?
> 
> *
> ../../../../InfraStack/OSAgnostic/Common/CommonServices/Messenger.c:475:
> w
> arning: incompatible implicit declaration of built-in function ?free?
> 
> *
> ../../../../InfraStack/OSAgnostic/Common/CommonServices/Messenger.c:478:
> w
> arning: incompatible implicit declaration of built-in function ?free?
> 
> *
> ../../../../InfraStack/OSAgnostic/Common/WrappersCommon/WrappersUtils.c:19
> 9:
> warning: incompatible implicit declaration of built-in function ?free?
> 
> *
> ../../../../InfraStack/OSAgnostic/Common/WrappersCommon/WrappersUtils.c:21
> 2:
> warning: incompatible implicit declaration of built-in function ?free?
> 
> *
> ../../../../InfraStack/OSAgnostic/Common/WrappersCommon/WrappersUtils.c:22
> 2:
> warning: incompatible implicit declaration of built-in function ?free?
> 
> *
> ./Source/NDnSAgent.c:4039: warning: incompatible implicit declaration
> of
> built-in function ?log10?
>  * ./../../Wrappers/Apdo/AES_CCM.c:111:
> warning:
> incompatible implicit declaration of built-in function ?ceil?
> 
> *
> ./../../Wrappers/Apdo/AES_CCM.c:173: warning: incompatible
> implicit
> declaration of built-in function ?free?
> 
> *
> ./../../Wrappers/Apdo/AES_CCM.c:216: warning: incompatible
> implicit
> declaration of built-in function ?ceil?
> 
> *
> ./../../Wrappers/Apdo/AES_CCM.c:283: warning: incompatible
> implicit
> declaration of built-in function ?free?
> 
> *
> ./../../Wrappers/Apdo/AES_CCM.c:340: warning: incompatible
> implicit
> declaration of built-in function ?ceil?
> 
> *
> ./../../Wrappers/Apdo/AES_CCM.c:362: warning: incompatible
> implicit
> declaration of built-in function ?free?
>  * ./L5Dispatcher.c:125:
> warning:
> incompatible implicit declaration of built-in function ?free?
> 
> *
> ./L4MsgProxy.c:690: warning: incompatible implicit declaration of
> built-in
> function ?free?
>  * ./L5Dispatcher.c:150: warning: incompatible
> implicit
> declaration of built-in function ?free?
>  * ./L5Dispatcher.c:381:
> warning:
> incompatible implicit declaration of built-in function ?free?
> 
> *
> ./../Apdo/AES_CCM.c:111: warning: incompatible implicit declaration
> of
> built-in function ?ceil?
>  * ./../Apdo/AES_CCM.c:173: warning:
> incompatible
> implicit declaration of built-in function ?free?
>  *
> ./../Apdo/AES_CCM.c:216:
> warning: incompatible implicit declaration of
> built-in function ?ceil?
>  *
> ./../Apdo/AES_CCM.c:283: warning: incompatible
> implicit declaration of
> built-in function ?free?
>  * ./../Apdo/AES_CCM.c:340:
> warning: incompatible
> implicit declaration of built-in function ?ceil?
>  *
> ./../Apdo/AES_CCM.c:362:
> warning: incompatible implicit declaration of
> built-in function ?free?
> 
> 
>  *
> QA Notice: Package has poor programming
> practices which may compile
>  *      
>      fine but exhibit random runtime
> failures.
>  *
> ./Source/SupplicantAgent.c:2359: warning: left-hand operand of
> comma
> expression has no effect
> 
> 
>  * QA Notice: Package has poor
> programming
> practices which may compile
>  *            fine but exhibit
> random runtime
> failures.
> 
> *
> ../../../../InfraStack/OSDependent/Linux/InfraStackModules/Skeletons/AppSr
> v/
> GenericConsole.c:124: warning: too few arguments for format
> 
>  * 
>  *
> QA
> Notice: Package has poor programming practices which may compile
>  *      
>   
>   but will almost certainly crash on 64bit architectures.
>  * 
>  *
> Function
> `inet_ntoa' implicitly converted to pointer
> at
> ././Services/wimax_osal_services.c:411
>  * Function `GetL4Opcode'
> implicitly
> converted to pointer
> at
> ../../../../InfraStack/OSDependent/Linux/InfraStackModules/KDapi/KDapi.c:
> 926
> 
> 
> _______________________________________________
> wimax mailing list
> wimax at linuxwimax.org
> http://lists.linuxwimax.org/listinfo/wimax




[Index of Archives]     [Linux Kernel]     [Linux Wireless]     [Linux Bluetooth]     [Linux Netdev]     [Linux Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux