OpenWrt Forum Archive

Topic: minicom for OpenWrt

The content of this topic has been archived on 26 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi,
I tried to compile minicom for OpenWrt, available on the official OpenWrt svn at https://svn.openwrt.org/openwrt/package … m/Makefile. I did it on 7.06 and on a older release, but it doesn't compile. I'm going to paste the error.
The makefile is very simple, so I can't figure what can the problem can be. Now I will try to find it, but any help is strongly appreciated.
Thanks.

make -C minicom compile
make[3]: Entering directory `/home/mydir/kamikaze_7.06/package/minicom'
make -C /home/mydir/kamikaze_7.06/build_mipsel/minicom-2.2-rc2
make[4]: Entering directory `/home/mydir/kamikaze_7.06/build_mipsel/minicom-2.2-rc2'
make  all-recursive
make[5]: Entering directory `/home/mydir/kamikaze_7.06/build_mipsel/minicom-2.2-rc2'
Making all in doc
make[6]: Entering directory `/home/mydir/kamikaze_7.06/build_mipsel/minicom-2.2-rc2/doc'
make[6]: Nothing to be done for `all'.
make[6]: Leaving directory `/home/mydir/kamikaze_7.06/build_mipsel/minicom-2.2-rc2/doc'
Making all in extras
make[6]: Entering directory `/home/mydir/kamikaze_7.06/build_mipsel/minicom-2.2-rc2/extras'
Making all in linux
make[7]: Entering directory `/home/mydir/kamikaze_7.06/build_mipsel/minicom-2.2-rc2/extras/linux'
make[7]: Nothing to be done for `all'.
make[7]: Leaving directory `/home/mydir/kamikaze_7.06/build_mipsel/minicom-2.2-rc2/extras/linux'
Making all in tables
make[7]: Entering directory `/home/mydir/kamikaze_7.06/build_mipsel/minicom-2.2-rc2/extras/tables'
make[7]: Nothing to be done for `all'.
make[7]: Leaving directory `/home/mydir/kamikaze_7.06/build_mipsel/minicom-2.2-rc2/extras/tables'
Making all in termcap
make[7]: Entering directory `/home/mydir/kamikaze_7.06/build_mipsel/minicom-2.2-rc2/extras/termcap'
make[7]: Nothing to be done for `all'.
make[7]: Leaving directory `/home/mydir/kamikaze_7.06/build_mipsel/minicom-2.2-rc2/extras/termcap'
Making all in terminfo
make[7]: Entering directory `/home/mydir/kamikaze_7.06/build_mipsel/minicom-2.2-rc2/extras/terminfo'
make[7]: Nothing to be done for `all'.
make[7]: Leaving directory `/home/mydir/kamikaze_7.06/build_mipsel/minicom-2.2-rc2/extras/terminfo'
make[7]: Entering directory `/home/mydir/kamikaze_7.06/build_mipsel/minicom-2.2-rc2/extras'
make[7]: Nothing to be done for `all-am'.
make[7]: Leaving directory `/home/mydir/kamikaze_7.06/build_mipsel/minicom-2.2-rc2/extras'
make[6]: Leaving directory `/home/mydir/kamikaze_7.06/build_mipsel/minicom-2.2-rc2/extras'
Making all in man
make[6]: Entering directory `/home/mydir/kamikaze_7.06/build_mipsel/minicom-2.2-rc2/man'
make[6]: Nothing to be done for `all'.
make[6]: Entering directory `/home/mydir/kamikaze_7.06/build_mipsel/minicom-2.2-rc2/extras'
Making all in linux
make[7]: Entering directory `/home/mydir/kamikaze_7.06/build_mipsel/minicom-2.2-rc2/extras/linux'
make[7]: Nothing to be done for `all'.
make[7]: Leaving directory `/home/mydir/kamikaze_7.06/build_mipsel/minicom-2.2-rc2/extras/linux'
Making all in tables
make[7]: Entering directory `/home/mydir/kamikaze_7.06/build_mipsel/minicom-2.2-rc2/extras/tables'
make[7]: Nothing to be done for `all'.
make[7]: Leaving directory `/home/mydir/kamikaze_7.06/build_mipsel/minicom-2.2-rc2/extras/tables'
Making all in termcap
make[7]: Entering directory `/home/mydir/kamikaze_7.06/build_mipsel/minicom-2.2-rc2/extras/termcap'
make[7]: Nothing to be done for `all'.
make[7]: Leaving directory `/home/mydir/kamikaze_7.06/build_mipsel/minicom-2.2-rc2/extras/termcap'
Making all in terminfo
make[7]: Entering directory `/home/mydir/kamikaze_7.06/build_mipsel/minicom-2.2-rc2/extras/terminfo'
make[7]: Nothing to be done for `all'.
make[7]: Leaving directory `/home/mydir/kamikaze_7.06/build_mipsel/minicom-2.2-rc2/extras/terminfo'
make[7]: Entering directory `/home/mydir/kamikaze_7.06/build_mipsel/minicom-2.2-rc2/extras'
make[7]: Nothing to be done for `all-am'.
make[7]: Leaving directory `/home/mydir/kamikaze_7.06/build_mipsel/minicom-2.2-rc2/extras'
make[6]: Leaving directory `/home/mydir/kamikaze_7.06/build_mipsel/minicom-2.2-rc2/extras'
Making all in man
make[6]: Entering directory `/home/mydir/kamikaze_7.06/build_mipsel/minicom-2.2-rc2/man'
make[6]: Nothing to be done for `all'.
make[6]: Leaving directory `/home/mydir/kamikaze_7.06/build_mipsel/minicom-2.2-rc2/man'
Making all in po
make[6]: Entering directory `/home/mydir/kamikaze_7.06/build_mipsel/minicom-2.2-rc2/po'
make[6]: Nothing to be done for `all'.
make[6]: Leaving directory `/home/mydir/kamikaze_7.06/build_mipsel/minicom-2.2-rc2/po'
Making all in lib
make[6]: Entering directory `/home/mydir/kamikaze_7.06/build_mipsel/minicom-2.2-rc2/lib'
make[6]: Nothing to be done for `all'.
make[6]: Leaving directory `/home/mydir/kamikaze_7.06/build_mipsel/minicom-2.2-rc2/lib'
Making all in src
make[6]: Entering directory `/home/mydir/kamikaze_7.06/build_mipsel/minicom-2.2-rc2/src'
if mipsel-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I..  -I/home/mydir/kamikaze_7.06/staging_dir_mipsel/usr/include -I/home/mydir/kamikaze_7.06/staging_dir_mipsel/include -I/home/mydir/kamikaze_7.06/staging_dir_mipsel/usr/include -I/home/mydir/kamikaze_7.06/staging_dir_mipsel/include -I../lib -DCONFDIR=\"/etc\" -DLOCALEDIR=\"/usr/share/locale\" -I/home/mydir/kamikaze_7.06/staging_dir_mipsel/usr/include -I/home/mydir/kamikaze_7.06/staging_dir_mipsel/include -I/home/mydir/kamikaze_7.06/staging_dir_mipsel/usr/include -I/home/mydir/kamikaze_7.06/staging_dir_mipsel/include -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -I/home/mydir/kamikaze_7.06/staging_dir_mipsel/usr/include -I/home/mydir/kamikaze_7.06/staging_dir_mipsel/include
-Wall -W -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -I/home/mydir/kamikaze_7.06/staging_dir_mipsel/usr/include -I/home/mydir/kamikaze_7.06/staging_dir_mipsel/include -MT window.o -MD -MP -MF ".deps/window.Tpo" -c -o window.o window.c; \
        then mv -f ".deps/window.Tpo" ".deps/window.Po"; else rm -f ".deps/window.Tpo"; exit 1; fi
