mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [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
* [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

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-23  3:58 [ptxdist] OPENSWAN IPSEC Configuration 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
2015-07-29  8:03 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