[OpenWrt-Devel] openwrt gpsd compilation fail

Dirk Neukirchen dirkneukirchen at web.de
Tue Nov 17 06:05:03 EST 2015


On 12.11.2015 20:41, Pushpal Sidhu wrote:
> Hi Luigi,
> 
> On Thu, Nov 12, 2015 at 9:27 AM, luigi findanno <lfindanno at yahoo.it> wrote:
>>
>> Hi, I'm trying to compile openwrt for raspberry pi but I found this error:
>>
>> http://pastebin.com/yQFhza8Y
>>
>> I don't know how to go on. I found your email in the Makefile and I'll be happy if you can help me.
>> Regards
>> Luigi Findanno
> 
> 
> I just pulled down the latest openwrt and latest packages and built
> gpsd, gpsd-clients, and libgps for an arm cortex-a9. I then selected
> the Raspberry Pi 2 Model B target and built just fine, so I'm not
> totally sure what you're seeing. Can you run a 'strip --version' and
> give me that info please? I imagine that your tool needs to be
> updated.
> 
> - Pushpal
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
> 

This patch should fix this issue (it seems an option name was changed)
feel free to use/push to github packages repo

gpsd: fix strip in build

current SConstruct file contains a "nostrip" option

Signed-off-by: Dirk Neukirchen <dirkneukirchen at web.de>
---
 utils/gpsd/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/utils/gpsd/Makefile b/utils/gpsd/Makefile
index df67cf8..2351f71 100644
--- a/utils/gpsd/Makefile
+++ b/utils/gpsd/Makefile
@@ -97,7 +97,7 @@ SCONS_OPTIONS += \
 	libgpsmm=no \
 	libQgpsmm=no \
 	bluez=no \
-	strip=no \
+	nostrip=yes \
 	python=no \
 	implicit_link=no \
 	chrpath=no
-- 
2.6.2
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list