<br><font size=2 face="sans-serif">Hi,</font>
<br><font size=2 face="sans-serif">I am facing problem in compiling minicom
for my target board.</font>
<br><font size=2 face="sans-serif">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.</font>
<br><font size=2 face="sans-serif">My toolchain is installed in /opt directory.</font>
<br><font size=2 face="sans-serif">When i give </font>
<br>
<br><font size=2 face="sans-serif">CC=arm-linux-gcc ./configure --prefix=/home/prabha/temp
--host=arm-linux build=i686-linux </font>
<br><font size=2 face="sans-serif">It configures without ncurses selected.
</font>
<br>
<br><font size=2 face="sans-serif">checking where the gettext function
comes from... libc</font>
<br><font size=2 face="sans-serif">checking for kermit... no</font>
<br><font size=2 face="sans-serif">checking for tputs in -ltinfo... no</font>
<br><font size=2 face="sans-serif">checking for tputs in -lncurses... no</font>
<br><font size=2 face="sans-serif">checking for tputs in -lcurses... no</font>
<br><font size=2 face="sans-serif">checking for tputs in -ltermcap... no</font>
<br><font size=2 face="sans-serif">checking for tputs in -lterminfo...
no</font>
<br><font size=2 face="sans-serif">checking for tputs in -ltermlib... no</font>
<br><font size=2 face="sans-serif">checking for socket in -lsocket... no</font>
<br><font size=2 face="sans-serif">checking for dirent.h that defines DIR...
yes</font>
<br><font size=2 face="sans-serif">checking for library containing opendir...
none required</font>
<br><font size=2 face="sans-serif">checking for ANSI C header files...
(cached) yes</font>
<br><font size=2 face="sans-serif">checking for sys/wait.h that is POSIX.1
compatible... yes</font>
<br><font size=2 face="sans-serif">checking whether stat file-mode macros
are broken... no</font>
<br><font size=2 face="sans-serif">checking whether time.h and sys/time.h
may both be included... yes</font>
<br><font size=2 face="sans-serif">checking POSIX termios... yes</font>
<br><font size=2 face="sans-serif">checking whether termios.h defines TIOCGWINSZ...
no</font>
<br>
<br><font size=2 face="sans-serif">These things appear while configuring.</font>
<br>
<br>
<br><font size=2 face="sans-serif">When i compile it gives error as </font>
<br><font size=2 face="sans-serif">window.c: In function 'outstr':</font>
<br><font size=2 face="sans-serif">window.c:195: error: too many arguments
to function 'tputs'</font>
<br><font size=2 face="sans-serif">window.c: In function '_gotoxy':</font>
<br><font size=2 face="sans-serif">window.c:296: error: too many arguments
to function 'tgoto'</font>
<br><font size=2 face="sans-serif">window.c:304: error: too many arguments
to function 'tgoto'</font>
<br><font size=2 face="sans-serif">window.c:340: error: 'BC' undeclared
(first use in this function)</font>
<br><font size=2 face="sans-serif">window.c:340: error: (Each undeclared
identifier is reported only once</font>
<br><font size=2 face="sans-serif">window.c:340: error: for each function
it appears in.)</font>
<br><font size=2 face="sans-serif">window.c:343: error: too many arguments
to function 'tgoto'</font>
<br><font size=2 face="sans-serif">window.c: In function 'wscroll':</font>
<br><font size=2 face="sans-serif">window.c:846: error: too many arguments
to function 'tgoto'</font>
<br><font size=2 face="sans-serif">window.c:857: error: too many arguments
to function 'tgoto'</font>
<br><font size=2 face="sans-serif">window.c: In function 'win_init':</font>
<br><font size=2 face="sans-serif">window.c:1944: error: too many arguments
to function 'tgetent'</font>
<br><font size=2 face="sans-serif">window.c:1956: error: too many arguments
to function 'tgetstr'</font>
<br><font size=2 face="sans-serif">window.c:1965: error: too many arguments
to function 'tgetnum'</font>
<br><font size=2 face="sans-serif">window.c:1969: error: too many arguments
to function 'tgetnum'</font>
<br><font size=2 face="sans-serif">window.c:1975: error: too many arguments
to function 'tgetstr'</font>
<br><font size=2 face="sans-serif">window.c:1976: error: too many arguments
to function 'tgetstr'</font>
<br><font size=2 face="sans-serif">window.c:1977: error: too many arguments
to function 'tgetstr'</font>
<br><font size=2 face="sans-serif">window.c:1978: error: too many arguments
to function 'tgetstr'</font>
<br><font size=2 face="sans-serif">window.c:1979: error: too many arguments
to function 'tgetstr'</font>
<br><font size=2 face="sans-serif">window.c:1980: error: too many arguments
to function 'tgetstr'</font>
<br><font size=2 face="sans-serif">window.c:1981: error: too many arguments
to function 'tgetstr'</font>
<br>
<br><font size=2 face="sans-serif">window.c:2062: error: too many arguments
to function 'tgetflag'</font>
<br><font size=2 face="sans-serif">window.c:2063: error: too many arguments
to function 'tgetflag'</font>
<br><font size=2 face="sans-serif">make[2]: *** [window.o] Error 1</font>
<br><font size=2 face="sans-serif">make[2]: Leaving directory `/root/downloadMAGNETRelated/minicom-2.2/src'</font>
<br><font size=2 face="sans-serif">make[1]: *** [all-recursive] Error 1</font>
<br><font size=2 face="sans-serif">make[1]: Leaving directory `/root/downloadMAGNETRelated/minicom-2.2'</font>
<br><font size=2 face="sans-serif">make: *** [all] Error 2</font>
<br>
<br>
<br><font size=2 face="sans-serif">I had set </font>
<br><font size=2 face="sans-serif">export &nbsp;LD_LIBRARY_PATH=/opt/crosstool/gcc-4.1.1-glibc-2.2.2/arm-linux/lib</font>
<br>
<br>
<br><font size=2 face="sans-serif">Then also it is not getting curses.
Where i am doing wrong. </font>
<br><font size=2 face="sans-serif">Please help me in this regard. It is
very urgent.</font>
<br>
<br>
<br><font size=2 face="sans-serif">Thanks and regards<br>
Prabha J.<br>
Tata Consultancy Services<br>
Mailto: prabha.j@tcs.com<br>
Website: http://www.tcs.com<br>
____________________________________________<br>
Experience certainty. &nbsp; &nbsp; &nbsp; &nbsp;IT Services<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp;Business Solutions<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp;Outsourcing<br>
____________________________________________</font><pre>=====-----=====-----=====
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


</pre>