Em 10-12-2009 15:40, Eliot Miranda escreveu:
and what is line 72?
Starting on line 71:
/*** Function Prototypes ***/ static sqInt byteAt(sqInt oop); static sqInt byteAtput(sqInt oop, int val); static sqInt byteAtPointer(char * ptr); static sqInt byteAtPointerput(char * ptr, int val); static VirtualMachine * getInterpreter(void); #pragma export on EXPORT(const char*) getModuleName(void); #pragma export off static sqInt halt(void); static sqInt intAt(sqInt oop); static sqInt intAtput(sqInt oop, int val); static sqInt intAtPointer(char * ptr); static sqInt intAtPointerput(char * ptr, unsigned int val); static sqInt long32At(sqInt ptr); static sqInt long32Atput(sqInt ptr, int val); static sqInt longAt(sqInt oop); static sqInt longAtput(sqInt oop, sqInt val); static sqInt longAtPointer(char * ptr); static sqInt longAtPointerput(char * ptr, sqInt val); static sqInt msg(char * s); static sqInt oopAt(sqInt oop); static sqInt oopAtput(sqInt oop, sqInt val); static sqInt oopAtPointer(char * ptr); static sqInt oopAtPointerput(char * ptr, sqInt val); static usqInt oopForPointer(char * ptr); static char * pointerForOop(usqInt oop); #pragma export on EXPORT(sqInt) primitiveDecodeMono(void); EXPORT(sqInt) primitiveDecodeStereo(void); EXPORT(sqInt) primitiveEncodeMono(void); EXPORT(sqInt) primitiveEncodeStereo(void); EXPORT(sqInt) setInterpreter(struct VirtualMachine* anInterpreter); #pragma export off static sqInt shortAt(sqInt oop); static sqInt shortAtput(sqInt oop, int val); static sqInt shortAtPointer(char * ptr); static sqInt shortAtPointerput(char * ptr, int val); static sqInt shortUnsignedAtPointer(char * ptr); static char * sqMemoryBaseAddress(void);
On Thu, Dec 10, 2009 at 6:10 AM, Casimiro de Almeida Barreto <casimiro.barreto@gmail.com mailto:casimiro.barreto@gmail.com> wrote:
Hello, Today I was preparing a new VM from svn sources (trunk) but then, the following happened: gcc -g -O2 -fomit-frame-pointer -DLSB_FIRST=1 -DHAVE_CONFIG_H -DSQUEAK_BUILTIN_PLUGIN -I/home/casimiro/Softwares/squeak/squeak-svn/platforms/unix/bld -I/home/casimiro/Softwares/squeak/squeak-svn/platforms/unix/vm -I/home/casimiro/Softwares/squeak/squeak-svn/platforms/Cross/vm -I/home/casimiro/Softwares/squeak/squeak-svn/platforms/unix/src/vm -c -o ADPCMCodecPlugin.o /home/casimiro/Softwares/squeak/squeak-svn/platforms/unix/src/vm/intplugins/ADPCMCodecPlugin/ADPCMCodecPlugin.c /home/casimiro/Softwares/squeak/squeak-svn/platforms/unix/src/vm/intplugins/ADPCMCodecPlugin/ADPCMCodecPlugin.c:72: error: expected declaration specifiers or ‘...’ before ‘*’ token /home/casimiro/Softwares/squeak/squeak-svn/platforms/unix/src/vm/intplugins/ADPCMCodecPlugin/ADPCMCodecPlugin.c:72: error: ‘sqInt’ redeclared as different kind of symbol /home/casimiro/Softwares/squeak/squeak-svn/platforms/Cross/vm/sqMemoryAccess.h:52: note: previous declaration of ‘sqInt’ was here /home/casimiro/Softwares/squeak/squeak-svn/platforms/unix/src/vm/intplugins/ADPCMCodecPlugin/ADPCMCodecPlugin.c:73: error: expected declaration specifiers or ‘...’ before ‘(’ token /home/casimiro/Softwares/squeak/squeak-svn/platforms/unix/src/vm/intplugins/ADPCMCodecPlugin/ADPCMCodecPlugin.c:74: error: expected declaration specifiers or ‘...’ before ‘(’ token /home/casimiro/Softwares/squeak/squeak-svn/platforms/unix/src/vm/intplugins/ADPCMCodecPlugin/ADPCMCodecPlugin.c:75: error: expected declaration specifiers or ‘...’ before ‘(’ token /home/casimiro/Softwares/squeak/squeak-svn/platforms/unix/src/vm/intplugins/ADPCMCodecPlugin/ADPCMCodecPlugin.c:80: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘halt’