[ofa-general] RE: Good fix for dat_strerror.c NULL undefined problem

Davis, Arlin R arlin.r.davis at intel.com
Fri Aug 29 09:31:26 PDT 2008



>Concerning the problem in package compat-dapl-1.2.8:
>dat/common/dat_strerror.c:621: error: 'NULL' undeclared (first use in
this
>function)
>
>I believe your correction for Fedora 9, namely adding as line 136 of
the
>file
>dat/include/dat/dat_platform_specific.h works this line: #include
><linux/stddef.h>
>
>/* Linux begins */
>#elif defined(__linux__) /* Linux */
>#if defined(__KERNEL__)
>#include <linux/types.h>
>#else
>#include <sys/types.h>
>#include <linux/stddef.h>           <--------------------- line 136
>#endif /* defined(__KERNEL__) */
>
>
>Could you put that into the official version of compat-dapl-1.2.8?
>

The fix is in compat-dapl-1.2.9

>
>
>Any ideas how to fix these subroutines?

I installed fedora 9 on an x86_64 system so I can debug 
the other issues. I will send out patches and release 
new packages soon. Targeting OFED 1.4 rc1.

-arlin




More information about the general mailing list