[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-dev] [PATCH] Various fixes to build for android
From: |
Eric S. Raymond |
Subject: |
Re: [gpsd-dev] [PATCH] Various fixes to build for android |
Date: |
Tue, 26 Aug 2014 13:21:40 -0400 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Samuel CUELLA <address@hidden>:
> I see three problems here:
>
> 1°) There is non-obvious requirement on the client code which wants
> to link against libgpsd: define the missing symbols.
Careful. "Client" doesn't mean "GPS client" here; this is strictly
an internals issue for gpsd/gpsmon/gpctl.
> 2°) The way it's currently implemented makes a strong assumption on
> the linker being able to "reverse link" the executable and the
> library.
>
> 3°) The library has UND symbols, and these symbols are not defined
> in a another shared library that first library is linked to.
>
> Using explicit function pointers will make the requirement/feature
> more obvious to the client code, will not make any assumption on the
> linker and will not let UND symbols on the so.
Simplifying the requirements for the linker is the kind of benefit I
was looking for. OK, I'll merge it and document it on that basis.
--
<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>
- Re: [gpsd-dev] [PATCH] Various fixes to build for android, Eric S. Raymond, 2014/08/18
- Re: [gpsd-dev] [PATCH] Various fixes to build for android, ukyg9e5r6k7gubiekd6, 2014/08/18
- Re: [gpsd-dev] [PATCH] Various fixes to build for android, Frank Nicholas, 2014/08/18
- Re: [gpsd-dev] [PATCH] Various fixes to build for android, Samuel CUELLA, 2014/08/26
- Re: [gpsd-dev] [PATCH] Various fixes to build for android, Eric S. Raymond, 2014/08/26
- Re: [gpsd-dev] [PATCH] Various fixes to build for android, Samuel CUELLA, 2014/08/26
- Re: [gpsd-dev] [PATCH] Various fixes to build for android,
Eric S. Raymond <=
- Re: [gpsd-dev] [PATCH] Various fixes to build for android, Matt, 2014/08/29
- Re: [gpsd-dev] [PATCH] Various fixes to build for android, Eric S. Raymond, 2014/08/29
- Re: [gpsd-dev] [PATCH] Various fixes to build for android, Beat Bolli, 2014/08/29
- Re: [gpsd-dev] [PATCH] Various fixes to build for android, Samuel CUELLA, 2014/08/30