Building ncurses with uclibc toolchain fails

Joakim Tjernlund joakim.tjernlund at transmode.se
Mon Jun 4 07:30:36 UTC 2007


On Sat, 2007-06-02 at 17:21 +0800, sumit.jain at nokia.com wrote:
> Large file support is enabled.  "UCLIBC_HAS_LFS=y" is set in the config
> file.
> 
> 
> Regards,
> Sumit
> 
> Sumit Kumar Jain
> Nokia India Pvt. Ltd.
> Bangalore.
> 
> -----Original Message-----
> From: ext Joakim Tjernlund [mailto:joakim.tjernlund at transmode.se] 
> Sent: Friday, June 01, 2007 5:09 PM
> To: Jain Sumit (Nokia-TP-MSW/Bangalore)
> Cc: uclibc at uclibc.org; scratchbox-users at lists.scratchbox.org
> Subject: Re: Building ncurses with uclibc toolchain fails
> 
> On Fri, 2007-06-01 at 19:21 +0800, sumit.jain at nokia.com wrote:
> > Hi,
> > I am trying to build ncurses using a uclibc toolchain. I am using the 
> > debian way of build and am using
> > 
> > dpkg-buildpackage -rfakeroot -uc -us
> > 
> > to build. The ncurses version that I am using is 5.4. I am getting the
> 
> > following error. I have mentioned only the small error.
> > 
> > dlsym(__lxstat): Unable to resolve symbol
> > dlsym(__xstat): Unable to resolve symbol
> > dlsym(__fxstat): Unable to resolve symbol
> > dlsym(__lxstat64): Unable to resolve symbol
> > dlsym(__xstat64): Unable to resolve symbol
> > dlsym(__fxstat64): Unable to resolve symbol
> > dlsym(__xmknod): Unable to resolve symbol
> 
> missing large file support(UCLIBC_HAS_LFS)in uClibc?
> 
hmm, this actually looks like a run-time error. Are you sure
ncurses has a dependency on libc? Post readelf -d ncurses.so
to the list.

> > ? tic could not
> > build 
> > /home/sumit/uclibc_disro/ncurses-5.4/debian/tmp/usr/share/terminfo
> > make[2]: *** [install.data] Error 1
> > make[2]: Leaving directory
> > `/home/sumit/uclibc_disro/ncurses-5.4/obj-debug/misc' 
> > make[1]: *** [install] Error 2
> > make[1]: Leaving directory
> > `/home/sumit/uclibc_disro/ncurses-5.4/obj-debug' 
> > make: *** [install] Error 2
> > 
> > I think the problem is because of some glibc extension in C library.
> > Any help as to how to build.
> > 
> > Regards,
> > Sumit
> > 
> > Sumit Kumar Jain
> > Nokia India Pvt. Ltd. 
> > Bangalore.
> > 
> > _______________________________________________
> > uClibc mailing list
> > uClibc at uclibc.org
> > http://busybox.net/cgi-bin/mailman/listinfo/uclibc
> 
> 



More information about the uClibc mailing list