apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <n...@webthing.com>
Subject Re: ERROR : (.text+0x3d): undefined reference to `apr_initialize'
Date Fri, 28 Apr 2006 09:41:25 GMT
On Friday 28 April 2006 08:22, Bojan Smojver wrote:
> Quoting ISF - Hassan Shabbir <hassanshabbir@isf.com.pk>:
> > 	gcc -o test test.o $(LIB)

You forgot to link the libraries!

>
> Have you tried with "-lapr-0 -laprutil-0" (or similar) at the end of
> the above?

ITYM apr-1 :-)

Which reminds me: what's the function of the numeric suffix?
I keep forgetting that and finding myself with "-lapr -laprutil"
in a makefile.

-- 
Nick Kew

Mime
View raw message