Re: g_convert on TRU64

Am Don, 2002-08-08 um 18.26 schrieb Sven Neumann:
> Hi,
> Bernd Demian <bdemian csc-dd de> writes:
> > I have porting an application from linux to TRU64 alpha.
> > When I write a little test programm whith glib all works fine, the
> > programm convert latin with german letters to utf and back.
> > And now, when I link the same programm with pthreads - g_convert fails?
> > I don't no why. I use glib 2.0.6 and TRU 64 4.0f. 
> > Have anybody an idea. In the test programm is no reference to threads.
> > Only link with -lpthread and g_convert does not work.
> sounds like the classic errno problem. Make sure that all libraries
> involved as well as the application are compiled with the correct
> compiler flags for reentrancy.
> Salut, Sven
Thanks, this was the best tip.
For all OSF (TRUE64) : if you use GNU iconv : you must compile it with
REENTRANT flag!!!! ( it is not default)
Bernd Demian <bdemian csc-dd de>
CSC Ploenzke

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