|
Boost Users : |
Subject: Re: [Boost-users] Boost.Python linking error on Scratchbox
From: David Abrahams (dave_at_[hidden])
Date: 2009-02-26 13:54:37
On Feb 24, 2009, at 2:09 AM, Taneli R. wrote:
>
> I have a program that uses Boost.Python and it compiles & links in
> normal
> desktop environment at x86 architecture (Ubuntu Linux) without any
> problems.
> I've compiled the same Boost libraries (1.37) in Scratchbox ARM
> environment,
> since my goal is to get my program running in Nokia N800 Internet
> Tablet as
> well.
>
> Compiling is successful, but when I try to link my code to Python
> libraries
> I get the following error:
>
> /usr/local/lib/libboost_python-gcc34-mt-1_37.so: undefined reference
> to
> `PyUnicodeUCS2_AsWideChar'
> /usr/local/lib/libboost_python-gcc34-mt-1_37.so: undefined reference
> to
> `PyUnicodeUCS2_FromEncodedObject'
> collect2: ld returned 1 exit status
>
> I haven't had any problems with other Boost libraries I've used in
> Scratchbox. Should I compile the Boost.Python libraries with some
> specific
> parameter?
> boost-users
This isn't really a Boost.Python problem. It looks like you may be
compiling against one version of the Python library headers but
linking against another one, but that's just a wild guess. I suggest
you check in with the regular Python mailing list if you are still
stumped. Not that I mind you asking here, but I don't think there's
much I can do to help
-- David Abrahams BoostPro Computing http://boostpro.com
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net