On Wed, Oct 13, 2010 at 05:52:11PM +0200, Michael Heidinger wrote:
> /usr/lib/gcc/i486-slackware-linux/4.4.4/../../../libreadline.so: 
> undefined reference to `PC'
> /usr/lib/gcc/i486-slackware-linux/4.4.4/../../../libreadline.so: 
> undefined reference to `tgetflag'
> /usr/lib/gcc/i486-slackware-linux/4.4.4/../../../libreadline.so: 
> undefined reference to `tgetent'
> /usr/lib/gcc/i486-slackware-linux/4.4.4/../../../libreadline.so: 
> undefined reference to `UP'
> /usr/lib/gcc/i486-slackware-linux/4.4.4/../../../libreadline.so: 
> undefined reference to `tputs'
> /usr/lib/gcc/i486-slackware-linux/4.4.4/../../../libreadline.so: 
> undefined reference to `tgoto'
> /usr/lib/gcc/i486-slackware-linux/4.4.4/../../../libreadline.so: 
> undefined reference to `tgetnum'
> /usr/lib/gcc/i486-slackware-linux/4.4.4/../../../libreadline.so: 
> undefined reference to `BC'
> /usr/lib/gcc/i486-slackware-linux/4.4.4/../../../libreadline.so: 
> undefined reference to `tgetstr'
> collect2: ld returned 1 exit status
> make: *** [mspdebug] Error 1

It looks like perhaps libreadline isn't linked correctly. If you edit
this line in the Makefile:

        READLINE_LIBS = -lreadline

and change it to:

        READLINE_LIBS = -lreadline -lncurses

Does that fix the problem?

- Daniel

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Mspgcc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to