2009-03-04 16:07:00     Lua 5.1.4 compile error (svn trunk)

Document created by Aaronwu Employee on Aug 14, 2013
Version 1Show Document
  • View in full screen mode

2009-03-04 16:07:00     Lua 5.1.4 compile error (svn trunk)

Rob Maris (GERMANY)

Message: 70383   

 

When I activate lua, the following errors are generated (via "make single"):

 

Note: An earlier version before change to 5.1.4 compiled properly.

 

[ ! -d "lua" ] || ( touch lua/.sgbuilt_user && make -C lua ) || exit $?        

make[4]: Betrete Verzeichnis '/home/rob/uClinux_2.6.4/uclinux-dist/user/lua'   

make \                                                                         

                -C lua-5.1.4 \                                                 

                INSTALL_TOP=/usr \                                             

                PLAT=generic \                                                 

                CC=bfin-linux-uclibc-gcc \

                AR="bfin-linux-uclibc-ar rcu" \

                RANLIB=bfin-linux-uclibc-ranlib \

                MYLIBS=" -ldl -lreadline -lhistory"

make[5]: Betrete Verzeichnis '/home/rob/uClinux_2.6.4/uclinux-dist/user/lua/lua-5.1.4'

cd src && make generic

make[6]: Betrete Verzeichnis '/home/rob/uClinux_2.6.4/uclinux-dist/user/lua/lua-5.1.4/src'

make all MYCFLAGS=

make[7]: Betrete Verzeichnis '/home/rob/uClinux_2.6.4/uclinux-dist/user/lua/lua-5.1.4/src'

bfin-linux-uclibc-gcc -o lua  lua.o liblua.a -lm -ldl -lreadline -lhistory

/home/rob/uClinux_2.6.4/uclinux-dist/staging/usr/lib/libreadline.so: undefined reference to `_BC'

/home/rob/uClinux_2.6.4/uclinux-dist/staging/usr/lib/libreadline.so: undefined reference to `_tgetstr'

/home/rob/uClinux_2.6.4/uclinux-dist/staging/usr/lib/libreadline.so: undefined reference to `_tputs'

/home/rob/uClinux_2.6.4/uclinux-dist/staging/usr/lib/libreadline.so: undefined reference to `_UP'

/home/rob/uClinux_2.6.4/uclinux-dist/staging/usr/lib/libreadline.so: undefined reference to `_PC'

/home/rob/uClinux_2.6.4/uclinux-dist/staging/usr/lib/libreadline.so: undefined reference to `_tgetent'

/home/rob/uClinux_2.6.4/uclinux-dist/staging/usr/lib/libreadline.so: undefined reference to `_tgetnum'

/home/rob/uClinux_2.6.4/uclinux-dist/staging/usr/lib/libreadline.so: undefined reference to `_tgoto'

/home/rob/uClinux_2.6.4/uclinux-dist/staging/usr/lib/libreadline.so: undefined reference to `_tgetflag'

collect2: ld returned 1 exit status

make[7]: *** [lua] Fehler 1

make[7]: Verlasse Verzeichnis '/home/rob/uClinux_2.6.4/uclinux-dist/user/lua/lua-5.1.4/src'

make[6]: *** [generic] Fehler 2

make[6]: Verlasse Verzeichnis '/home/rob/uClinux_2.6.4/uclinux-dist/user/lua/lua-5.1.4/src'

make[5]: *** [generic] Fehler 2

make[5]: Verlasse Verzeichnis '/home/rob/uClinux_2.6.4/uclinux-dist/user/lua/lua-5.1.4'

make[4]: *** [all] Fehler 2

make[4]: Verlasse Verzeichnis '/home/rob/uClinux_2.6.4/uclinux-dist/user/lua'

make[3]: *** [lua] Fehler 2

make[3]: Verlasse Verzeichnis '/home/rob/uClinux_2.6.4/uclinux-dist/user'

make[2]: *** [all] Fehler 2

make[2]: Verlasse Verzeichnis '/home/rob/uClinux_2.6.4/uclinux-dist/user'

make[1]: *** [subdirs] Fehler 1

make[1]: Verlasse Verzeichnis '/home/rob/uClinux_2.6.4/uclinux-dist'

make: *** [single] Fehler 2

rob@rob-desktop:~/uClinux_2.6.4/uclinux-dist$

 

 

 

QuoteReplyEditDelete

 

 

2009-03-04 16:54:52     Re: Lua 5.1.4 compile error (svn trunk)

Mike Frysinger (UNITED STATES)

Message: 70385   

 

that's because older lua didnt properly support readline

 

either disable readline support or sync up and rebuild readline ... i just fixed it so that it forces ncurses as the termcap provider

QuoteReplyEditDelete

 

 

2009-03-05 03:36:54     Re: Lua 5.1.4 compile error (svn trunk)

Rob Maris (GERMANY)

Message: 70418   

 

Prior to syncing svn I tried to compile deselect readline. Then another build error arose, showing now that readline is explcitly needed by lua.

 

After syncing, including readline support, lua operates properly.

QuoteReplyEditDelete

Attachments

    Outcomes