Re: no-undefined, solaris sun studio and pain

2009-12-23 Thread Monty Taylor
I should add - also removing -zdefs works, as -zdefs causes the Sun Studio compiler to throw the undefined symbols warnings. Monty Taylor wrote: > Hi! > > I'm working on a build issue on Solaris with Sun Studio. In short, I've > baked it down to this: > > lib_LTLIBRARIES = libprotobuf.la libprot

no-undefined, solaris sun studio and pain

2009-12-23 Thread Monty Taylor
Hi! I'm working on a build issue on Solaris with Sun Studio. In short, I've baked it down to this: lib_LTLIBRARIES = libprotobuf.la libprotoc.la libprotobuf_la_LIBADD = $(PTHREAD_LIBS) libprotobuf_la_LDFLAGS = -version-info 6:0:0 -export-dynamic -no-undefined libprotoc_la_LIBADD = $(PTHREAD_LIB

Re: use of -flat_namespace on darwin

2009-12-23 Thread Adam Mercer
On Wed, Dec 23, 2009 at 16:30, Peter O'Gorman wrote: >> In one of our projects we are experiencing a problem which seems to be >> related to the fact that the -flat_namespace option is not being >> passed to the linker, looking into why this is the case I see the >> following code in libtool.m4:

Re: use of -flat_namespace on darwin

2009-12-23 Thread Peter O'Gorman
Hi Adam, On 12/22/2009 04:56 PM, Adam Mercer wrote: In one of our projects we are experiencing a problem which seems to be related to the fact that the -flat_namespace option is not being passed to the linker, looking into why this is the case I see the following code in libtool.m4: What is t