[Top][All Lists]

[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="";>Eric S. Raymond</a>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]