Altera_Forum
Honored Contributor
19 years agoutelnetd for uClinux
Hello,
I followed buildroot guide to build the uclinux image. Now I have to enable utelnetd command for remote login. What i did was: I download "utelnetd-0.1.3.tar.gz" and extracted. Then I compiled with following command: "CC=nios2-linux-uclibc-gcc make" Then I got following error: ******************************* nios2-linux-uclibc-gcc utelnetd.o -o utelnetd utelnetd.o(.text+0x9c8): In function `main': : undefined reference to `daemon' collect2: ld returned 1 exit status make: *** [utelnetd] Error 1 ******************************* As per web suggestion, I changes in "buildroot/toolchain_build_nios2/uClibc/libc/unistd/daemon.c" that as write vfork() instead of fork() and compiled again the uclibc. Can anyone help me. or Is there any option in buildroot or uclinux-dist to use the utelnetd. thanks & regard, Goutam