On Jun 21, 2005, at 05:24, Matthew Flanagan wrote:
ifconf.c:471: error: 'SIOCADDRT' undeclared (first use in this
function)
(CC'ing fink-devel)
Okay, so the problem here is that we don't actually support ioctl
(...SIOCADDRT...) as a way to manipulate the routing tables. This
isn't a new thing on Tiger, either, it didn't actually work on
Panther or any other version of MacOS X.
There are two things you could do about it. One is to not even try
to manipulate the routing tables. The program's attempts to do so
have never been working and nobody's noticed, so maybe it doesn't
really need to be doing that. The other way is to use the routing
socket API, as documented in the route(4) manpage ("man 4 route").
If you need an example of the routing socket stuff, you can look at
the source to our route command:
<http://darwinsource.opendarwin.org/10.4.1/network_cmds-245/
route.tproj/route.c>
Let me know if you have any other questions.
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Fink-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-devel