thanks.
but I don't know how to link the libary .
the following is what I did:

%ln libmisc.a /home/apue/file/libmisc.a
%cd file
%gcc -o ls1.o ls1.c
fail /tmp/ccEBV8tD.o(.text+0x1f): In function `main':
: undefined reference to `err_quit'
/tmp/ccEBV8tD.o(.text+0x53): In function `main':
: undefined reference to `err_sys'
collect2: ld returned 1 exit status

�� �� iSight (mac) �拇������到: ��
: you need either link the  libary druing compile time or  put the lib
: into your libary path.


--
�� ��源:������未��站 bbs.pku.edu.cn��[FROM: 211.68.3.228]