From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from RCS-9000.COM (unknown [218.94.131.104]) by ozlabs.org (Postfix) with ESMTP id A012E681B0 for ; Wed, 31 Aug 2005 17:55:37 +1000 (EST) Date: Wed, 31 Aug 2005 15:58:31 +0800 Message-Id: <200508311558.AA3342540@RCS-9000.COM> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: "zhonglei" To: Subject: how to link .o Reply-To: zhonglei@RCS-9000.COM List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , hi In my module htm.c , I use the a set of API function in bestcomm.o. I include the bestcomm.h in htm.c and in makefile I write: ppc_82xx-gcc -c htm.c . when I insmod htm.o , the "unresolved symbol" error happens because there is no definition of the function. My question is: What command should I write in makefile to link the bestcomm.o into my htm.o to make the function defined? BestRegards zhonglei