From: Hardik A Gohil <hardik@willowglen.com.my>
To: ptxdist@pengutronix.de
Subject: [ptxdist] OPENSWAN IPSEC Configuration
Date: Thu, 23 Jul 2015 11:58:31 +0800 [thread overview]
Message-ID: <CAEZH62M7s14ngvmuF1p-9cVbxZu4OgOqr8iHKnph4LkaVPG=GA@mail.gmail.com> (raw)
[-- 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
next reply other threads:[~2015-07-23 1:59 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-23 3:58 Hardik A Gohil [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAEZH62M7s14ngvmuF1p-9cVbxZu4OgOqr8iHKnph4LkaVPG=GA@mail.gmail.com' \
--to=hardik@willowglen.com.my \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox