Here's the output from make:
Code: Select all
In file included from commands.cpp:42:
C:/msys/home/Robbie/src/OpenSees-Berk/SRC/OPS_Globals.h:54:1: warning: "_stdcall" redefined
<built-in>:81:1: warning: this is the location of the previous definition
commands.cpp: In function `int g3AppInit(Tcl_Interp*)':
commands.cpp:422: error: invalid conversion from `int (*)(void*, Tcl_Interp*, int, char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
commands.cpp:422: error: initializing argument 3 of `Tcl_Command_* Tcl_CreateCommand(Tcl_Interp*, const char*, int (*)(void*, Tcl_Interp*, int, const char**), void*, void (*)(void*))'
commands.cpp:424: error: invalid conversion from `int (*)(void*, Tcl_Interp*, int, char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
commands.cpp:424: error: initializing argument 3 of `Tcl_Command_* Tcl_CreateCommand(Tcl_Interp*, const char*, int (*)(void*, Tcl_Interp*, int, const char**), void*, void (*)(void*))'
commands.cpp:426: error: invalid conversion from `int (*)(void*, Tcl_Interp*, int, char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
commands.cpp:426: error: initializing argument 3 of `Tcl_Command_* Tcl_CreateCommand(Tcl_Interp*, const char*, int (*)(void*, Tcl_Interp*, int, const char**), void*, void (*)(void*))'
commands.cpp:428: error: invalid conversion from `int (*)(void*, Tcl_Interp*, int, char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
commands.cpp:428: error: initializing argument 3 of `Tcl_Command_* Tcl_CreateCommand(Tcl_Interp*, const char*, int (*)(void*, Tcl_Interp*, int, const char**), void*, void (*)(void*))'
commands.cpp:430: error: invalid conversion from `int (*)(void*, Tcl_Interp*, int, char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
commands.cpp:430: error: initializing argument 3 of `Tcl_Command_* Tcl_CreateCommand(Tcl_Interp*, const char*, int (*)(void*, Tcl_Interp*, int, const char**), void*, void (*)(void*))'
commands.cpp:432: error: invalid conversion from `int (*)(void*, Tcl_Interp*, int, char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
commands.cpp:432: error: initializing argument 3 of `Tcl_Command_* Tcl_CreateCommand(Tcl_Interp*, const char*, int (*)(void*, Tcl_Interp*, int, const char**), void*, void (*)(void*))'
commands.cpp:434: error: invalid conversion from `int (*)(void*, Tcl_Interp*, int, char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
commands.cpp:434: error: initializing argument 3 of `Tcl_Command_* Tcl_CreateCommand(Tcl_Interp*, const char*, int (*)(void*, Tcl_Interp*, int, const char**), void*, void (*)(void*))'
commands.cpp:436: error: invalid conversion from `int (*)(void*, Tcl_Interp*, int, char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
commands.cpp:436: error: initializing argument 3 of `Tcl_Command_* Tcl_CreateCommand(Tcl_Interp*, const char*, int (*)(void*, Tcl_Interp*, int, const char**), void*, void (*)(void*))'
commands.cpp:438: error: invalid conversion from `int (*)(void*, Tcl_Interp*, int, char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
commands.cpp:438: error: initializing argument 3 of `Tcl_Command_* Tcl_CreateCommand(Tcl_Interp*, const char*, int (*)(void*, Tcl_Interp*, int, const char**), void*, void (*)(void*))'
commands.cpp:440: error: invalid conversion from `int (*)(void*, Tcl_Interp*, int, char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
commands.cpp:440: error: initializing argument 3 of `Tcl_Command_* Tcl_CreateCommand(Tcl_Interp*, const char*, int (*)(void*, Tcl_Interp*, int, const char**), void*, void (*)(void*))'
commands.cpp:442: error: invalid conversion from `int (*)(void*, Tcl_Interp*, int, char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
commands.cpp:442: error: initializing argument 3 of `Tcl_Command_* Tcl_CreateCommand(Tcl_Interp*, const char*, int (*)(void*, Tcl_Interp*, int, const char**), void*, void (*)(void*))'
commands.cpp:444: error: invalid conversion from `int (*)(void*, Tcl_Interp*, int, char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
commands.cpp:444: error: initializing argument 3 of `Tcl_Command_* Tcl_CreateCommand(Tcl_Interp*, const char*, int (*)(void*, Tcl_Interp*, int, const char**), void*, void (*)(void*))'
commands.cpp:446: error: invalid conversion from `int (*)(void*, Tcl_Interp*, int, char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
commands.cpp:446: error: initializing argument 3 of `Tcl_Command_* Tcl_CreateCommand(Tcl_Interp*, const char*, int (*)(void*, Tcl_Interp*, int, const char**), void*, void (*)(void*))'
commands.cpp:448: error: invalid conversion from `int (*)(void*, Tcl_Interp*, int, char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
commands.cpp:448: error: initializing argument 3 of `Tcl_Command_* Tcl_CreateCommand(Tcl_Interp*, const char*, int (*)(void*, Tcl_Interp*, int, const char**), void*, void (*)(void*))'
commands.cpp:450: error: invalid conversion from `int (*)(void*, Tcl_Interp*, int, char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
commands.cpp:450: error: initializing argument 3 of `Tcl_Command_* Tcl_CreateCommand(Tcl_Interp*, const char*, int (*)(void*, Tcl_Interp*, int, const char**), void*, void (*)(void*))'
commands.cpp:452: error: invalid conversion from `int (*)(void*, Tcl_Interp*, int, char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
commands.cpp:452: error: initializing argument 3 of `Tcl_Command_* Tcl_CreateCommand(Tcl_Interp*, const char*, int (*)(void*, Tcl_Interp*, int, const char**), void*, void (*)(void*))'
commands.cpp:454: error: invalid conversion from `int (*)(void*, Tcl_Interp*, int, char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
commands.cpp:454: error: initializing argument 3 of `Tcl_Command_* Tcl_CreateCommand(Tcl_Interp*, const char*, int (*)(void*, Tcl_Interp*, int, const char**), void*, void (*)(void*))'
commands.cpp:456: error: invalid conversion from `int (*)(void*, Tcl_Interp*, int, char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
commands.cpp:456: error: initializing argument 3 of `Tcl_Command_* Tcl_CreateCommand(Tcl_Interp*, const char*, int (*)(void*, Tcl_Interp*, int, const char**), void*, void (*)(void*))'
commands.cpp:458: error: invalid conversion from `int (*)(void*, Tcl_Interp*, int, char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
commands.cpp:458: error: initializing argument 3 of `Tcl_Command_* Tcl_CreateCommand(Tcl_Interp*, const char*, int (*)(void*, Tcl_Interp*, int, const char**), void*, void (*)(void*))'
commands.cpp:460: error: invalid conversion from `int (*)(void*, Tcl_Interp*, int, char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
commands.cpp:460: error: initializing argument 3 of `Tcl_Command_* Tcl_CreateCommand(Tcl_Interp*, const char*, int (*)(void*, Tcl_Interp*, int, const char**), void*, void (*)(void*))'
commands.cpp:462: error: invalid conversion from `int (*)(void*, Tcl_Interp*, int, char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
commands.cpp:462: error: initializing argument 3 of `Tcl_Command_* Tcl_CreateCommand(Tcl_Interp*, const char*, int (*)(void*, Tcl_Interp*, int, const char**), void*, void (*)(void*))'
commands.cpp:464: error: invalid conversion from `int (*)(void*, Tcl_Interp*, int, char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
commands.cpp:464: error: initializing argument 3 of `Tcl_Command_* Tcl_CreateCommand(Tcl_Interp*, const char*, int (*)(void*, Tcl_Interp*, int, const char**), void*, void (*)(void*))'
commands.cpp:466: error: invalid conversion from `int (*)(void*, Tcl_Interp*, int, char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
commands.cpp:466: error: initializing argument 3 of `Tcl_Command_* Tcl_CreateCommand(Tcl_Interp*, const char*, int (*)(void*, Tcl_Interp*, int, const char**), void*, void (*)(void*))'
commands.cpp:468: error: invalid conversion from `int (*)(void*, Tcl_Interp*, int, char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
commands.cpp:468: error: initializing argument 3 of `Tcl_Command_* Tcl_CreateCommand(Tcl_Interp*, const char*, int (*)(void*, Tcl_Interp*, int, const char**), void*, void (*)(void*))'
commands.cpp:470: error: invalid conversion from `int (*)(void*, Tcl_Interp*, int, char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
commands.cpp:470: error: initializing argument 3 of `Tcl_Command_* Tcl_CreateCommand(Tcl_Interp*, const char*, int (*)(void*, Tcl_Interp*, int, const char**), void*, void (*)(void*))'
commands.cpp:472: error: invalid conversion from `int (*)(void*, Tcl_Interp*, int, char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
commands.cpp:472: error: initializing argument 3 of `Tcl_Command_* Tcl_CreateCommand(Tcl_Interp*, const char*, int (*)(void*, Tcl_Interp*, int, const char**), void*, void (*)(void*))'
commands.cpp:474: error: invalid conversion from `int (*)(void*, Tcl_Interp*, int, char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
commands.cpp:474: error: initializing argument 3 of `Tcl_Command_* Tcl_CreateCommand(Tcl_Interp*, const char*, int (*)(void*, Tcl_Interp*, int, const char**), void*, void (*)(void*))'
commands.cpp:476: error: invalid conversion from `int (*)(void*, Tcl_Interp*, int, char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
commands.cpp:476: error: initializing argument 3 of `Tcl_Command_* Tcl_CreateCommand(Tcl_Interp*, const char*, int (*)(void*, Tcl_Interp*, int, const char**), void*, void (*)(void*))'
commands.cpp:478: error: invalid conversion from `int (*)(void*, Tcl_Interp*, int, char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
commands.cpp:478: error: initializing argument 3 of `Tcl_Command_* Tcl_CreateCommand(Tcl_Interp*, const char*, int (*)(void*, Tcl_Interp*, int, const char**), void*, void (*)(void*))'
commands.cpp:480: error: invalid conversion from `int (*)(void*, Tcl_Interp*, int, char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
commands.cpp:480: error: initializing argument 3 of `Tcl_Command_* Tcl_CreateCommand(Tcl_Interp*, const char*, int (*)(void*, Tcl_Interp*, int, const char**), void*, void (*)(void*))'
commands.cpp:482: error: invalid conversion from `int (*)(void*, Tcl_Interp*, int, char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
commands.cpp:482: error: initializing argument 3 of `Tcl_Command_* Tcl_CreateCommand(Tcl_Interp*, const char*, int (*)(void*, Tcl_Interp*, int, const char**), void*, void (*)(void*))'
commands.cpp:484: error: invalid conversion from `int (*)(void*, Tcl_Interp*, int, char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
commands.cpp:484: error: initializing argument 3 of `Tcl_Command_* Tcl_CreateCommand(Tcl_Interp*, const char*, int (*)(void*, Tcl_Interp*, int, const char**), void*, void (*)(void*))'
commands.cpp:486: error: invalid conversion from `int (*)(void*, Tcl_Interp*, int, char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
commands.cpp:486: error: initializing argument 3 of `Tcl_Command_* Tcl_CreateCommand(Tcl_Interp*, const char*, int (*)(void*, Tcl_Interp*, int, const char**), void*, void (*)(void*))'
commands.cpp:488: error: invalid conversion from `int (*)(void*, Tcl_Interp*, int, char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
commands.cpp:488: error: initializing argument 3 of `Tcl_Command_* Tcl_CreateCommand(Tcl_Interp*, const char*, int (*)(void*, Tcl_Interp*, int, const char**), void*, void (*)(void*))'
commands.cpp:490: error: invalid conversion from `int (*)(void*, Tcl_Interp*, int, char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
commands.cpp:490: error: initializing argument 3 of `Tcl_Command_* Tcl_CreateCommand(Tcl_Interp*, const char*, int (*)(void*, Tcl_Interp*, int, const char**), void*, void (*)(void*))'
commands.cpp:492: error: invalid conversion from `int (*)(void*, Tcl_Interp*, int, char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
commands.cpp:492: error: initializing argument 3 of `Tcl_Command_* Tcl_CreateCommand(Tcl_Interp*, const char*, int (*)(void*, Tcl_Interp*, int, const char**), void*, void (*)(void*))'
commands.cpp:494: error: invalid conversion from `int (*)(void*, Tcl_Interp*, int, char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
commands.cpp:494: error: initializing argument 3 of `Tcl_Command_* Tcl_CreateCommand(Tcl_Interp*, const char*, int (*)(void*, Tcl_Interp*, int, const char**), void*, void (*)(void*))'
commands.cpp:496: error: invalid conversion from `int (*)(void*, Tcl_Interp*, int, char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
commands.cpp:496: error: initializing argument 3 of `Tcl_Command_* Tcl_CreateCommand(Tcl_Interp*, const char*, int (*)(void*, Tcl_Interp*, int, const char**), void*, void (*)(void*))'
commands.cpp:498: error: invalid conversion from `int (*)(void*, Tcl_Interp*, int, char**)' t
I am using the UCD Makefile and Makefile.def that I edited to fit my environment.
Any help is appreciated. Thanks.
-Robbie