From owner-freebsd-questions Thu Jan 17 10: 1: 2 2002 Delivered-To: freebsd-questions@freebsd.org Received: from web20109.mail.yahoo.com (web20109.mail.yahoo.com [216.136.226.46]) by hub.freebsd.org (Postfix) with SMTP id 0BE5D37B400 for ; Thu, 17 Jan 2002 10:00:55 -0800 (PST) Message-ID: <20020117180054.63934.qmail@web20109.mail.yahoo.com> Received: from [24.100.124.207] by web20109.mail.yahoo.com via HTTP; Thu, 17 Jan 2002 10:00:54 PST Date: Thu, 17 Jan 2002 10:00:54 -0800 (PST) From: ann kok Subject: Re: learn and teach To: Marty Leisner , Jan Grant Cc: ann kok , freebsd-questions In-Reply-To: <200201170048.g0H0msr01863@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Dear Marty Thank you. I tried to install to linux but got the error Could you help me? [root@mail learn]# ls README learn.ms learn_no_ar.tar.gz lib src [root@mail learn]# cd src [root@mail src]# make cc -o learn -g '-DLLIB="../lib"' learn.c learn.c: In function `system': learn.c:653: warning: assignment from incompatible pointer type learn.c:654: warning: assignment from incompatible pointer type learn.c:665: warning: passing arg 2 of `signal' from incompatible pointer type learn.c:666: warning: passing arg 2 of `signal' from incompatible pointer type /tmp/ccEuh0QQ.o: In function `dounit': /usr/local/packages/learn/src/learn.c:369: the `gets' function is dangerous and should not be used. cc -g tee.c -o tee cc -g lcount.c -o lcount cp learn tee lcount ../lib Do 'make lessons' if you need to extract the lesson archives Do 'make play; make log' to make playpen and log directories [root@mail src]# make lessons rm -rf ../lib/files mkdir ../lib/files (cd ../lib/files; ar x ../files.a) ar: ../files.a: No such file or directory make: *** [files] Error 9 --- Marty Leisner wrote: > > I ran learn about 20 years ago...I felt it was > pretty good > to give an introduction. > > Brian Kernighan put it on his web site -- I may try > to build it. > > Its at: > > > http://plan9.bell-labs.com/who/bwk/learn_no_ar.tar.gz > > marty > __________________________________________________ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message