Misleading "Symbol already defined" error
Martin Weinelt
martin at darmstadt.freifunk.net
Tue Feb 4 14:06:00 CET 2020
Thank you, that was quick! :)
Best
Martin
On 2/4/20 10:37 AM, Maria Matějka wrote:
> Hello!
> Fixed in master.
> Maria
>
> On 2/2/20 5:38 PM, Martin Weinelt wrote:
>> Hi,
>>
>> i was debugging this on and off for the last 36 hours and found the error message quite misleading.
>>
>> [root at ganymede:/etc/bird]# cat bird2.conf
>> router id 172.23.42.3;
>> protocol device {
>> scan time 10;
>> };
>> [root at ganymede:/etc/bird]# bird -c bird2.conf -p
>> bird: bird2.conf:1:1 Symbol already defined
>>
>> [root at ganymede:/etc/bird]# bird --version
>> BIRD version 2.0.7
>>
>>
>> But the error is not due to birds config file, it is due to a duplicate entry in /etc/iproute2/rt_tables definitions.
>>
>> [root at ganymede:/etc/bird]# ltrace bird -c bird2.conf -p
>> [...]
>> strcmp("ipt_igpt", "ipt_igpt") = 0
>> strlen("Symbol already defined") = 22
>> [...]
>>
>>
>> Took me quite some time to find this and I would appreciate if the error message could be improved.
>>
>>
>> Best regards,
>>
>> Martin
>
--
Und im übrigen bin ich der Meinung, dass Geräte mit weniger als 8MB
Flash und 64MB RAM zerstört werden müssen.
-- frei nach Marcus Porcious Cato der Ältere
More information about the Bird-users
mailing list