This is a discussion on Re: Invalid string offset problem in motif. - Motif ; Surya Kiran wrote: > Joe Durusau wrote in message news: ... > >>Surya Kiran wrote: >> >>>Hi all, >>>Dont know where to post this problem, and so i'm posting this question >>>on all the lists. Please do not think otherwise. ...
Surya Kiran wrote:
> Joe Durusau
wrote in message news:<3EA6AECF.74F07E0D@lmco.com>...
>>Surya Kiran wrote:
>>>Dont know where to post this problem, and so i'm posting this question
>>>on all the lists. Please do not think otherwise.
>>>I've created a statically linked motif application, on my Redhat 8.0
>>>machine, with g++-3.2 and Motif 2.1. The executable is running fine on
>>>redhat 7.3 machines, and some redhat 8.0 machines. On my machine
>>>(redhat 8.0) it was showing segmentation violation. I opened the
>>>executable in a debugger, and the debugger was showing an error
>>> invalid string offset 194 >= 128 for section `'
>>>(no debugging symbols found)...(gdb)
>>>what could have gone wrong. I was not able to figure out anything from
>>>the error message shown by the debugger.
>>>Thanks in advance,
>> As a first guess, although you said that this is a statically
>>linked app, see whether it has any refs to shared libs. There may
>>be some you don't know about, and they could be different on your
>>(maybe run ldd or some such against the executable).
>>Speaking only for myself,
> I've tested that... It has no references to any shared libs.
And that may well be the problem. Static linking to libc is inherently
Peaktime Belgium S.A. Bd. du Souverain, 191 B-1160 Bruxelles
Tel : +32 2 790.29.41