Return-Path: Delivered-To: apmail-httpd-apreq-dev-archive@httpd.apache.org Received: (qmail 44573 invoked by uid 500); 18 Dec 2002 18:27:26 -0000 Mailing-List: contact apreq-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list apreq-dev@httpd.apache.org Received: (qmail 44554 invoked from network); 18 Dec 2002 18:27:25 -0000 To: Tomo Cc: apreq-dev@httpd.apache.org Subject: Re: libapreq for C only tests References: <20021218152009.76747.qmail@web10002.mail.yahoo.com> From: davidw@dedasys.com (David N. Welton) Date: 18 Dec 2002 10:34:04 -0800 Message-ID: <87ptrzdvmr.fsf@dedasys.com> Lines: 22 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Tomo writes: > I had first tried compiling them but didn't know to link them. For > example I used the ldap api and linked it with: '-lldap' flag. > What flag do I need to link libareq properley? Well, if you are compiling it in directly (ie compiling the C files together with yours), you obviously don't need to link to the library. > I thought it may be a linker problem... I think you might want to check out a good book on C development. Unfortunately, I don't have any good recommendations that explain how to compile and link multiple files. -- David N. Welton Consulting: http://www.dedasys.com/ Personal: http://www.dedasys.com/davidw/ Free Software: http://www.dedasys.com/freesoftware/ Apache Tcl: http://tcl.apache.org/