Thread (1 message) 1 message, 1 author, 2012-01-27

Re: [Ipsec-tools-devel] ipsec

From: isshed <hidden>
Date: 2012-01-27 11:47:10

FYI...

On 1/27/12, isshed [off-list ref] wrote:
kernel-headers-2.6.23.1-42.fc8.i386.rpm is the rpm I installed but
still i am facinf the same issue. After installation this rpm I can
locate this file /usr/include/linux/pfkeyv2.h.

but the expected location is /usr/include/net/.

Is there any other rpm I need to install?

Thanks.

On 1/25/12, Kimmo Koivisto [off-list ref] wrote:
quoted
Hello

You can manually install rpm-files from the original installation
media, if you have installed your Fedora from physical media and not
from internet.

I'm not using Fedora and thus don't really know the correct rpm file
names. You can locate the nearest download site from
http://mirrors.fedoraproject.org/publiclist/ and then find the correct
kernel-header rpm file.
For example, for Fedora 16 on i386, I could use mirror from
http://www.nic.funet.fi/pub/mirrors/fedora.redhat.com/pub/fedora/linux/releases/16/Fedora/i386/os/Packages/
and I would download kernel and kernel-headers.
Or better way is to download the whole installation media, then you
would have complete set on rpm files to use, you might need some other
rpm files on your way to the top :)

Best Regards,
Kimmo

2012/1/25 isshed [off-list ref]:
quoted
Thanks Kimmo,

Is there any other way because I do not have internet access on this
machine..If i know the package name(rpm).I can get it from internet on
some other machine connected to internet and could install it.

Thanks,

On 1/25/12, Kimmo Koivisto [off-list ref] wrote:
quoted
Hello

I think you should install kernel headers:

yum install kernel-headers

Best Regards,
Kimmo

2012/1/24 isshed [off-list ref]:
quoted
Thanks Stefan!

But my question is how do I get this header file? Is there any
package I need to install on my machine? I am using fedora linux.

Thanks Again!


On 1/24/12, Stefan Bauer [off-list ref] wrote:
quoted
-----Ursprüngliche Nachricht-----
Von:  isshed [off-list ref]
Gesendet:     Di 24.01.2012 10:20
Betreff:      [Ipsec-tools-devel] ipsec
An:   ipsec-tools-devel@lists.sourceforge.net;
quoted
Hi All,

Sorry to bother you but I am sure many of you are implementing the
IPsec. I am very new to this technology. Today I was writing a
simple
program of key management using PF_KEY sockets.Basically I
downloaded
unixnetworkprograming books example from internet. while compiling I
am getting the following error...

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
gcc -I../lib -g -O2 -D_REENTRANT -Wall   -c -o dump.o dump.c
In file included from dump.c:1:
unp.h:122: error: redefinition of âstruct in_pktinfoâ
dump.c:2:25: error: net/pfkeyv2.h: No such file or directory
You simply lack net/pfkeyv2.h

Stefan

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft
developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3,
MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Ipsec-tools-devel mailing list
Ipsec-tools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipsec-tools-devel
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft
developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3,
MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Ipsec-tools-devel mailing list
Ipsec-tools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipsec-tools-devel
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3,
MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Ipsec-tools-devel mailing list
Ipsec-tools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipsec-tools-devel
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Ipsec-tools-devel mailing list
Ipsec-tools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipsec-tools-devel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help