Return-Path: Delivered-To: apmail-httpd-apreq-dev-archive@httpd.apache.org Received: (qmail 81428 invoked by uid 500); 18 Dec 2002 15:20:07 -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 81409 invoked from network); 18 Dec 2002 15:20:07 -0000 Message-ID: <20021218152009.76747.qmail@web10002.mail.yahoo.com> Date: Wed, 18 Dec 2002 07:20:09 -0800 (PST) From: Tomo Subject: Re: libapreq for C only tests To: "David N. Welton" Cc: apreq-dev@httpd.apache.org In-Reply-To: <87vg1snlh4.fsf@dedasys.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Ok 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? I thought it may be a linker problem... # ld -G -o mod_teldir.so mod_teldir.o -lldap -lapreq ld: fatal: library -lapreq: not found ld: fatal: File processing errors. No output written to mod_teldir.so Thanks, for you help. Regards, Tomo --- "David N. Welton" wrote: > Tomo writes: > > > "You aren't compiling in the apache_request* stuff." I did not > > compile anything when untaring the package. Can you give me more > > detail or example of the meaning? > > I took the C sources, put them in the directory where I needed them, > and compiled them, together with my other files that I wrote. At > that > point, I use the linker to make a loadable shared object (.so) out of > the whole mess. Don't bother with the apreq build system, use your > "own". > > -- > 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/ __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com