Subject: Calling rtalloc() from user program
To: None <current-users@netbsd.org>
From: Sourath Roy <sourath@gmail.com>
List: current-users
Date: 03/23/2007 16:18:56
------=_Part_242970_33394471.1174646936068
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi All,
I am using NetBSD 3.0.1 and I was trying to call function rtalloc/rtfree
from my program to retrieve route information for a destination address.
Currently I am unable to link the program, it doesn't find rtalloc() and
rtfree().
(throws error: undefined reference to `rtalloc')
I tried searching over the internet whether they are a part of any shared
library and I need to point to that during the link.
But so far I couldn't find something worth noting.

Can these functions be accessed from user programs? If yes, then please let
me know how.

Thanks in advance!
-- Sourath

------=_Part_242970_33394471.1174646936068
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi All,<br>
I am using NetBSD 3.0.1 and I was trying to call function
rtalloc/rtfree from my program to retrieve route information for a
destination address.<br>
Currently I am unable to link the program, it doesn&#39;t find rtalloc() and rtfree(). <br>
(throws error: undefined reference to `rtalloc&#39;)<br>
I tried searching over the internet whether they are a part of any shared library and I need to point to that during the link. <br>
But so far I couldn&#39;t find something worth noting.<br>
<br>
Can these functions be accessed from user programs? If yes, then please let me know how.<br>
<br>
Thanks in advance!<br>
-- Sourath<br>

------=_Part_242970_33394471.1174646936068--