X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: "liuseu" Newsgroups: comp.os.msdos.djgpp Subject: how to correct link error Date: 15 Jan 2006 20:47:05 -0800 Organization: http://groups.google.com Lines: 10 Message-ID: <1137386825.476664.256630@g49g2000cwa.googlegroups.com> NNTP-Posting-Host: 58.37.142.192 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1137386830 30670 127.0.0.1 (16 Jan 2006 04:47:10 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: Mon, 16 Jan 2006 04:47:10 +0000 (UTC) User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; zh-CN; rv:1.2.1) Gecko/20030225,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse AT google DOT com Injection-Info: g49g2000cwa.googlegroups.com; posting-host=58.37.142.192; posting-account=GmJeGw0AAABRUemGNTyCpPWXJ1XQ4Gi_ To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com hi, I have 3 programs, A, B & C, A need to link b.a. Now I add some code in B which defined in C. when make, it report link error. undefined reference to `VP_RESIZE_MODE' `VP_RESIZE_MODE' is defined in C, now I modify a:-lb -lc in Makefile, it report more link errors about C. How can I remove these errors? thanks