Cryptcat compile on Solaris 10 x86 on Intel

Help
Tim
2009-12-01
2013-04-02
  • Tim
    Tim
    2009-12-01

    I am attempting to compile cryptcat on a Solaris 10 x86 on Intel server and am getting the error below.  Didn't see anything on Google that looked like a viable solution.  uname -a and error output included below.  Any assistance is greatly appreciated.

    uname -a:  SunOS server1 5.10 Generic_139556-08 i86pc i386 i86pc

    Note that tick marks were changed to single quote for formatting purposes.

    Error output:

    make -e cryptcat  XFLAGS='-DSYSV=4 -D__svr4__ -DSOLARIS' \<br>
    CC=gcc STATIC=-static XLIBS='-lnsl -lsocket -lresolv'<br>
    gcc -c twofish2.cc<br>
    twofish2.cc:184:2: #error "BYTE_ORDER (or variants) not defined!" <br>
    twofish2.cc: In member function 'void TwoFish::makeSubKeys(char*)':<br>
    twofish2.cc:329: error: 'b0' cannot be used as a function<br>
    twofish2.cc:330: error: ‘b1' cannot be used as a function<br>
    twofish2.cc:331: error: ‘b2' cannot be used as a function<br>
    twofish2.cc:332: error: ‘b3' cannot be used as a function<br>
    twofish2.cc:335: error: ‘b0' cannot be used as a function<br>
    twofish2.cc:336: error: ‘b1' cannot be used as a function<br>
    twofish2.cc:337: error: ‘b2' cannot be used as a function<br>
    twofish2.cc:338: error: ‘b3' cannot be used as a function<br>
    twofish2.cc:340: error: ‘b0' cannot be used as a function<br>
    twofish2.cc:341: error: ‘b1' cannot be used as a function<br>
    twofish2.cc:342: error: ‘b2' cannot be used as a function<br>
    twofish2.cc:343: error: ‘b3' cannot be used as a function<br>
    twofish2.cc:346: error: ‘b0' cannot be used as a function<br>
    twofish2.cc:346: error: ‘b0' cannot be used as a function<br>
    twofish2.cc:349: error: ‘b1' cannot be used as a function<br>
    twofish2.cc:349: error: ‘b1' cannot be used as a function<br>
    twofish2.cc:352: error: ‘b2' cannot be used as a function<br>
    twofish2.cc:352: error: ‘b2' cannot be used as a function<br>
    twofish2.cc:355: error: ‘b3' cannot be used as a function<br>
    twofish2.cc:355: error: ‘b3' cannot be used as a function<br>
    twofish2.cc: In member function ‘int TwoFish::F32(int, int, int*)': <br>
    twofish2.cc:671: error: ‘b0' cannot be used as a function<br>
    twofish2.cc:672: error: ‘b1' cannot be used as a function<br>
    twofish2.cc:673: error: ‘b2' cannot be used as a function<br>
    twofish2.cc:674: error: ‘b3' cannot be used as a function<br>
    twofish2.cc:684: error: ‘b0' cannot be used as a function<br>
    twofish2.cc:685: error: ‘b1' cannot be used as a function<br>
    twofish2.cc:686: error: ‘b2' cannot be used as a function<br>
    twofish2.cc:687: error: ‘b3' cannot be used as a function<br>
    twofish2.cc:690: error: ‘b0' cannot be used as a function<br>
    twofish2.cc:691: error: ‘b1' cannot be used as a function<br>
    twofish2.cc:692: error: ‘b2' cannot be used as a function<br>
    twofish2.cc:693: error: ‘b3' cannot be used as a function<br>
    twofish2.cc:696: error: ‘b0' cannot be used as a function<br>
    twofish2.cc:697: error: ‘b1' cannot be used as a function<br>
    twofish2.cc:698: error: ‘b2' cannot be used as a function<br>
    twofish2.cc:699: error: ‘b3' cannot be used as a function<br>
    twofish2.cc:703: error: ‘b0' cannot be used as a function<br>
    twofish2.cc:703: error: ‘b0' cannot be used as a function<br>
    twofish2.cc:704: error: ‘b1' cannot be used as a function<br>
    twofish2.cc:704: error: ‘b1' cannot be used as a function<br>
    twofish2.cc:705: error: ‘b2' cannot be used as a function<br>
    twofish2.cc:705: error: ‘b2' cannot be used as a function<br>
    twofish2.cc:706: error: ‘b3' cannot be used as a function<br>
    twofish2.cc:706: error: ‘b3' cannot be used as a function<br>
    twofish2.cc: In member function ‘int TwoFish::Fe320(int*, int)': <br>
    twofish2.cc:713: error: ‘b0' was not declared in this scope<br>
    twofish2.cc:714: error: ‘b1' was not declared in this scope<br>
    twofish2.cc:715: error: ‘b2' was not declared in this scope<br>
    twofish2.cc:716: error: ‘b3' was not declared in this scope<br>
    twofish2.cc: In member function ‘int TwoFish::Fe323(int*, int)': <br>
    twofish2.cc:719: error: ‘b3' was not declared in this scope<br>
    twofish2.cc:720: error: ‘b0' was not declared in this scope<br>
    twofish2.cc:721: error: ‘b1' was not declared in this scope<br>
    twofish2.cc:722: error: ‘b2' was not declared in this scope<br>
    *** Error code 1<br>
    make: Fatal error: Command failed for target ‘twofish2.o'<br>
    Current working directory /export/home/is_util/unix<br>
    *** Error code 1<br>
    make: Fatal error: Command failed for target ‘solaris-static'<br>