5 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Compilation error...
FromSent OnAttachments
Stefan HornburgAug 25, 2005 6:16 am 
Sam VarshavchikAug 25, 2005 3:33 pm 
Martin OrrAug 29, 2005 9:43 am 
Sam VarshavchikAug 29, 2005 3:34 pm 
Alessandro VeselyJul 31, 2006 3:56 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] Compilation error on Debian sargeActions...
From:Martin Orr (cour@martinorr.name)
Date:Aug 29, 2005 9:43:07 am
List:net.sourceforge.lists.courier-users

On 25/08/05 23:32, Sam Varshavchik wrote:

I'm the Debian maintainer of Courier and try to build Debian packages for courier-authlib 0.57 / courier 0.51 on Debian sarge. courier-authlib 0.56 / courier 0.50 builds worked fine.

I appreciate any help with the following problem:

/usr/lib/libfam.a(fam.o)(.text+0x39): In function `FAMOpen2': : undefined reference to `operator new(unsigned)'

Why are you statically linking against libfam.a?

You should be linking against the equivalent shared library, libfam.so.

Contact FAM's maintainer to find out why Debian's FAM isn't built as a shared library.

It is not Debian or FAM's fault. It is Courier itself which is requesting static linking here, as maildir/Makefile.am in Courier 0.51.0 contains maildirkw_LDFLAGS=-static

After removing the above line and running aclocal && automake --foreign in maildir, I was able to build the package on my Debian etch system. I don't see why this should be a Debian-specific problem though.