Re: inet6_rth functions



On Fri, 2007-09-28 at 23:14 +0100, Stefan Schulze Frielinghaus wrote:
Hi,

I'm trying to port a tool from solaris 10 to Fedora 7. While running gcc
I get some strange errors. Example app:

include <netinet/in.h>

int main() {
const int segments = 100;
inet6_rth_space(IPV6_RTHDR_TYPE_0, segments);

return 0;
}

While running gcc the following output is created:

$ gcc -Wall -o test test.c
test.c: In function ‘main’:
test.c:5: warning: implicit declaration of function ‘inet6_rth_space’

Under solaris it compiles just fine. Does someone know whats wrong?

cheers,
Stefan

Hi, Stefan,
For some reason, the definition of inet6_rth_space is not being found.
My initial guess would be that the headerfile you have called for is not
existent, or is called by another name in Fedora.

Try checking man for the function name to see what header is required.
Or worst case you may find that this function doesn't exist in the
standard development libraries and you have to yum some different
library and header to get it.

Hope this helps.
Regards,
Les H

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • inet6_rth functions
    ... I'm trying to port a tool from solaris 10 to Fedora 7. ... int main{ ... While running gcc the following output is created: ...
    (Fedora)
  • Intro to services
    ... I have a lot of Windows experience, and some Solaris. ... I installed the server version of Fedora. ... But I noticed they dont start at boot. ...
    (Fedora)
  • Re: Models for nmos4 & pmos4, and finding files with specific contents
    ... any clue about the location of "default" models nmos4 and pmos4 ... It works perfectly in Solaris, (I have not tested it in Fedora). ... the installation is considered successful. ...
    (comp.cad.cadence)
  • Re: Booting FC5 from Solaris 10 GRUB
    ... Fedora core5. ... After installing the solaris 10 i could not find the ... I think the installtion overwrites the fedora grub menu. ...
    (comp.sys.sun.admin)
  • RE: Fedora 7, Xen and Solaris
    ... I have Fedora 7 and Xen 3.1.0 installed. ... I tried to install a Solaris 10 virtual machine and that fails; the vm reboots fairly soon, and tries to boot from the harddrive image and reports that it's not bootable. ...
    (Fedora)