Rene Vincent Jansen
2008-01-04
Hi Mark,
saw your message and tried to compile it,gives me
gcc -c -O2 -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -I. -I. -DHAVE_CONFIG_H -DREXXDW_VERSION=\""1.1"\" -DREXXDW_DATE=\""25 Sep 2006"\" -I./common -I/usr/local/include -g -O2 -D__MAC__ -I/opt/ooRexx/include -o loader.o ./common/loader.c
In file included from /opt/ooRexx/include/rexx.h:55,
from ./common/rxdef.h:56,
from ./common/rxpack.h:130,
from ./common/loader.c:23:
/opt/ooRexx/include/rexxapitypes.h:64: error: syntax error before 'thread_id_t'
/opt/ooRexx/include/rexxapitypes.h:64: warning: type defaults to 'int' in declaration of 'thread_id_t'
/opt/ooRexx/include/rexxapitypes.h:64: warning: data definition has no type or storage class
In file included from ./common/rxdef.h:56,
from ./common/rxpack.h:130,
from ./common/loader.c:23:
/opt/ooRexx/include/rexx.h:474: error: syntax error before 'thread_id_t'
/opt/ooRexx/include/rexx.h:475: error: syntax error before 'thread_id_t'
/opt/ooRexx/include/rexx.h:483: error: syntax error before 'thread_id_t'
/opt/ooRexx/include/rexx.h:484: error: syntax error before 'thread_id_t'
/opt/ooRexx/include/rexx.h:492: error: syntax error before 'thread_id_t'
/opt/ooRexx/include/rexx.h:493: error: syntax error before 'thread_id_t'
In file included from ./common/loader.c:23:
./common/rxpack.h:222: error: syntax error before 'PSZ'
./common/rxpack.h:222: warning: no semicolon at end of struct or union
./common/rxpack.h:223: warning: type defaults to 'int' in declaration of 'EntryPoint'
./common/rxpack.h:223: warning: data definition has no type or storage class
./common/rxpack.h:224: error: syntax error before 'InternalName'
./common/rxpack.h:224: warning: type defaults to 'int' in declaration of 'InternalName'
./common/rxpack.h:224: warning: data definition has no type or storage class
./common/rxpack.h:226: error: syntax error before '}' token
./common/rxpack.h:226: warning: type defaults to 'int' in declaration of 'RexxFunction'
./common/rxpack.h:226: warning: data definition has no type or storage class
./common/rxpack.h:267: error: syntax error before 'ULONG'
./common/rxpack.h:271: error: syntax error before 'PUCHAR'
./common/rxpack.h:273: error: syntax error before 'RexxFunction'
./common/rxpack.h:274: error: syntax error before 'RexxFunction'
./common/rxpack.h:278: error: syntax error before 'RexxFunction'
./common/rxpack.h:287: error: syntax error before 'ULONG'
./common/rxpack.h:288: error: syntax error before 'LONG'
./common/rxpack.h:289: error: syntax error before 'ULONG'
./common/rxpack.h:300: error: syntax error before 'ULONG'
./common/rxpack.h:304: error: syntax error before 'PUCHAR'
./common/rxpack.h:320: error: syntax error before 'ULONG'
./common/loader.c:49: error: syntax error before '*' token
./common/loader.c:49: warning: type defaults to 'int' in declaration of 'getrexxdwFunctions'
./common/loader.c:49: warning: data definition has no type or storage class
./common/loader.c: In function 'main':
./common/loader.c:203: error: 'CHAR' undeclared (first use in this function)
./common/loader.c:203: error: (Each undeclared identifier is reported only once
./common/loader.c:203: error: for each function it appears in.)
./common/loader.c:203: error: syntax error before 'retbuf'
./common/loader.c:323: error: 'PCH' undeclared (first use in this function)
./common/loader.c:323: error: syntax error before 'malloc'
./common/loader.c:333: error: syntax error before 'argv'
./common/loader.c:335: error: syntax error before string constant
./common/loader.c:337: error: 'len' undeclared (first use in this function)
./common/loader.c:215: warning: unused variable 'RxPackageGlobalData'
./common/loader.c:212: warning: unused variable 'ExitList'
./common/loader.c:202: warning: unused variable 'retstr'
./common/loader.c:201: warning: unused variable 'rc'
./common/loader.c: At top level:
./common/loader.c:339: error: syntax error before 'else'
./common/loader.c:348: warning: type defaults to 'int' in declaration of 'RxPackageGlobalData'
./common/loader.c:348: error: 'MyGlob' undeclared here (not in a function)
./common/loader.c:348: error: 'rc' undeclared here (not in a function)
./common/loader.c:348: warning: initialization makes integer from pointer without a cast
./common/loader.c:348: error: initializer element is not constant
./common/loader.c:348: warning: data definition has no type or storage class
./common/loader.c:349: error: syntax error before 'if'
./common/loader.c:364: error: syntax error before string constant
./common/loader.c:364: warning: type defaults to 'int' in declaration of 'sprintf'
./common/loader.c:364: error: conflicting types for 'sprintf'
./common/loader.c:364: note: a parameter list with an ellipsis can't match an empty parameter name list declaration
./common/loader.c:364: warning: data definition has no type or storage class
./common/loader.c:367: error: syntax error before '(' token
./common/loader.c:367: warning: type defaults to 'int' in declaration of 'FunctionPrologue'
./common/loader.c:367: error: conflicting types for 'FunctionPrologue'
./common/rxpack.h:267: error: previous declaration of 'FunctionPrologue' was here
./common/loader.c:391: error: syntax error before '.' token
./common/loader.c:392: error: syntax error before '.' token
./common/loader.c:393: error: syntax error before '.' token
./common/loader.c:397: error: syntax error before '.' token
./common/loader.c:403: error: syntax error before '(' token
./common/loader.c:403: error: syntax error before '?' token
./common/loader.c:427: warning: type defaults to 'int' in declaration of 'RxPackageGlobalData'
./common/loader.c:427: error: redefinition of 'RxPackageGlobalData'
./common/loader.c:348: error: previous definition of 'RxPackageGlobalData' was here
./common/loader.c:427: warning: initialization makes integer from pointer without a cast
./common/loader.c:427: warning: data definition has no type or storage class
./common/loader.c:428: error: syntax error before '}' token
make: *** [loader.o] Error 1
best regards,
René Jansen.
Mark Hessling
2008-01-07
Hi René,
dwindows has not been fully ported to OSX and so I have not been able to port Rexx/DW to OSX either. The cross-platform comment I made refered to Windows/Linux/OS2 as ported platforms. I'd be happy if someone could investigate finishing the dwindows port to OSX ;-)
The errors above actually indicate an error compiling the ooRexx header files not the Rexx/DW code. I do not get these errors when I try and build Rexx/DW with Regina.
Just yesterday I ironed out the compilation errors with Rexx/DW built with Regina on OSX, but because the underlying dwindows doesn't really implement much functionality, neither does Rexx/DW.
Cheers, Mark