Traceroute 1.4a12 - Configure Errors & Compile Warnings
Howzit Folks?
I'm trying to install traceroute from source using a Sony VAIO VGN-A140B with
SUSE 10.0 kernel 2.6.13-15-default and gcc (GCC) 4.0.2 20050901 (prerelease)
(SUSE Linux).
When I configure traceroute I get the following errors:
Quote:
configure:1146:24: error: sys/sockio.h: No such file or directory
configure: failed program was:
#line 1145 "configure"
#include "confdefs.h"
#include <sys/sockio.h>
configure:1146:23: error: net/if_dl.h: No such file or directory
configure: failed program was:
#line 1145 "configure"
#include "confdefs.h"
#include <net/if_dl.h>
configure:1146:23: error: inet/mib2.h: No such file or directory
configure: failed program was:
#line 1145 "configure"
#include "confdefs.h"
#include <inet/mib2.h>
/usr/lib/gcc/i586-suse-linux/4.0.2/../../../../i586-suse-linux/bin/ld: cannot
find -lstr
collect2: ld returned 1 exit status
configure: failed program was:
#line 1729 "configure"
#include "confdefs.h"
configure: In function 'main':
configure:1987: error: 'struct sockaddr' has no member named 'sa_len'
configure: failed program was:
#line 1982 "configure"
#include "confdefs.h"
Should these libraries (sys/sockio.h, net/if_dl.h & inet/mib2.h) be present?
When I compile I get the following warnings:
Quote:
./traceroute.c: In function ‘wait_for_reply’:
./traceroute.c:909: warning: pointer targets in passing argument 6 of
‘recvfrom’ differ in signedness
./traceroute.c: At top level:
./traceroute.c:1379: warning: function definition has qualified void return
type
It doesn't look like anything major but I thought I'd enquire anyway.
Any advice appreciated.
Cheers
Bruce