[Ocfs2-test-devel] [PATCH 13/59] aio-stress: fix aio-stress Makefile to link pthread explicitly.

Junxiao Bi junxiao.bi at oracle.com
Wed Sep 16 00:30:19 PDT 2015


On 09/14/2015 03:22 PM, Zhen Ren wrote:
> Hi Junxiao,
> 
> This problem has been fixed by patch from Goldwyn witch I sent just previously.
Yes. patch "Use pkg-config to determine linking flags for libocfs2" fix
it, will use it to replace this one.

Thanks,
Junxiao.
> 
>  >>>
>> From: Jeff Liu <jeff.liu at oracle.com> 
>>  
>> Signed-off-by: Jie Liu <jeff.liu at oracle.com> 
>> Signed-off-by: Junxiao Bi <junxiao.bi at oracle.com> 
>> --- 
>>  programs/aio-stress/Makefile |    2 +- 
>>  1 file changed, 1 insertion(+), 1 deletion(-) 
>>  
>> diff --git a/programs/aio-stress/Makefile b/programs/aio-stress/Makefile 
>> index 9d179e2..5e10e18 100644 
>> --- a/programs/aio-stress/Makefile 
>> +++ b/programs/aio-stress/Makefile 
>> @@ -14,6 +14,6 @@ OBJECTS = $(patsubst %.c,%.o,$(SOURCES)) 
>>  DIST_FILES = $(SOURCES) 
>>     
>>  aio-stress: $(OBJECTS) 
>> -	$(LINK) -laio 
>> +	$(LINK) -laio -lpthread 
>>   
>>  include $(TOPDIR)/Postamble.make 
>  
> 
> 
> 
> --
> Eric, Ren
> 
> 
> 




More information about the Ocfs2-test-devel mailing list