building on AIX

Nerijus Baliunas nerijus at users.sourceforge.net
Sat Oct 23 14:33:22 UTC 2004


Hello,

I try to build latest mc snapshot on AIX 5.1. By just running configure
I get:

checking for SLsmg_write_nwchars in -lslang... no
checking for SLang_init_tty in -lslang... yes
checking slang.h usability... no
checking slang.h presence... no
checking for slang.h... no
checking slang/slang.h usability... yes
checking slang/slang.h presence... yes
checking for slang/slang.h... yes

Screen library:             S-Lang library (installed on the system)

But compiling fails:

key.c: In function `init_key_input_fd':
key.c:514: `SLang_TT_Read_FD' undeclared (first use in this function)
key.c:514: (Each undeclared identifier is reported only once
key.c:514: for each function it appears in.)
make: 1254-004 The error code from the last command is 1.

Shouldn't configure check for SLang_TT_Read_FD in system slang?


Then I looked in mc.spec and configured according to it
--with-screen=ncurses --with-screen=mcslang --enable-charset
(btw, why mc.spec uses both ncurses and mcslang? IMHO only one
should be defined).

Screen library:             Included S-Lang library (mcslang)

Compiling still fails:

Making all in slang
...
slsmg.c:82: `SLtt_Has_Alt_Charset' undeclared here (not in a function)
slsmg.c:84: `SLtt_Use_Blink_For_ACS' undeclared here (not in a function)
make: 1254-004 The error code from the last command is 1.

BTW, there is one warning in ftpfs.c:

ftpfs.c: In function `ftpfs_initconn':
ftpfs.c:889: warning: passing arg 3 of `ngetsockname' from incompatible pointer type
ftpfs.c:912: warning: passing arg 3 of `ngetsockname' from incompatible pointer type
ftpfs.c: In function `ftpfs_open_data_connection':
ftpfs.c:957: warning: passing arg 3 of `naccept' from incompatible pointer type

Regards,
Nerijus



More information about the mc-devel mailing list