maemo.org Bugzilla – Bug 2
Static linking under SDK-PC does not work
Last modified: 2008-12-06 13:29:42 UTC
You need to
before you can comment on or make changes to this bug.
Static linking under SDK-PC does not work.
The compiler shows the following errors:
host-gcc: /usr/lib/libhildonwidgets.a: No such file or directory
host-gcc: /usr/lib/libhildonfm.a: No such file or directory
host-gcc: /usr/lib/libossothumbnail.a: No such file or directory
This is not very well explained under the Scratchbox documentation, but
is intended only for compiling binaries for the host environtment (which go
under /host_usr/ and /scratchbox/ directory structures inside the Scratchbox
You need a x86 target toolchain to build x86 target binaries.
IMHO this bug should be moved under documentation.
It would also be clearer if the host-toolchain would be something that user
needs to install separately instead of coming with Scratchbox as it's mostly of
interest only to Scratchbox developers. The download page could then also
explain that it's needed for compiling the Scratchbox host environment tools.
I.e. it's needed only when user wants to optimize the builds by making a host
version of some new tool needed in the building (nowadays there aren't that
of those, for example the doctools package includes even LaTeX :)).
It is a documentation issue, not a bug.