[Tinyos-help] BUG: tinyos-2 libtoscomm.so needs -fPIC flag
(w/patch)
David Gay
dgay42 at gmail.com
Tue Jan 9 15:48:23 PST 2007
On 1/9/07, Daniel Goertzen <daniel.goertzen at norscan.com> wrote:
> libtoscomm.so is a shared library but is not built with the -fPIC flag. I
> assume that some systems are forgiving of this, but gentoo x86_64 with
> gcc-4.1.1 is not.
Added. Given that a quick google (and gcc documentation perusal)
doesn't answer this question, maybe you know the answer:
- the current env JNI lib uses -fpic
- you suggested -fPIC for the serial one
Do both work? Only -fPIC? Etc, etc, expand at will ;-)
David Gay
More information about the Tinyos-help
mailing list