Menu

#3 SME make install error [cinstall] Error 2

open
nobody
None
5
2004-08-06
2004-08-06
Anonymous
No

When compiling SME (executing “make install”) on a Dell
Precision Workstation 360 with Red Hat Enterprise Red
Hat Linux 9.0 (ws 3 L3) OS I get the following error
message:

STcl.cc: In function `int SME_Init(Tcl_Interp*)':
SSTcl.cc:1242: invalid conversion from `int (*)(void*,
Tcl_Interp*, int,
char**)' to `int (*)(void*, Tcl_Interp*, int, const
char**)'
SSTcl.cc:1243: invalid conversion from `int (*)(void*,
Tcl_Interp*, int,
char**)' to `int (*)(void*, Tcl_Interp*, int, const
char**)'
SSTcl.cc:1244: invalid conversion from `int (*)(void*,
Tcl_Interp*, int,
char**)' to `int (*)(void*, Tcl_Interp*, int, const
char**)'
SSTcl.cc:1247: invalid conversion from `int (*)(void*,
Tcl_Interp*, int,
char**)' to `int (*)(void*, Tcl_Interp*, int, const
char**)'
SSTcl.cc:1259: invalid conversion from `int (*)(void*,
Tcl_Interp*, int,
char**)' to `int (*)(void*, Tcl_Interp*, int, const
char**)'
SSTcl.cc:1276: invalid conversion from `int (*)(void*,
Tcl_Interp*, int,
char**)' to `int (*)(void*, Tcl_Interp*, int, const
char**)'
SSTcl.cc: In function `int SMETcl_install_module(char*,
void*,
external_command_table*, external_config_table*)':
SSTcl.cc:1345: invalid conversion from `int (*)(void*,
Tcl_Interp*, int,
char**)' to `int (*)(void*, Tcl_Interp*, int, const
char**)'
make[1]: *** [SSTcl.o] Error 1
make[1]: Leaving directory
`/usr/local/sme/sme-3.2.72/SpaceSim/src'
make: *** [cinstall] Error 2

To correct this I have installed older versions of
“gcc-c++” and “tcl” from an installation of Linux on
another computer that did successfully compile SME.
Unfortunately, this did not solve the problem and I
still get the same “make install” error message.
Currently the installed versions of these packages are
gcc-3.2.2-5 and tcl-8.3.5-88.

Does anyone have an idea what the problem is?

David Hughell
email: dhughell@ardinc.com

Discussion

  • Nobody/Anonymous

    Logged In: NO

    I am experiencing exactly the same problem on SuSE Linux 9.1 with gcc
    3.3.3 and tcl 8.4.6

     
  • Nobody/Anonymous

    Logged In: NO

    I am experiencing exactly the same problem on SuSE Linux 9.1, gcc
    3.3.3 and tcl 8.4.6.

    Mark Lake
    mark.lake@ucl.ac.uk

     
  • Nobody/Anonymous

    Logged In: NO

    I met the same problem too. I need sameone's help! Thank you!

     
  • Nobody/Anonymous

    Logged In: NO

    gcc-3.2.3-24
    tcl-8.4.7-1
    redhat9

     
  • Nobody/Anonymous

    Logged In: NO

    My Email: wxjiao2000@yahoo.com.cn

     
  • Nobody/Anonymous

    Logged In: NO

    when I build the model, there came a problem as follows:

    /usr/local/include/SME/CString.h: In function `TString
    operator+(const
    TString&, const TString&)':
    /usr/local/include/SME/CString.h:702: warning: the named
    return value extension
    is deprecated, please see the documentation for details
    /usr/local/include/SME/CString.h: In function `TString
    operator+(const
    TString&, const TSubString&)':
    /usr/local/include/SME/CString.h:707: warning: the named
    return value extension
    is deprecated, please see the documentation for details
    /usr/local/include/SME/CString.h: In function `TString
    operator+(const
    TString&, const char*)':
    /usr/local/include/SME/CString.h:712: warning: the named
    return value extension
    is deprecated, please see the documentation for details
    /usr/local/include/SME/CString.h: In function `TString
    operator+(const
    TString&, char)':
    /usr/local/include/SME/CString.h:717: warning: the named
    return value extension
    is deprecated, please see the documentation for details
    /usr/local/include/SME/CString.h: In function `TString
    operator+(const
    TSubString&, const TString&)':
    /usr/local/include/SME/CString.h:722: warning: the named
    return value extension
    is deprecated, please see the documentation for details
    /usr/local/include/SME/CString.h: In function `TString
    operator+(const
    TSubString&, const TSubString&)':
    /usr/local/include/SME/CString.h:727: warning: the named
    return value extension
    is deprecated, please see the documentation for details
    /usr/local/include/SME/CString.h: In function `TString
    operator+(const
    TSubString&, const char*)':
    /usr/local/include/SME/CString.h:732: warning: the named
    return value extension
    is deprecated, please see the documentation for details
    /usr/local/include/SME/CString.h: In function `TString
    operator+(const
    TSubString&, char)':
    /usr/local/include/SME/CString.h:737: warning: the named
    return value extension
    is deprecated, please see the documentation for details
    /usr/local/include/SME/CString.h: In function `TString
    operator+(const char*,
    const TString&)':
    /usr/local/include/SME/CString.h:742: warning: the named
    return value extension
    is deprecated, please see the documentation for details
    /usr/local/include/SME/CString.h: In function `TString
    operator+(const char*,
    const TSubString&)':
    /usr/local/include/SME/CString.h:747: warning: the named
    return value extension
    is deprecated, please see the documentation for details
    /usr/local/include/SME/CString.h: In function `TString
    reverse(const
    TString&)':
    /usr/local/include/SME/CString.h:752: warning: the named
    return value extension
    is deprecated, please see the documentation for details
    /usr/local/include/SME/CString.h: In function `TString
    upcase(const TString&)':
    /usr/local/include/SME/CString.h:757: warning: the named
    return value extension
    is deprecated, please see the documentation for details
    /usr/local/include/SME/CString.h: In function `TString
    downcase(const
    TString&)':
    /usr/local/include/SME/CString.h:762: warning: the named
    return value extension
    is deprecated, please see the documentation for details
    /usr/local/include/SME/CString.h: In function `TString
    capitalize(const
    TString&)':
    /usr/local/include/SME/CString.h:767: warning: the named
    return value extension
    is deprecated, please see the documentation for details
    In file included from /usr/local/include/SME/Series.h:4,
    from /usr/local/include/SME/CVariable.h:15,
    from /usr/local/include/SME/SpaceSim.h:10,
    from CA1.h:4,
    from CA1.cc:1:
    /usr/local/include/SME/TSeries.h: In member function `void
    TSpatialSeries::Extract(float, MultiCoverage&) const':
    /usr/local/include/SME/TSeries.h:226: warning: passing
    `float' for argument 1
    of `const float* TSpatialSeries::Data(int) const'
    Using UserCodeLib:
    g++ -DHAS_MPE -DSERIAL -DHAS_SOCKETS -DUSE_TCL
    -I/usr/include/libxml2 -DXML2 Main.o CA1.o
    -L/usr/local/lib -lSS -lPPG -lMML -lBase -L/usr/lib
    -ltcl -L/usr/lib -lxml2 -lz -lpthread -lm -lieee -o CA1
    Main.o(.text+0xbd): In function `main':
    the `gets' function is dangerous and should not be used.
    /usr/local/lib/libSS.a(SSTcl.o)(.text+0x35da): In function
    `SME_ModelCallback(void*, Tcl_Interp*, int, char**)':
    undefined reference to `SMETcl_step(void*, Tcl_Interp*,
    int, char**)'
    /usr/local/lib/libSS.a(SSTcl.o)(.text+0x3618): In function
    `SME_ModelCallback(void*, Tcl_Interp*, int, char**)':
    undefined reference to `SMETcl_run(void*, Tcl_Interp*,
    int, char**)'
    /usr/local/lib/libSS.a(SSTcl.o)(.text+0x41cb): In function
    `SME_Init(Tcl_Interp*)':
    undefined reference to `SMETcl_step(void*, Tcl_Interp*,
    int, char**)'
    /usr/local/lib/libSS.a(SSTcl.o)(.text+0x41e7): In function
    `SME_Init(Tcl_Interp*)':
    undefined reference to `SMETcl_run(void*, Tcl_Interp*,
    int, char**)'
    /usr/local/lib/libSS.a(SSTcl.o)(.text+0x4203): In function
    `SME_Init(Tcl_Interp*)':
    undefined reference to `SMETcl_restart(void*, Tcl_Interp*,
    int, char**)'
    /usr/local/lib/libSS.a(SSTcl.o)(.text+0x4651): In function
    `SMETcl_install_module(char*, void*,
    external_command_table*, external_config_table*)':
    undefined reference to `SME_extmodule_callback(void*,
    Tcl_Interp*, int, char**)'
    collect2: ld returned 1 exit status
     

Log in to post a comment.

MongoDB Logo MongoDB