* HELP: Compiling XFRACTINT on OSF/1
@ 1993-10-17 0:46 Richard Frost
1993-10-18 8:11 ` James Bonfield
0 siblings, 1 reply; 2+ messages in thread
From: Richard Frost @ 1993-10-17 0:46 UTC (permalink / raw)
I have been having _ALOT_ of problems compiling this program.
After reading the Makefile, there has been some work done to get
this software to run on OSF/1. Basically someone identified some
additional compiler switches that were required and thats all.
I eventually got the thing to compile (after adding yet more switches!)
however, the program crashes with a segmentation fault. I have traced
the fault to a bad pointer in a call to memcpy(). I am giving
up at this point before I waste hours reading through tons of
code.
Has anyone compiled this thing?
If you have, please email me the changes you made to get it to compile.
Thanks.
--
.------. Richard Frost _--_|\ .------.
(}/`HI hi| rfrost@jrc.flinders.edu.au / \ Adelaide |HI hi'\{)
(| |------| Ph/Fax: +61-8-201-3651/3507 \_.--*_/ Sth Aust. |------| |)
)) | | _________________________._____________v____________ | | (\
CSIRO/Flinders Joint Research Centre | Researching Sync Remote Collaboration
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: HELP: Compiling XFRACTINT on OSF/1
1993-10-17 0:46 HELP: Compiling XFRACTINT on OSF/1 Richard Frost
@ 1993-10-18 8:11 ` James Bonfield
0 siblings, 0 replies; 2+ messages in thread
From: James Bonfield @ 1993-10-18 8:11 UTC (permalink / raw)
In <RFROST.93Oct16204654@degas.jrc.flinders.edu.au> rfrost@degas.jrc.flinders.edu.au (Richard Frost) writes:
> I have been having _ALOT_ of problems compiling this program.
Hardly suprising - it's most hideous. The worst bits are where a global
variable is defined int in one place, and then externed as char* somewhere
else. Ugh!
The code is riddled with 32 bit pointer assumptions. I did manage to get a
version that worked (it crashed now and then, but in general you could get a
piccy out of it). However I don't think I have the modified source around (got
fed up with my ultra hacks) - sorry. I'll have a look and post back if I find
them.
This was version 1.08 by the way. The main thing to do is grep for all longs
and see whether or not they should be longs. Perhaps they should still be
long, but given a better name such as size_t. Usually they're meant to be int.
Also, just compiling and running under the debugger highlights the above
pointer vs int bug, it's trivial to fix as I recall. In all though it's a
messy program and may take a while.
Good luck,
James
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1993-10-18 8:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-10-17 0:46 HELP: Compiling XFRACTINT on OSF/1 Richard Frost
1993-10-18 8:11 ` James Bonfield
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox