[Udpcast] compile udpcdialog failed

xy zou zouxy2008 at gmail.com
Sat Feb 14 14:16:00 CET 2009


I want to compile udpcast in fedora9(gcc version 4.3), my process as
follows:

1)  download and complile ncurses-5.7
2)  sudo make install  /* Install ncurses library */
3)  tar xfjv busybox-1.13.2.tar.bz2
4)  cd busybox-1.13.2
5)  tar xfzv ../udpcast-20081213.tar.gz
6)  (cd udpcast-20081213  && ./configure)
7)  tar xfzv ../udpbusybox-20081130.tar.gz
8)  ../addBbApp.pl udpcdialog udpcast-20081213
9)  make *defconfig*  /* Create the maximum "sane" configuration. */
10) vi Makefile, modify line to LDLIBS := pthread ncurses
11) make

But i got following error message:
udpcdialog/lib.a(udpc_dialog.o):(__libc_atexit+0x0): undefined
reference to '_IO_cleanup'
collect2: ld returned 1 exit status
make: *** [busybox_unstripped] Error 1

I think that the problem is with shared libc library.
nm result as follows:
$ nm /usr/lib/libc.a | grep _IO_cleanup

         U _IO_cleanup
00001330 T _IO_cleanup
00000000 r __elf_set__libc_atexit_element__IO_cleanup__
         U _IO_cleanup

I need help !!!

wanyozxy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.udpcast.linux.lu/pipermail/udpcast/attachments/20090214/3ebf3025/attachment.html>


More information about the Udpcast mailing list