- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
I have modified the Makefile of ~/apps/telnetd. It is working fine. you have to just change the makefile as give below: ******************************************************************************** *** The below is telnetd-Makefile modified version (modified by Goutam) ******************************************************************************** ***# # configurable options# - set DEBUG = 1 to turn on debugging support# DEBUG = 0 PROJ_NAME = telnetd INSTALL_DIR = ~/rootfs PROGS := $(PROJ_NAME) CFLAGS += -O2 CROSS := nios2-linux-uclibc- CC := $(CROSS)gcc # # You should not need to modify anything beyond this point# FLTFLAGS := -s 8192 CFLAGS += -DPARANOID_TTYS -DTERMCAP -DUSE_TERMIO -DKLUDGELINEMODE -D_GNU_SOURCE OBJS = global.o logwtmp.o state.o telnetd.o termstat.o authenc.o logout.o slc.o sys_term.o utility.o all: $(PROGS) $(PROJ_NAME): $(OBJS) $(CC) -elf2flt="$(FLTFLAGS)" -o $@ $^ .PHONY: clean clean: -rm -f *.[oad] *.gdb $(PROJ_NAME) .PHONY: install install: all ifeq "$(INSTALL_DIR)" "" $(error No installation directory specified) endif mkdir -p $(INSTALL_DIR)/bin install -v $(PROGS) $(INSTALL_DIR)/bin ******************************************************************************** ***Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi:
why I run telned follow you guide,but failed, the failed information in telnet ternimal is: login: incailid option -- t BusyBox v1.1.1-pre <2006.05.18-01:52+000> multi-call binary Usage: login [OPTION]...[username] [ENV=VAR ...] Begin a new session on the system Thanks
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