- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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, GoutamLink Copied
5 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Many servers, like ftpd,telnetd,sshd ported in uClinux-dist, should be invoked by inetd.
They may have problem running standalone. There is no support of fork() and daemon(), because current Nios II has no MMU. you may need to enable pty support in kernel to use telnetd and sshd.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Hippo,
I had already enable the option of pty support in kernel configuration. But, the due to daemon() undefined reference, the daemon elf file has not created. I tried to create the inetd, but it is also not came in /etc/. Kindly suggest me that what to do for enabling the telenetd and tftpd for uclinux. thanks & regards, Goutam- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by goutam_kumar@May 11 2006, 07:07 PM hi hippo,
i had already enable the option of pty support in kernel configuration.
but, the due to daemon() undefined reference, the daemon elf file has
not created.
i tried to create the inetd, but it is also not came in /etc/.
kindly suggest me that what to do for enabling the telenetd and tftpd for uclinux.
thanks & regards,
goutam
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=15291)
--- quote end ---
--- Quote End --- please follow step13, for inetd,telnetd and step14, for tftpd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Hippo,
with a very Good Morning, I have to say that I am able created telnetd. But yet I havn't check it on the board. I will acknowledge afterwards. For step 14, I have some query. Please clarify these: 1. while doing "make menuconfig" in uclinux-dist-test. it is asking for busybox, tinylogin and all other utility. for selecting tftpd, is it necessary to select again busybox in uclinux-dist? 2. i am working with uclinux-dist-test (from uclinux-dist-20051209.tar.gz is it ok or I can use the uclinux-dist-20051110.tar.gs? This week, I haven't get any single significant progress. My Boss will kill me on monday. Please, help me! thanks & regarding Goutam- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by goutam_kumar@May 12 2006, 02:15 PM hi hippo,
with a very good morning, i have to say that i am able created telnetd.
but yet i havn't check it on the board. i will acknowledge afterwards.
for step 14, i have some query. please clarify these:
1. while doing "make menuconfig" in uclinux-dist-test.
it is asking for busybox, tinylogin and all other utility.
for selecting tftpd, is it necessary to select again busybox in uclinux-dist?
2. i am working with uclinux-dist-test (from uclinux-dist-20051209.tar.gz
is it ok or i can use the uclinux-dist-20051110.tar.gs?
this week, i haven't get any single significant progress.
my boss will kill me on monday.
please, help me!
thanks & regarding
goutam
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=15313)
--- quote end ---
--- Quote End --- I have updated build script, check the buildroot guide again. You should use uclinux-dist-20051110. We already have busybox in buildroot, so don't select busybox again. Select only what you need, the tftpd, and clear all others. Bless you.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page