Re: [Evolution-hackers] evolution-data-server cvs compilation errors



On Fri, 2005-01-07 at 16:29 +0100, Rodrigo Moya wrote:
> On Fri, 2005-01-07 at 15:13 +0000, Andrei Mikhailovsky wrote:
> > Hello.
> > 
> > I've tried to compile the cvs version of evolution-data-server, but
> > didn't succeed. Does anyone know how to fix this error:
> > 
> > gcc -g -O2 -Wall -Wmissing-prototypes -Wno-sign-compare
> > -o .libs/test-source-list test-source-list.o
> > -Wl,--export-dynamic  ./.libs/libedataserver-1.2.so
> > -pthread /usr/lib/libxml2.so -lz
> > -lm /usr/lib/libgnome-2.so /usr/lib/libpopt.so /usr/lib/libgnomevfs-2.so /usr/lib/libbonobo-2.so /usr/lib/libgconf-2.so /usr/lib/libbonobo-activation.so /usr/lib/libORBit-2.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libgthread-2.0.so /usr/lib/libglib-2.0.so -lpthread
> > /.libs/libedataserver-1.2.so: undefined reference to `PR_Poll'
> > /.libs/libedataserver-1.2.so: undefined reference to `PR_Close'
> > /.libs/libedataserver-1.2.so: undefined reference to `PR_Read'
> > /.libs/libedataserver-1.2.so: undefined reference to `PR_GetError'
> > /.libs/libedataserver-1.2.so: undefined reference to `PR_CreatePipe'
> > /.libs/libedataserver-1.2.so: undefined reference to `PR_Write'
> > collect2: ld returned 1 exit status
> > make[2]: *** [test-source-list] Error 1
> > make[2]: Leaving directory
> > `/usr/local/src/opengroupware/evolution-cvs/evolution-data-server/libedataserver'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory
> > `/usr/local/src/opengroupware/evolution-cvs/evolution-data-server'
> > make: *** [all] Error 2
> > 
> AFAIK, PR_* are from libnss, ie from mozilla's development packages. So
> maybe you're missing that? You need to pass --enable-nss to
> autogen.sh/configure to enable it.


i've got mozilla's dev packages installed, but for some reason the
configure script couldn't find them, so i've manually specified where
the headers are. After that it seemed to pass the error stage and
continues with the compilation.

Many thanks

-- 
Andrei Mikhailovsky
Arhont Ltd - Information Security

Web: http://www.arhont.com
     http://www.wi-foo.com
Tel: +44 (0)870 4431337
Fax: +44 (0)117 9690141
PGP: Key ID - 0xFF67A4F4
PGP: Server - keyserver.pgp.com

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]