Find the answer to your Linux question:
Results 1 to 3 of 3
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2004
    Posts
    3

    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:

    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:

    ./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

  2. #2
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    Do you have all of the libc headers installed? These are sometimes found in another package called linux-libc-headers

  3. #3
    Just Joined!
    Join Date
    Sep 2004
    Posts
    3
    The only libc packages I can find are glibc* & klibc* all of which are installed, no linux-libc-headers.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •