Message-ID: <4DTdEV$BW2@bbs.pku.edu.cn>
Subject: Re: apue �������
Date: Tue, 03 Aug 2004 08:52:08 +0000
From: rainwoodman@bbs.pku.edu.cn (woodman)
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!newshosting.com!nx02.iad01.newshosting.com!feed2.newsreader.com!newsreader.com!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.1091523007.A
Xref: 74.82.202.154 cn.bbs.comp.unix.development:900

�����要��.c��一��.o�募�么��

try gcc -c -o ls1.o ls1.c

�� �� OShine (oshine) �拇������到: ��
: 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':
: /tmp/ccEBV8tD.o(.text+0x53): In function `main':
: collect2: ld returned 1 exit status


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