Can ANYONE explain this????? (ELF problems)

Can ANYONE explain this????? (ELF problems)

Post by Michiel Tonema » Wed, 31 Jan 1996 04:00:00



This is a question I have asked before, but I couldn't determine if my
setup was the problem. NOW THINGS ARE DIFFERENT THOUGH!! I've (completely
from scratch) installed slakware 3.0 (ELF).

I have written a tiny program that writes output to an X window. It is
basically a series of simple calculations with for every calculation a
call to XDrawLine. It is very simple; it only uses libc libm and libX11.

For some reason, it will run great when compiled under a.out (with -b
i486-linuxaout), but when compiled with ELF, it does some strange things.

The program will stop! Clicking the mouse in the window or pressing
buttons or exposing it will (for only a few steps) make the program
continue. i.e. If there are events, the program will run.

If the programs has stopped, the value of my counter which keeps track of
the program (and which is related to the values used for the coordinates
of the XDrawLine calls) gets set to zero.

Please help me, I haven't a clue what the problem could be (The program
works fine when compiled on a HP-UX machine).

I can send the code to anyone that wants to see for themselves (don't
take my word for it), it's only 10K.

Greetings,

Michiel Toneman (running kernel 1.2.13)

 
 
 

1. ELF binaries--explain 'em please

OK.  I missed this discussion the last time it came around.  I was busy
with other stuff.  Could someone explain ELF binaries to me?  I don't
mind being RTFMed if I'm told which FM to R.  I'm going to install gcc-2.6.3
from source tomorrow--all 6.5M of it.  Will that have info?  Where can I
find some?  TIA.

Also, If I've posted to the wrong group, don't waste time flaming me, just
redirect followups.  I figured this'd be the most likely candidate.
--
Richard Cooley Extraordinaire           "Yeah.  Arrgh."


2. Stack corruption?

3. can anyone explain this?

4. Looking for an AGP Video card recommendation

5. Can anyone explain this apache access log entry

6. Apache 1.3.0 paths

7. Anyone can explain this? About iowait.

8. 2.4.17.. multiple oops 's

9. Can anyone explain this?

10. Can anyone explain this

11. Can anyone explain why this happened?

12. Can anyone explain this?

13. Complex Construct - Can anyone explain?