Re: inet6_rth functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux