[PATCH rtems-libbsd v3 2/4] waf: Fix clashing symbols in the user land symbols

Chris Johns chrisj at rtems.org
Wed Jul 28 06:33:40 UTC 2021


On 28/7/21 4:29 pm, Sebastian Huber wrote:
> On 28/07/2021 04:53, chrisj at rtems.org wrote:
>> From: Chris Johns<chrisj at rtems.org>
>>
>> Update #4475
>> ---
>>   libbsd.py | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/libbsd.py b/libbsd.py
>> index 09a1fbc4..2318e470 100644
>> --- a/libbsd.py
>> +++ b/libbsd.py
>> @@ -5019,7 +5019,7 @@ class dhcpcd(builder.Module):
>>                   'dhcpcd/compat/pselect.c',
>>                   'dhcpcd/crypt/hmac_md5.c',
>>               ],
>> -            mm.generator['source']('-D__FreeBSD__ -DTHERE_IS_NO_FORK
>> -DMASTER_ONLY -DINET')
>> +            mm.generator['source']('-D__FreeBSD__ -DTHERE_IS_NO_FORK
>> -DMASTER_ONLY -DINET -Dhmac_md5=_dhcpcd_hmac_md5')
> 
> Can't this be added to:
> 
> dhcpcd/namespace.h

I tried but it did not compile and I do not know the code or what can be done
about this.

I am sorry but I have no time left to look into what is wrong. For someone who
knows this code I am sure it can be fixed after this is pushed and this define
removed.

Chris


More information about the devel mailing list