Message-ID: <4DTXKe$C41@bbs.pku.edu.cn>
Subject: Re: apue �������
Date: Tue, 03 Aug 2004 05:11:35 +0000
From: OShine@bbs.pku.edu.cn (oshine)
Path: 74.82.202.154!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-cn.bbs.comp.unix.development.mbox.zip!g2news1.google.com!news1.google.com!news.glorb.com!news.moat.net!ctu-peer!news.nctu.edu.tw!netnews.csie.nctu.edu.tw!maily.cic.tsinghua.edu.cn!news.happynet.org!PKU
Newsgroups: cn.bbs.comp.unix.development
Organization: ����未��站
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: Unix/M.1091509480.A
Xref: 74.82.202.154 cn.bbs.comp.unix.development:898
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.
--
[m[1;33m�� ��源:������未��站 bbs.pku.edu.cn��[FROM: 211.68.3.228][m