AnsweredAssumed Answered

LTIB build fails on lkc, using Ubuntu 11.10 and LTIB 9.1.1

Question asked by AdCmo on Nov 18, 2011

All,

I ran:

./ltib -m config

All the following build OK:

Processing: rpm-fs
Processing: fake-provide
Processing: mkspooflinks
Processing: distcc     
Processing: ccache     
Processing: bison      
Processing: flex       
Processing: texinfo    
Processing: autoconf   
Processing: libtool    
...

LTIB breaks at lkc with this error:

...

Processing: lkc
=================

....

util.c:(.text+0xa58): undefined reference to `winch'
util.c:(.text+0xa6c): undefined reference to `waddch'
util.c:(.text+0xa8b): undefined reference to `wnoutrefresh'
collect2: ld returned 1 exit status
make: *** [mconf] Error 1
error: Bad exit status from /opt/freescale/ltib/tmp/rpm-tmp.33058 (%build)


RPM build errors:
    Bad exit status from /opt/freescale/ltib/tmp/rpm-tmp.33058 (%build)
Build time for lkc: 2 seconds

Failed building lkc
Died at ./ltib line 1380.
traceback:
 main::build_host_rpms:1380
  main::host_checks:1435
   main:542

 

I read somwere that it might be becuase of ncurses.

I installed libncurses5-dev

All,

I ran:

./ltib -m config

All the following build OK:

Processing: rpm-fs
Processing: fake-provide
Processing: mkspooflinks
Processing: distcc     
Processing: ccache     
Processing: bison      
Processing: flex       
Processing: texinfo    
Processing: autoconf   
Processing: libtool    
...

LTIB breaks at lkc with this error:

...

Processing: lkc
=================

....

util.c:(.text+0xa58): undefined reference to `winch'
util.c:(.text+0xa6c): undefined reference to `waddch'
util.c:(.text+0xa8b): undefined reference to `wnoutrefresh'
collect2: ld returned 1 exit status
make: *** [mconf] Error 1
error: Bad exit status from /opt/freescale/ltib/tmp/rpm-tmp.33058 (%build)


RPM build errors:
    Bad exit status from /opt/freescale/ltib/tmp/rpm-tmp.33058 (%build)
Build time for lkc: 2 seconds

Failed building lkc
Died at ./ltib line 1380.
traceback:
 main::build_host_rpms:1380
  main::host_checks:1435
   main:542

----------------------------------------------------

I read somwere that it might be becuase of ncurses.

I installed "libncursesw5-dev" which was picked instead of "libncurses-dev"
and "ncurses-dev" which I tried.

 

Any clues what I am missing?

"/opt/freescale/ltib/tmp/rpm-tmp.33058" is attached:

Thanks,

Ad.

------------------------------

Original Attachment has been moved to: 518-optfreescaleltibtmprpmtmp.33058

Outcomes