On Mon, 2006-01-09 at 12:46 +0900, Chris White wrote: > Hi all, > > I was noticing that librra.so doesn't build with pic support and is a shared > library. Interestingly enough all the .o files some to be compiled with pic, > just this one section doesn't: > > i686-pc-linux-gnu-gcc > -shared .libs/appointment.o .libs/dbstream.o .libs/common_handlers.o > .libs/contact.o .libs/environment.o .libs/generator.o .libs/parser.o > .libs/recurrence.o .libs/recurrence_pattern.o .libs/matchmaker.o > .libs/mdir_line_vector.o .libs/rrac.o .libs/strbuf.o .libs/strv.o > .libs/syncmgr.o .libs/task.o .libs/timezone.o .libs/uint32vector.o > -lmimedir /usr/lib/librapi.so -L/usr/lib /usr/lib/libsynce.so > -march=pentium4 -mieee-fp -march=pentium4 -mieee-fp -Wl,-soname > -Wl,librra.so.0 -o .libs/librra.so.0.0.0 > > I've gone through a load of m4/.ac/Makefile's without much luck as to trace > back what is actually calling this line. There seems to be a $pic_flag > variable in aclocal.m4 which correctly addresses the different architecture > and compiler specific PIC settings, but the question is where to put it. > Thanks ahead of time for any responses.
Maybe it's because of -lmimedir? This bug shows some problem with mimedir and PIC: http://sourceforge.net/tracker/index.php?func=detail&aid=1225471&group_id=30550&atid=399601 -- Regards, -\- David Eriksson -/- SynCE - http://synce.sourceforge.net ScummVM - http://scummvm.sourceforge.net Desquirr - http://desquirr.sourceforge.net ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Synce-devel mailing list Synce-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synce-devel