On Tue, May 17, 2005 at 08:00:38PM -0000, Pawel Wiecek wrote:
> > Your package is failing to build on several arches because you're
> > not using -fPIC to make a shared lib.
> 
> >From the very same buildd log:
> 
> cc -c  -Iinclude -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN 
> -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE 
> -D_FILE_OFFSET_BITS=64 -O2 -g -Wall   -DVERSION=\"0.08\" 
> -DXS_VERSION=\"0.08\" -fPIC "-I/usr/lib/perl/5.8/CORE"   vpopmail.c
> 
> -fPIC is there.
> I'm trying to find a real reason for the builds failing, but it doesn't seem
> to be easy :^/

Actually, it complains about /usr/lib/libvpopmail.a, which is a
static lib (from libvpopmail-dev?)  Static libs should be build
without -fPIC, and you'll either need a shared lib to link too,
which really is what you should do, or ask for a special pic
version of the static lib, which I do not recommend at all.


Kurt



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to