Make sure that your compile options are all correct and that that branch of 
code is actually being compiled.

Hint: try (temporarily) putting a syntax error or unresolvable link error into 
the code in the branch of the #ifdef
you think is being compiled and then “make clean; make”  and see if you get the 
error.  If not,
something in your config script or compiler options is not right….

On Jul 24, 2014, at 2:50 PM, Bin Huang <[email protected]> wrote:

> Hi Richard,
> 
> Yes, I am pretty sure that the 'ifdef' that enables the Stackless 
> functionality is there. 
> 
> Bin
> 
> 
> On Thu, Jul 24, 2014 at 2:23 AM, Richard Tew <[email protected]> wrote:
> Hi,
> 
> The code that determines if the stackless module is compiled and
> available, is a set of ifdefs.
> 
> You should see if those symbols for the given arm platform, are valid
> for your compiler.  Maybe correct them, if not.
> 
> The files are in the stackless/ sub-directory.  I can't remember which
> one, offhand.
> 
> Cheers,
> Richard.
> 
> On 7/24/14, Bin Huang <[email protected]> wrote:
> > Hi list,
> >
> > I have compiled stackless-2.6.5 for an ARM platform (ARMv7 architecture).
> > No error occurred during the compilation except that the system failed to
> > find the necessary bits to build some modules.  When I tried to import the
> > 'stackless' module, the system reported an error, "no module named
> > stackless", to me.
> >
> > Specifically, the error message looks like this:
> >
> > ------------------------------------------------------------------------------------------------------------
> > root@192:/opt/stackless-2.6.5/bin# ./python
> > Python 2.6.5 (unknown, Feb 18 1970, 02:43:59)
> > [GCC 4.6.3] on linux3
> > Type "help", "copyright", "credits" or "license" for more information.
> >>>> import stackless
> > Traceback (most recent call last):
> >   File "<stdin>", line 1, in <module>
> > ImportError: No module named stackless
> >>>>
> > ------------------------------------------------------------------------------------------------------------
> >
> > Also, I took the same source files and compiled them (with the same
> > configuration) for an X86 workstation. That worked well and I did not have
> > any problem with importing the 'stackless' module.
> >
> > I think Stackless-2.6.5 supports ARMv7 architecture. Otherwise, I shouldn't
> > be able to launch the interpreter.
> >
> > I really don't have any clue here. I wonder if someone can offer me some
> > insights. Thanks in advance.
> >
> > Bin
> >
> 
> _______________________________________________
> Stackless mailing list
> [email protected]
> http://www.stackless.com/mailman/listinfo/stackless
> 
> _______________________________________________
> Stackless mailing list
> [email protected]
> http://www.stackless.com/mailman/listinfo/stackless

_______________________________________________
Stackless mailing list
[email protected]
http://www.stackless.com/mailman/listinfo/stackless

Reply via email to