window.c: In function `outstr':
window.c:195: error: too many arguments to function `tputs'
window.c: In function `_gotoxy':
window.c:296: error: too many arguments to function `tgoto'
window.c:304: error: too many arguments to function `tgoto'
window.c:340: error: `BC' undeclared (first use in this function)
window.c:340: error: (Each undeclared identifier is reported only once
window.c:340: error: for each function it appears in.)
window.c:343: error: too many arguments to function `tgoto'
window.c: In function `wscroll':
window.c:846: error: too many arguments to function `tgoto'
window.c:857: error: too many arguments to function `tgoto'
window.c: In function `win_init':
window.c:1944: error: too many arguments to function `tgetent'
window.c:1956: error: too many arguments to function `tgetstr'
window.c:1965: error: too many arguments to function `tgetnum'
window.c:1969: error: too many arguments to function `tgetnum'
window.c:1975: error: too many arguments to function `tgetstr'
window.c:1976: error: too many arguments to function `tgetstr'
window.c:1977: error: too many arguments to function `tgetstr'
window.c:1978: error: too many arguments to function `tgetstr'
window.c:1979: error: too many arguments to function `tgetstr'
window.c:1980: error: too many arguments to function `tgetstr'
window.c:1981: error: too many arguments to function `tgetstr'
window.c:1982: error: too many arguments to function `tgetstr'
window.c:1983: error: too many arguments to function `tgetstr'
window.c:1984: error: too many arguments to function `tgetstr'
window.c:1985: error: too many arguments to function `tgetstr'
window.c:1986: error: too many arguments to function `tgetstr'
window.c:1987: error: too many arguments to function `tgetstr'
window.c:1988: error: too many arguments to function `tgetstr'
window.c:1989: error: too many arguments to function `tgetstr'
window.c:1990: error: too many arguments to function `tgetstr'
window.c:1991: error: too many arguments to function `tgetstr'
window.c:1992: error: too many arguments to function `tgetstr'
window.c:1993: error: too many arguments to function `tgetstr'
window.c:1994: error: too many arguments to function `tgetstr'
window.c:1995: error: too many arguments to function `tgetstr'
window.c:1996: error: too many arguments to function `tgetstr'
window.c:1997: error: too many arguments to function `tgetstr'
window.c:1998: error: too many arguments to function `tgetstr'
window.c:1999: error: too many arguments to function `tgetstr'
window.c:2000: error: too many arguments to function `tgetstr'
window.c:2001: error: too many arguments to function `tgetstr'
window.c:2002: error: too many arguments to function `tgetstr'
window.c:2003: error: too many arguments to function `tgetstr'
window.c:2004: error: too many arguments to function `tgetstr'
window.c:2005: error: `BC' undeclared (first use in this function)
window.c:2005: error: too many arguments to function `tgetstr'
window.c:2006: error: too many arguments to function `tgetstr'
window.c:2007: error: too many arguments to function `tgetstr'
window.c:2008: error: too many arguments to function `tgetstr'
window.c:2009: error: too many arguments to function `tgetstr'
window.c:2011: error: too many arguments to function `tgetstr'
window.c:2012: error: too many arguments to function `tgetstr'
window.c:2013: error: too many arguments to function `tgetstr'
window.c:2038: error: too many arguments to function `tgetflag'
window.c:2038: error: too many arguments to function `tgetflag'
window.c:2058: error: too many arguments to function `tgetnum'
window.c:2061: error: too many arguments to function `tgetflag'
window.c:2062: error: too many arguments to function `tgetflag'
window.c:2063: error: too many arguments to function `tgetflag'
make[6]: *** [window.o] Error 1
make[6]: Leaving directory `/home/mydir/kamikaze_7.06/build_mipsel/minicom-2.2-rc2/src'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/mydir/kamikaze_7.06/build_mipsel/minicom-2.2-rc2'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/mydir/kamikaze_7.06/build_mipsel/minicom-2.2-rc2'
make[3]: *** [/home/mydir/kamikaze_7.06/build_mipsel/minicom-2.2-rc2/.built] Error 2
make[3]: Leaving directory `/home/mydir/kamikaze_7.06/package/minicom'
make[2]: *** [minicom-compile] Error 2
make[2]: Leaving directory `/home/mydir/kamikaze_7.06/package'
make[1]: *** [package/compile] Error 2
make[1]: Leaving directory `/home/mydir/kamikaze_7.06'
make: *** [world] Error 2

It sounds like a problem with termcap.
All the error are referred to a termcap library function. I will try to better understand the problem.
I opened a ticket at https://dev.openwrt.org/ticket/2107

(Last edited by ggp81 on 19 Jul 2007, 17:17)

The discussion might have continued from here.