NEW Error.

Alan Grimes alangrimes at starpower.net
Thu Sep 11 20:25:35 UTC 2003


Ian Piumarta wrote:
> > gnu-interp.c: In function `primitiveFindNextUnwindContext':
> > gnu-interp.c:9281: error: called object is not a function
> > make[1]: *** [gnu-interp.o] Error 1
> > make: *** [vm/vm.a] Error 2

> It would help if you could snip 10 lines each side of 9281 in your
> gnu-interp.c and include that with the message.



int primitiveFindNextUnwindContext(void) {
register struct foo * foo = &fum;
    int thisCntx;
    int aContext;
    int nilOop;
    int isUnwindMarked;
    int sp;
    int sp;
    int top;
    int oop;
    int sp1;
    int top1;
 
        /* begin popStack */
        top = longAt(foo->stackPointer);
        foo->stackPointer -= 4;
        aContext = top;
        /* begin fetchPointer:ofObject: */
        /* begin popStack */
        top1 = longAt(foo->stackPointer);
        foo->stackPointer -= 4;
        oop = top1;
        thisCntx = longAt(((((char *) oop)) + 4) + (0 << 2));
        nilOop = foo->nilObj;
        while (!((thisCntx == aContext) || (thisCntx == nilOop))) {
>>>>>>>>>>                isUnwindMarked = isUnwindMarked(thisCntx);
                if (isUnwindMarked) {
                        /* begin push: */
                        longAtput(sp = foo->stackPointer + 4, thisCntx);
                        foo->stackPointer = sp;
                        return null;
                }
                thisCntx = longAt(((((char *) thisCntx)) + 4) + (0 <<
2));
        }
        /* begin push: */
        longAtput(sp1 = foo->stackPointer + 4, nilOop);
        foo->stackPointer = sp1;
        return null;
}
 

> > gnu-interp.c:9281: error: called object is not a function

> This already looks suspicious.  Th function in question begins at line
> 12771 in my gnu-interp.c.  (Disk full?  NFS buggy??  Your awk was built
> and installed with "configure --enable-random-lineater?? ;^>>)

Hmm....

#if SITE == "1316 Elsinore Ave, McLean VA, USA" 
# define INSERT_RANDOM_ERRORS_INTO_ALL_CODE 1
#endif


-- 
"Nobody wants to say how this works. Mabye nobody knows."
        - The man page for XF86Config, One of the key config files
behind
the software driving  the overwhealming majority of Linux desktops.

http://users.rcn.com/alangrimes/



More information about the Squeak-dev mailing list