On 11/28/2013 04:01 PM, [email protected] wrote:
> Hi!
>>>> cleanup the confstr01.c test case.
>>>>
>>>
>>> I've changed the succes message to include the confstr value as:
>>>
>>>                                   } else {
>>> -                                       tst_resm(TPASS, "confstr %s 
>>> success",
>>> -                                                test_cases[i].name);
>>> +                                       tst_resm(TPASS, "confstr %s = '%s'",
>>> +                                                test_cases[i].name, buf);
>>>                                   }
>>>                                   free(buf);
>>>
>>> And pushed both patches, thanks.
>>>
>>
>> Hi,
>>
>> since this change I am seeing the following build problem on a uClibc
>> based system
>>
>> confstr01.c:50: error: '_CS_XBS5_ILP32_OFF32_CFLAGS' undeclared here
>> (not in a function)
>> confstr01.c:51: error: '_CS_XBS5_ILP32_OFF32_LDFLAGS' undeclared here
>> (not in a function)
>> confstr01.c:52: error: '_CS_XBS5_ILP32_OFF32_LIBS' undeclared here (not
>> in a function)
>> confstr01.c:53: error: '_CS_XBS5_ILP32_OFF32_LINTFLAGS' undeclared here
>> (not in a function)
>> ...
>>
>> Reverting the recent changes in confstr01.c file seems to "fix" the problem.
>
> Hmm, I looked closely at the changes and that may be the missing 
> _XOPEN_SOURCE.
>
> Does it work after adding:
>
> #define _XOPEN_SOURCE 500
>
> before headers are included?
>

Hello,

Yep, that works fine. Thanks!

-- 
markos


------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to