* Floating point exceptions while running RADIANCE on Redhat Linux 5.1 for ALphaPCs
@ 1998-09-16 4:00 Peter Doering
0 siblings, 0 replies; only message in thread
From: Peter Doering @ 1998-09-16 4:00 UTC (permalink / raw)
Hi Guys,
I am finally at a point where I could use some advice. The first thing I
ran into when tried to compile the RADIANCE package (which I have from
the CD in the book, which is an outstanding and exceptional piece of
work BTW)
was that the librt.a was not built because :
error.c:14: conflicting types for `sys_errlist'
/usr/include/stdio.h:221: previous declaration of `sys_errlist'
make: *** [error.o] Error 1
make: Target `install' not remade because of errors.
To fix this, I out-commented these definition in error.c. The second
thing was the X11 library and include paths, which had to be included in
the rmake command. After that the compilation worked fine. There were a
lot of warning messages though, but everything was where it was supposed
to be.
Just to test if everything works, I startet a "make" in the obj/cabin
directory. The rview interface came up as expected and started refining
the scene but:
make: *** [view] Floating point exception (core dumped)
I tried it the same with the "office" and the "conf" models from the CD
but I always run into this Floating point exception. I played with a few
compiler switches and makeall-install-cleaned the package several times,
but it is always the same message I get and I have seriously no idea how
to get around this error.
My current rmake command is:
#!/bin/sh
exec make "SPECIAL=" \
"OPT=-O2 -DSPEED=60" \
"MACH=-DALIGN=double -DBSD -Dlinux -DDCL_ATOF -Dqsort=_quicksort
\
-DBIGMEM -L/usr/X11R6/lib -I/usr/X11R6/include" \
ARCH=ALPHA "COMPAT=bmalloc.o erf.o getpagesize.o strcmp.o" \
INSTDIR=/usr/local/bin/ray \
LIBDIR=/usr/local/lib/ray \
CC=gcc "$@" -f Rmakefile
My System:
System: AlphaPC 164LX
Processor: Digital Alpha 21164 Revision 7.2
Clock speed: 533 Mhz
Cache: 2MB 3rd level
Memory: 64MB
Operating System:
Redhat Linux 5.1 for Alpha Computers
compiler : gcc (egcs 1.0.2)
Examples of the differnt warning messages the compiler generated during
the compilation :
(The file size of the complete file with all the warning messages is
19KB)
header.c: In function `checkheader':
header.c:244: warning: type mismatch in implicit declaration for
built-in function `strcpy'
image.c: In function `viewopt':
image.c:442: warning: type mismatch in implicit declaration for built-in
function `strlen'
plot.c:224: warning: `spop' was declared implicitly `extern' and later
`static'
plot.c:215: warning: previous declaration of `spop'
bmalloc.c:57: warning: cast from pointer to integer of different size
lampcolor.o: In function `main':
lampcolor.c(.text+0x100): the `gets' function is dangerous and should
not be used.
function `openmain':
xform.c(.text+0x2720): the `getwd' function is dangerous and should not
be used.
mkillum.c: In function `init':
mkillum.c:165: warning: passing arg 2 of `signal' from incompatible
pointer typ
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1998-09-16 4:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-09-16 4:00 Floating point exceptions while running RADIANCE on Redhat Linux 5.1 for ALphaPCs Peter Doering
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox