* [ptxdist] OPENSWAN IPSEC Configuration
@ 2015-07-29 8:03 Hardik A Gohil
0 siblings, 0 replies; 6+ messages in thread
From: Hardik A Gohil @ 2015-07-29 8:03 UTC (permalink / raw)
To: ptxdist
[-- Attachment #1.1: Type: text/plain, Size: 3142 bytes --]
Hello,
I am working on Linux-phycore-AM335x-kit.
I trying to add OPENSWAN package into development.I have referred the
following to configure ptxdist.
https://www.mail-archive.com/ptxdist@pengutronix.de/msg06140.html
I am facing the following error after ptxdist.
make[4]: Nothing to be done for `programs'.
make[4]: Leaving directory
`/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/openswan-2.6.43/OBJ.linux.arm/programs/proc'
make[4]: Entering directory
`/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/openswan-2.6.43/OBJ.linux.arm/programs/pluto'
LD _pluto_adns
LD whack
LD pluto
/opt/OSELAS.Toolchain-2012.12.1/arm-cortexa8-linux-gnueabihf/gcc-4.7.3-glibc-2.16.0-binutils-2.22-kernel-3.6-sanitized/lib/gcc/arm-cortexa8-linux-gnueabihf/4.7.3/../../../../arm-cortexa8-linux-gnueabihf/bin/ld:
adns.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be
used when making a shared object; recompile with -fPIC
adns.o: could not read symbols: Bad value
collect2: error: ld returned 1 exit status
make[4]: *** [_pluto_adns] Error 1
make[4]: *** Waiting for unfinished jobs....
/opt/OSELAS.Toolchain-2012.12.1/arm-cortexa8-linux-gnueabihf/gcc-4.7.3-glibc-2.16.0-binutils-2.22-kernel-3.6-sanitized/lib/gcc/arm-cortexa8-linux-gnueabihf/4.7.3/../../../../arm-cortexa8-linux-gnueabihf/bin/ld:
/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/openswan-2.6.43/OBJ.linux.arm/lib/libwhack/libwhack.a(whacklib.o):
relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when
making a shared object; recompile with -fPIC
/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/openswan-2.6.43/OBJ.linux.arm/lib/libwhack/libwhack.a:
could not read symbols: Bad value
collect2: error: ld returned 1 exit status
make[4]: *** [whack] Error 1
/opt/OSELAS.Toolchain-2012.12.1/arm-cortexa8-linux-gnueabihf/gcc-4.7.3-glibc-2.16.0-binutils-2.22-kernel-3.6-sanitized/lib/gcc/arm-cortexa8-linux-gnueabihf/4.7.3/../../../../arm-cortexa8-linux-gnueabihf/bin/ld:
connections.o: relocation R_ARM_MOVW_ABS_NC against `host_pairs' can not be
used when making a shared object; recompile with -fPIC
connections.o: could not read symbols: Bad value
collect2: error: ld returned 1 exit status
make[4]: *** [pluto] Error 1
make[4]: Leaving directory
`/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/openswan-2.6.43/OBJ.linux.arm/programs/pluto'
make[3]: *** [programs] Error 1
make[3]: Leaving directory
`/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/openswan-2.6.43/OBJ.linux.arm/programs'
make[2]: *** [programs] Error 1
make[2]: Leaving directory
`/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/openswan-2.6.43/OBJ.linux.arm'
make[1]: *** [programs] Error 2
make[1]: Leaving directory
`/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/openswan-2.6.43'
make: ***
[/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/state/openswan.compile]
Error 2
--
Regards
Hardik A Gohil
Willowglen Msc Bhd
[-- Attachment #1.2: Type: text/html, Size: 3676 bytes --]
[-- Attachment #2: Type: text/plain, Size: 48 bytes --]
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 6+ messages in thread
* [ptxdist] OPENSWAN IPSEC Configuration
@ 2015-07-23 3:58 Hardik A Gohil
2015-07-23 5:56 ` Bruno Thomsen
0 siblings, 1 reply; 6+ messages in thread
From: Hardik A Gohil @ 2015-07-23 3:58 UTC (permalink / raw)
To: ptxdist
[-- Attachment #1.1: Type: text/plain, Size: 3144 bytes --]
Hello,
I am working on Linux-phycore-AM335x-kit.
I trying to add OPENSWAN package into development.I have referred the
following to configure ptxdist.
https://www.mail-archive.com/ptxdist@pengutronix.de/msg06140.html
I am facing the following error after ptxdist.
make[4]: Nothing to be done for `programs'.
make[4]: Leaving directory
`/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/openswan-2.6.43/OBJ.linux.arm/programs/proc'
make[4]: Entering directory
`/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/openswan-2.6.43/OBJ.linux.arm/programs/pluto'
LD _pluto_adns
LD whack
LD pluto
/opt/OSELAS.Toolchain-2012.12.1/arm-cortexa8-linux-gnueabihf/gcc-4.7.3-glibc-2.16.0-binutils-2.22-kernel-3.6-sanitized/lib/gcc/arm-cortexa8-linux-gnueabihf/4.7.3/../../../../arm-cortexa8-linux-gnueabihf/bin/ld:
adns.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be
used when making a shared object; recompile with -fPIC
adns.o: could not read symbols: Bad value
collect2: error: ld returned 1 exit status
make[4]: *** [_pluto_adns] Error 1
make[4]: *** Waiting for unfinished jobs....
/opt/OSELAS.Toolchain-2012.12.1/arm-cortexa8-linux-gnueabihf/gcc-4.7.3-glibc-2.16.0-binutils-2.22-kernel-3.6-sanitized/lib/gcc/arm-cortexa8-linux-gnueabihf/4.7.3/../../../../arm-cortexa8-linux-gnueabihf/bin/ld:
/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/openswan-2.6.43/OBJ.linux.arm/lib/libwhack/libwhack.a(whacklib.o):
relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when
making a shared object; recompile with -fPIC
/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/openswan-2.6.43/OBJ.linux.arm/lib/libwhack/libwhack.a:
could not read symbols: Bad value
collect2: error: ld returned 1 exit status
make[4]: *** [whack] Error 1
/opt/OSELAS.Toolchain-2012.12.1/arm-cortexa8-linux-gnueabihf/gcc-4.7.3-glibc-2.16.0-binutils-2.22-kernel-3.6-sanitized/lib/gcc/arm-cortexa8-linux-gnueabihf/4.7.3/../../../../arm-cortexa8-linux-gnueabihf/bin/ld:
connections.o: relocation R_ARM_MOVW_ABS_NC against `host_pairs' can not be
used when making a shared object; recompile with -fPIC
connections.o: could not read symbols: Bad value
collect2: error: ld returned 1 exit status
make[4]: *** [pluto] Error 1
make[4]: Leaving directory
`/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/openswan-2.6.43/OBJ.linux.arm/programs/pluto'
make[3]: *** [programs] Error 1
make[3]: Leaving directory
`/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/openswan-2.6.43/OBJ.linux.arm/programs'
make[2]: *** [programs] Error 1
make[2]: Leaving directory
`/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/openswan-2.6.43/OBJ.linux.arm'
make[1]: *** [programs] Error 2
make[1]: Leaving directory
`/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/openswan-2.6.43'
make: ***
[/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/state/openswan.compile]
Error 2
--
Regards
Hardik A Gohil
Willowglen Msc Bhd
[-- Attachment #1.2: Type: text/html, Size: 3688 bytes --]
[-- Attachment #2: Type: text/plain, Size: 48 bytes --]
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ptxdist] OPENSWAN IPSEC Configuration
2015-07-23 3:58 Hardik A Gohil
@ 2015-07-23 5:56 ` Bruno Thomsen
2015-07-30 9:18 ` Hardik A Gohil
0 siblings, 1 reply; 6+ messages in thread
From: Bruno Thomsen @ 2015-07-23 5:56 UTC (permalink / raw)
To: ptxdist
Hi Hardik,
> I trying to add OPENSWAN package into development. I have referred the following to configure ptxdist.
Any reason you don't use Strongswan[1]?
It's actively maintained in ptxdist, and has good cipher suite support[2].
/Bruno
[1] https://strongswan.org/
[2] https://wiki.strongswan.org/projects/strongswan/wiki/IKEv2CipherSuites
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ptxdist] OPENSWAN IPSEC Configuration
2015-07-23 5:56 ` Bruno Thomsen
@ 2015-07-30 9:18 ` Hardik A Gohil
2015-07-30 10:09 ` Bruno Thomsen
0 siblings, 1 reply; 6+ messages in thread
From: Hardik A Gohil @ 2015-07-30 9:18 UTC (permalink / raw)
To: ptxdist
[-- Attachment #1.1: Type: text/plain, Size: 593 bytes --]
Hello,
I am looking for strongswan.make file.
On Thu, Jul 23, 2015 at 1:56 PM, Bruno Thomsen <bth@kamstrup.com> wrote:
> Hi Hardik,
>
> > I trying to add OPENSWAN package into development. I have referred the
> following to configure ptxdist.
>
> Any reason you don't use Strongswan[1]?
> It's actively maintained in ptxdist, and has good cipher suite support[2].
>
> /Bruno
>
> [1] https://strongswan.org/
> [2] https://wiki.strongswan.org/projects/strongswan/wiki/IKEv2CipherSuites
>
> --
> ptxdist mailing list
> ptxdist@pengutronix.de
>
--
Regards
Hardik A Gohil
Willowglen Msc Bhd
[-- Attachment #1.2: Type: text/html, Size: 1416 bytes --]
[-- Attachment #2: Type: text/plain, Size: 48 bytes --]
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ptxdist] OPENSWAN IPSEC Configuration
2015-07-30 9:18 ` Hardik A Gohil
@ 2015-07-30 10:09 ` Bruno Thomsen
2015-07-31 8:34 ` Hardik A Gohil
0 siblings, 1 reply; 6+ messages in thread
From: Bruno Thomsen @ 2015-07-30 10:09 UTC (permalink / raw)
To: ptxdist
Hi,
> I am looking for strongswan.make file.
You can find the newest upstream strongswan rule[1][2] in the pengutronix ptxdist git repository[3].
[1] http://git.pengutronix.de/?p=ptxdist.git;a=blob_plain;f=rules/strongswan.in;hb=HEAD
[2] http://git.pengutronix.de/?p=ptxdist.git;a=blob_plain;f=rules/strongswan.make;hb=HEAD
[3] http://git.pengutronix.de/?p=ptxdist.git;a=summary
/Bruno
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ptxdist] OPENSWAN IPSEC Configuration
2015-07-30 10:09 ` Bruno Thomsen
@ 2015-07-31 8:34 ` Hardik A Gohil
0 siblings, 0 replies; 6+ messages in thread
From: Hardik A Gohil @ 2015-07-31 8:34 UTC (permalink / raw)
To: ptxdist
[-- Attachment #1.1: Type: text/plain, Size: 2485 bytes --]
Hello,
I am getting this error when ipsec start is given.
output of log :
Jul 30 23:26:42 phyCORE-AM335x user.info kernel: [ 46.746368] NET:
Registered protocol family
15
Jul 30 23:26:42 phyCORE-AM335x user.info kernel: [ 46.885162]
Initializing XFRM netlink
socket
Jul 30 23:26:42 phyCORE-AM335x daemon.info charon: 00[DMN] Starting IKE
charon daemon (strongSwan 5.3.2, Linux 3.2.0-PD13.1.2, armv7l)
Jul 30 23:26:42 phyCORE-AM335x daemon.info charon: 00[LIB] feature
CUSTOM:libcharon in critical plugin 'charon' has unmet dependency:
NONCE_GEN
Jul 30 23:26:42 phyCORE-AM335x daemon.info charon: 00[LIB] feature
CUSTOM:libcharon-receiver in critical plugin 'charon' has unmet dependency:
HASHER:HASH_SHA1
Jul 30 23:26:42 phyCORE-AM335x daemon.info charon: 00[LIB] failed to load 2
critical plugin features
Jul 30 23:26:42 phyCORE-AM335x daemon.info charon: 00[DMN] initialization
failed - aborting charon
Jul 30 23:26:42 phyCORE-AM335x authpriv.info ipsec_starter[852]: charon has
quit: initialization failed
Jul 30 23:26:42 phyCORE-AM335x authpriv.info ipsec_starter[852]: charon
refused to be started
Jul 30 23:26:43 phyCORE-AM335x authpriv.info ipsec_starter[852]: received
netlink error: Operation not supported (95)
Jul 30 23:26:43 phyCORE-AM335x authpriv.info ipsec_starter[852]: unable to
create IPv4 routing table rule
Jul 30 23:26:43 phyCORE-AM335x authpriv.info ipsec_starter[852]: received
netlink error: Operation not supported (95)
Jul 30 23:26:43 phyCORE-AM335x authpriv.info ipsec_starter[852]: unable to
create IPv6 routing table rule
Jul 30 23:26:43 phyCORE-AM335x authpriv.info ipsec_starter[852]: received
netlink error: Operation not supported (95)
Jul 30 23:26:43 phyCORE-AM335x authpriv.info ipsec_starter[852]: received
netlink error: Operation not supported (95)
Jul 30 23:26:43 phyCORE-AM335x authpriv.info ipsec_starter[852]: ipsec
starter stopped
~
On Thu, Jul 30, 2015 at 6:09 PM, Bruno Thomsen <bth@kamstrup.com> wrote:
> Hi,
>
> > I am looking for strongswan.make file.
>
> You can find the newest upstream strongswan rule[1][2] in the pengutronix
> ptxdist git repository[3].
>
>
> [1]
> http://git.pengutronix.de/?p=ptxdist.git;a=blob_plain;f=rules/strongswan.in;hb=HEAD
> [2]
> http://git.pengutronix.de/?p=ptxdist.git;a=blob_plain;f=rules/strongswan.make;hb=HEAD
> [3] http://git.pengutronix.de/?p=ptxdist.git;a=summary
>
>
> /Bruno
> --
> ptxdist mailing list
> ptxdist@pengutronix.de
>
--
Regards
Hardik A Gohil
Willowglen Msc Bhd
[-- Attachment #1.2: Type: text/html, Size: 5194 bytes --]
[-- Attachment #2: Type: text/plain, Size: 48 bytes --]
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2015-07-31 6:36 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-29 8:03 [ptxdist] OPENSWAN IPSEC Configuration Hardik A Gohil
-- strict thread matches above, loose matches on Subject: below --
2015-07-23 3:58 Hardik A Gohil
2015-07-23 5:56 ` Bruno Thomsen
2015-07-30 9:18 ` Hardik A Gohil
2015-07-30 10:09 ` Bruno Thomsen
2015-07-31 8:34 ` Hardik A Gohil
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox