[mosh-devel] Mosh compilation error on old Slackware 10.2
Emugel
emugel at qq.com
Sat Mar 7 07:29:33 EST 2015
Greetings,
I want to get Mosh compiled on my old server running Slackware 10.2. I
managed to install or compile all the dependencies, but now I'm getting
an error when compiling Mosh itself. Is this workable? Here's the error
I'm getting (with plain ./configure and make for Mosh 1.2.4):
$ make
make all-recursive
make[1]: Entering directory `/usr/local/src/mosh.grp/mosh-1.2.4'
Making all in src
make[2]: Entering directory `/usr/local/src/mosh.grp/mosh-1.2.4/src'
Making all in protobufs
make[3]: Entering directory `/usr/local/src/mosh.grp/mosh-1.2.4/src/protobufs'
GEN userinput.pb.cc
GEN hostinput.pb.cc
GEN transportinstruction.pb.cc
make all-am
make[4]: Entering directory `/usr/local/src/mosh.grp/mosh-1.2.4/src/protobufs'
CXX userinput.pb.o
CXX hostinput.pb.o
CXX transportinstruction.pb.o
AR libmoshprotos.a
make[4]: Leaving directory `/usr/local/src/mosh.grp/mosh-1.2.4/src/protobufs'
make[3]: Leaving directory `/usr/local/src/mosh.grp/mosh-1.2.4/src/protobufs'
Making all in util
make[3]: Entering directory `/usr/local/src/mosh.grp/mosh-1.2.4/src/util'
CXX locale_utils.o
CXX swrite.o
CXX select.o
CXX timestamp.o
timestamp.cc:48: warning: converting of negative value `-1' to `long long
unsigned int'
CXX pty_compat.o
AR libmoshutil.a
make[3]: Leaving directory `/usr/local/src/mosh.grp/mosh-1.2.4/src/util'
Making all in crypto
make[3]: Entering directory `/usr/local/src/mosh.grp/mosh-1.2.4/src/crypto'
CXX ocb.o
CXX base64.o
CXX crypto.o
AR libmoshcrypto.a
make[3]: Leaving directory `/usr/local/src/mosh.grp/mosh-1.2.4/src/crypto'
Making all in terminal
make[3]: Entering directory `/usr/local/src/mosh.grp/mosh-1.2.4/src/terminal'
CXX parseraction.o
CXX parser.o
CXX parserstate.o
CXX terminal.o
CXX terminaldispatcher.o
CXX terminaldisplay.o
CXX terminaldisplayinit.o
CXX terminalframebuffer.o
CXX terminalfunctions.o
terminalfunctions.cc:130: error: syntax error before `__attribute'
terminalfunctions.cc: In function `void CSI_DA(...)':
terminalfunctions.cc:135: error: invalid conversion from `void (*)(...)' to `
void (*)(Terminal::Framebuffer*, Terminal::Dispatcher*)'
terminalfunctions.cc:135: error: initializing argument 3 of `
Terminal::Function::Function(Terminal::Function_Type,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >, void
(*)(Terminal::Framebuffer*, Terminal::Dispatcher*), bool)'
terminalfunctions.cc:138: error: syntax error before `__attribute'
terminalfunctions.cc: In function `void CSI_SDA(...)':
terminalfunctions.cc:143: error: invalid conversion from `void (*)(...)' to `
void (*)(Terminal::Framebuffer*, Terminal::Dispatcher*)'
terminalfunctions.cc:143: error: initializing argument 3 of `
Terminal::Function::Function(Terminal::Function_Type,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >, void
(*)(Terminal::Framebuffer*, Terminal::Dispatcher*), bool)'
terminalfunctions.cc:146: error: syntax error before `__attribute'
terminalfunctions.cc: In function `void Esc_DECALN(...)':
terminalfunctions.cc:148: error: `fb' undeclared (first use this function)
terminalfunctions.cc:148: error: (Each undeclared identifier is reported only
once for each function it appears in.)
terminalfunctions.cc:148: error: syntax error before `;' token
terminalfunctions.cc:148: error: syntax error before `++' token
terminalfunctions.cc:149: error: syntax error before `;' token
terminalfunctions.cc:149: error: syntax error before `++' token
terminalfunctions.cc:151: error: syntax error before `->' token
terminalfunctions.cc:156: error: invalid conversion from `void (*)(...)' to `
void (*)(Terminal::Framebuffer*, Terminal::Dispatcher*)'
terminalfunctions.cc:156: error: initializing argument 3 of `
Terminal::Function::Function(Terminal::Function_Type,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >, void
(*)(Terminal::Framebuffer*, Terminal::Dispatcher*), bool)'
terminalfunctions.cc:159: error: syntax error before `__attribute'
terminalfunctions.cc: In function `void Ctrl_LF(...)':
terminalfunctions.cc:165: error: invalid conversion from `void (*)(...)' to `
void (*)(Terminal::Framebuffer*, Terminal::Dispatcher*)'
terminalfunctions.cc:165: error: initializing argument 3 of `
Terminal::Function::Function(Terminal::Function_Type,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >, void
(*)(Terminal::Framebuffer*, Terminal::Dispatcher*), bool)'
terminalfunctions.cc:166: error: invalid conversion from `void (*)(...)' to `
void (*)(Terminal::Framebuffer*, Terminal::Dispatcher*)'
terminalfunctions.cc:166: error: initializing argument 3 of `
Terminal::Function::Function(Terminal::Function_Type,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >, void
(*)(Terminal::Framebuffer*, Terminal::Dispatcher*), bool)'
terminalfunctions.cc:167: error: invalid conversion from `void (*)(...)' to `
void (*)(Terminal::Framebuffer*, Terminal::Dispatcher*)'
terminalfunctions.cc:167: error: initializing argument 3 of `
Terminal::Function::Function(Terminal::Function_Type,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >, void
(*)(Terminal::Framebuffer*, Terminal::Dispatcher*), bool)'
terminalfunctions.cc:168: error: invalid conversion from `void (*)(...)' to `
void (*)(Terminal::Framebuffer*, Terminal::Dispatcher*)'
terminalfunctions.cc:168: error: initializing argument 3 of `
Terminal::Function::Function(Terminal::Function_Type,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >, void
(*)(Terminal::Framebuffer*, Terminal::Dispatcher*), bool)'
terminalfunctions.cc:171: error: syntax error before `__attribute'
terminalfunctions.cc: In function `void Ctrl_CR(...)':
terminalfunctions.cc:176: error: invalid conversion from `void (*)(...)' to `
void (*)(Terminal::Framebuffer*, Terminal::Dispatcher*)'
terminalfunctions.cc:176: error: initializing argument 3 of `
Terminal::Function::Function(Terminal::Function_Type,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >, void
(*)(Terminal::Framebuffer*, Terminal::Dispatcher*), bool)'
terminalfunctions.cc:179: error: syntax error before `__attribute'
terminalfunctions.cc: In function `void Ctrl_BS(...)':
terminalfunctions.cc:184: error: invalid conversion from `void (*)(...)' to `
void (*)(Terminal::Framebuffer*, Terminal::Dispatcher*)'
terminalfunctions.cc:184: error: initializing argument 3 of `
Terminal::Function::Function(Terminal::Function_Type,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >, void
(*)(Terminal::Framebuffer*, Terminal::Dispatcher*), bool)'
terminalfunctions.cc:187: error: syntax error before `__attribute'
terminalfunctions.cc: In function `void Ctrl_RI(...)':
terminalfunctions.cc:192: error: invalid conversion from `void (*)(...)' to `
void (*)(Terminal::Framebuffer*, Terminal::Dispatcher*)'
terminalfunctions.cc:192: error: initializing argument 3 of `
Terminal::Function::Function(Terminal::Function_Type,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >, void
(*)(Terminal::Framebuffer*, Terminal::Dispatcher*), bool)'
terminalfunctions.cc:195: error: syntax error before `__attribute'
terminalfunctions.cc: In function `void Ctrl_NEL(...)':
terminalfunctions.cc:198: error: syntax error before `->' token
terminalfunctions.cc:201: error: invalid conversion from `void (*)(...)' to `
void (*)(Terminal::Framebuffer*, Terminal::Dispatcher*)'
terminalfunctions.cc:201: error: initializing argument 3 of `
Terminal::Function::Function(Terminal::Function_Type,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >, void
(*)(Terminal::Framebuffer*, Terminal::Dispatcher*), bool)'
terminalfunctions.cc:204: error: syntax error before `__attribute'
terminalfunctions.cc: In function `void Ctrl_HT(...)':
terminalfunctions.cc:215: error: syntax error before `->' token
terminalfunctions.cc:216: error: syntax error before `->' token
terminalfunctions.cc:219: error: invalid conversion from `void (*)(...)' to `
void (*)(Terminal::Framebuffer*, Terminal::Dispatcher*)'
terminalfunctions.cc:219: error: initializing argument 3 of `
Terminal::Function::Function(Terminal::Function_Type,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >, void
(*)(Terminal::Framebuffer*, Terminal::Dispatcher*), bool)'
terminalfunctions.cc:222: error: syntax error before `__attribute'
terminalfunctions.cc: In function `void Ctrl_HTS(...)':
terminalfunctions.cc:227: error: invalid conversion from `void (*)(...)' to `
void (*)(Terminal::Framebuffer*, Terminal::Dispatcher*)'
terminalfunctions.cc:227: error: initializing argument 3 of `
Terminal::Function::Function(Terminal::Function_Type,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >, void
(*)(Terminal::Framebuffer*, Terminal::Dispatcher*), bool)'
terminalfunctions.cc:247: confused by earlier errors, bailing out
make[3]: *** [terminalfunctions.o] Error 1
make[3]: Leaving directory `/usr/local/src/mosh.grp/mosh-1.2.4/src/terminal'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/mosh.grp/mosh-1.2.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/mosh.grp/mosh-1.2.4'
make: *** [all] Error 2
Thanks for your time,
Emudw
More information about the mosh-devel
mailing list