View Single Post
  #4  
Old 12-28-2009, 09:58 PM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,498
Default Same Problem?

Trying to set up on a remote server, so starting from scratch. Using gcc (not sure what version is installed). Got a very similar error:
Code:
EQW.cpp:57: syntax error before `__attribute__'
EQW.cpp: In function `void XS_EQWIO_PRINT(...)':
EQW.cpp:58: syntax error before `__attribute__'
EQW.cpp: In function `void XS_EQWIO_PRINT(...)':
EQW.cpp:58: redefinition of `void XS_EQWIO_PRINT(...)'
EQW.cpp:57: `void XS_EQWIO_PRINT(...)' previously defined here
EQW.cpp:58: redefinition of `void XS_EQWIO_PRINT(...)'
EQW.cpp:57: `void XS_EQWIO_PRINT(...)' previously defined here
EQW.cpp:60: `sp' undeclared (first use this function)
EQW.cpp:60: (Each undeclared identifier is reported only once for each function
   it appears in.)
EQW.cpp:61: syntax error before `if'
EQW.cpp:65: syntax error before `for'
EQW.cpp:65: syntax error before `;' token
EQW.cpp:65: syntax error before `++' token
EQW.cpp:67: ISO C++ forbids declaration of `Singleton' with no type
EQW.cpp:67: prototype for `int EQW::Singleton()' does not match any in class `
   EQW'
EQW.h:33: candidate is: static EQW* EQW::Singleton()
EQW.cpp:67: `int EQW::Singleton()' and `static EQW* EQW::Singleton()' cannot be
   overloaded
EQW.cpp: In member function `int EQW::Singleton()':
EQW.cpp:67: syntax error before `->' token
EQW.cpp:70: ISO C++ forbids declaration of `PL_stack_sp' with no type
EQW.cpp:70: type mismatch with previous external decl
/usr/lib/perl5/5.8.8/i686-linux/CORE/thrdvar.h:34: previous external decl of `
   SV**PL_stack_sp'
EQW.cpp:70: `tmpXSoff' undeclared (first use this function)
EQW.cpp:70: syntax error before `return'
make: *** [EQW.o] Error 1
Any ideas?

EDIT: Oh yeah, and EMuShareMem compiled fine.
EDIT2: Ah, found my version. GCC 3.2.3 and machine is i386-redhat-linux so I will just need help locating where to change to 386 arch...
Reply With Quote