compilation problem

Adam Lackorzynski adam at os.inf.tu-dresden.de
Wed Aug 29 22:15:00 UTC 2007


Hi,

I might be wrong but this might have been resolved in CVS.

On Mon Aug 27, 2007 at 08:00:38 +0530, Prabha J wrote:
> Hi,
> I am facing problem in compiling minicom for my target board.
> I am using crosstool-0.43 as toolchain with linux-2.6.15.4 and ncurses-5.6 
> and minicom-2.2. My processor is AT91RM9200.
> My toolchain is installed in /opt directory.
> When i give 
> 
> CC=arm-linux-gcc ./configure --prefix=/home/prabha/temp --host=arm-linux 
> build=i686-linux 
> It configures without ncurses selected. 
> 
> checking where the gettext function comes from... libc
> checking for kermit... no
> checking for tputs in -ltinfo... no
> checking for tputs in -lncurses... no
> checking for tputs in -lcurses... no
> checking for tputs in -ltermcap... no
> checking for tputs in -lterminfo... no
> checking for tputs in -ltermlib... no
> checking for socket in -lsocket... no
> checking for dirent.h that defines DIR... yes
> checking for library containing opendir... none required
> checking for ANSI C header files... (cached) yes
> checking for sys/wait.h that is POSIX.1 compatible... yes
> checking whether stat file-mode macros are broken... no
> checking whether time.h and sys/time.h may both be included... yes
> checking POSIX termios... yes
> checking whether termios.h defines TIOCGWINSZ... no
> 
> These things appear while configuring.
> 
> 
> When i compile it gives error as 
> 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:2062: error: too many arguments to function 'tgetflag'
> window.c:2063: error: too many arguments to function 'tgetflag'
> make[2]: *** [window.o] Error 1
> make[2]: Leaving directory `/root/downloadMAGNETRelated/minicom-2.2/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/root/downloadMAGNETRelated/minicom-2.2'
> make: *** [all] Error 2
> 
> 
> I had set 
> export  LD_LIBRARY_PATH=/opt/crosstool/gcc-4.1.1-glibc-2.2.2/arm-linux/lib
> 
> 
> Then also it is not getting curses. Where i am doing wrong. 
> Please help me in this regard. It is very urgent.
> Prabha J.
> Tata Consultancy Services
> Mailto: prabha.j at tcs.com
> Website: http://www.tcs.com
> ____________________________________________
> Experience certainty.   IT Services
>                         Business Solutions
>                         Outsourcing
> ____________________________________________
> =====-----=====-----=====
> Notice: The information contained in this e-mail
> message and/or attachments to it may contain 
> confidential or privileged information. If you are 
> not the intended recipient, any dissemination, use, 
> review, distribution, printing or copying of the 
> information contained in this e-mail message 
> and/or attachments to it are strictly prohibited. If 
> you have received this communication in error, 
> please notify us by reply e-mail or telephone and 
> immediately and permanently delete the message 
> and any attachments. Thank you
> 
> 

> -- 
> minicom-devel mailing list <minicom-devel at lists.alioth.debian.org>
> http://lists.alioth.debian.org/mailman/listinfo/minicom-devel
Adam
-- 
Adam                 adam at os.inf.tu-dresden.de
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/



More information about the minicom-devel mailing list