Upgrading to R4: "There were some errors."

Hi All,

I just attempted to upgrade my existing R3.9 installation on Ubuntu 9.10 to R4. I did:
sudo ./makeall install clean per the readme file (actually the readme doesn't mention sudo but a couple steps in i realized i needed it). Lots of scary things flashed by, and i caught various warnings going by. It then stopped with "There were some errors." So I tried an rtrace job that I know runs on 3.9, and it still runs. But when I add the -n option (-n 2 or -n 4, for example), it crashes with a fatal error: command line error at -n. (It's a four core machine with 4gb ram)

To the extent that it remained on the screen, the output from my installation follows. Any help would be greatly appreciated!

Thanks,
Cramer

Cramer Silkworth

212 219 2255 | [email protected]

Transsolar Inc. | 134 Spring Street Suite 601 | New York, NY 10012

Transsolar Climate Engineering

Technical consulting for energy efficiency and environmental quality in
buildings.

New York - Stuttgart - Munich

usr/include/X11 -DNOSTEREO -c -o pcond2.o pcond2.c
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o pcond3.o pcond3.c
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o pcond4.o pcond4.c
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -o pcond pcond.o pcond2.o pcond3.o pcond4.o warp3d.o \
-lrtrad -lm
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o pcwarp.o pcwarp.c
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -o pcwarp pcwarp.o warp3d.o -lrtrad -lm
make: Target `install' not remade because of errors.
rm -f pfilt ttyimage psign ra_tiff normtiff pvalue pcompos protate ra_hexbit ra_bmp ra_t8 ra_t16 pcomb pinterp pflip ra_ppm ximage xshowtrace ra_rgbe ra_pict ra_ps pextrem ra_gif ra_xyze macbethcal pcond pcwarp *.o core x11findwind.c
cd tiff; make distclean
make[1]: Entering directory `/home/nyclinux/Desktop/ray/src/px/tiff'
make[1]: *** No rule to make target `distclean'.
make[1]: Leaving directory `/home/nyclinux/Desktop/ray/src/px/tiff'
make: *** [clean] Error 2
~/Desktop/ray/src
~/Desktop/ray/src/hd ~/Desktop/ray/src
In directory hd...
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o rholo.o rholo.c
rholo.c: In function ‘creatholo’:
rholo.c:477: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
rholo.c:485: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
rholo.c: In function ‘loadholo’:
rholo.c:558: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o rholo2.o rholo2.c
rholo2.c: In function ‘getradfile’:
rholo2.c:350: warning: ignoring return value of ‘mktemp’, declared with attribute warn_unused_result
rholo2.c:374: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o rholo2l.o rholo2l.c
rholo2l.c: In function ‘start_rtrace’:
rholo2l.c:70: warning: ignoring return value of ‘mktemp’, declared with attribute warn_unused_result
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o rholo3.o rholo3.c
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o rholo4.o rholo4.c
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o holo.o holo.c
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o holofile.o holofile.c
holofile.c: In function ‘hdinit’:
holofile.c:249: warning: format ‘%ld’ expects type ‘long int’, but argument 3 has type ‘off_t’
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o viewbeams.o viewbeams.c
cp ../rt/Version.c .
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o Version.o Version.c
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -o rholo rholo.o rholo2.o rholo2l.o rholo3.o rholo4.o \
holo.o holofile.o viewbeams.o Version.o -lrtrad -lm
rholo2.o: In function `getradfile':
rholo2.c:(.text+0x25e): warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp'
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o rhpict.o rhpict.c
rhpict.c: In function ‘initialize’:
rhpict.c:307: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o rhpict2.o rhpict2.c
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -o rhpict rhpict.o rhpict2.o holo.o holofile.o \
viewbeams.o Version.o -lrtrad -lm
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o rhcopy.o rhcopy.c
rhcopy.c: In function ‘openholo’:
rhcopy.c:156: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o clumpbeams.o clumpbeams.c
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -o rhcopy rhcopy.o clumpbeams.o \
holo.o holofile.o -lrtrad -lm
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o genrhgrid.o genrhgrid.c
genrhgrid.c: In function ‘gridsect’:
genrhgrid.c:76: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result
genrhgrid.c:78: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -o genrhgrid genrhgrid.o holo.o -lrtrad -lm
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o rhoptimize.o rhoptimize.c
rhoptimize.c: In function ‘main’:
rhoptimize.c:79: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result
rhoptimize.c:84: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
rhoptimize.c:89: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -o rhoptimize rhoptimize.o clumpbeams.o \
holo.o holofile.o -lrtrad -lm
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o rhinfo.o rhinfo.c
rhinfo.c: In function ‘gethdinfo’:
rhinfo.c:69: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -o rhinfo rhinfo.o holo.o holofile.o -lrtrad -lm
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o rhdisp.o rhdisp.c
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o rhdisp2.o rhdisp2.c
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o rhd_x11.o rhd_x11.c
rhd_x11.c:11:23: error: X11/Xlib.h: No such file or directory
rhd_x11.c:12:29: error: X11/cursorfont.h: No such file or directory
rhd_x11.c:13:24: error: X11/Xutil.h: No such file or directory
rhd_x11.c:61: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘currentevent’
rhd_x11.c:68: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
rhd_x11.c:69: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ourvinfo’
rhd_x11.c:70: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gwind’
rhd_x11.c:71: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ourgc’
rhd_x11.c:72: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ourmap’
rhd_x11.c:91: error: expected ‘)’ before ‘*’ token
rhd_x11.c:93: error: expected ‘)’ before ‘*’ token
rhd_x11.c:94: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
rhd_x11.c:95: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
rhd_x11.c:96: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
rhd_x11.c: In function ‘dev_open’:
rhd_x11.c:129: error: ‘XSetWindowAttributes’ undeclared (first use in this function)
rhd_x11.c:129: error: (Each undeclared identifier is reported only once
rhd_x11.c:129: error: for each function it appears in.)
rhd_x11.c:129: error: expected ‘;’ before ‘ourwinattr’
rhd_x11.c:130: error: ‘XWMHints’ undeclared (first use in this function)
rhd_x11.c:130: error: expected ‘;’ before ‘ourxwmhints’
rhd_x11.c:131: error: ‘XSizeHints’ undeclared (first use in this function)
rhd_x11.c:131: error: expected ‘;’ before ‘oursizhints’
rhd_x11.c:135: error: ‘ourdisplay’ undeclared (first use in this function)
rhd_x11.c:141: error: ‘TrueColor’ undeclared (first use in this function)
rhd_x11.c:141: error: ‘ourvinfo’ undeclared (first use in this function)
rhd_x11.c:143: error: ‘DirectColor’ undeclared (first use in this function)
rhd_x11.c:152: error: ‘PseudoColor’ undeclared (first use in this function)
rhd_x11.c:154: error: ‘GrayScale’ undeclared (first use in this function)
rhd_x11.c:160: warning: assignment makes pointer from integer without a cast
rhd_x11.c:174: error: ‘ourwinattr’ undeclared (first use in this function)
rhd_x11.c:176: error: ‘StructureNotifyMask’ undeclared (first use in this function)
rhd_x11.c:176: error: ‘ExposureMask’ undeclared (first use in this function)
rhd_x11.c:176: error: ‘KeyPressMask’ undeclared (first use in this function)
rhd_x11.c:176: error: ‘ButtonPressMask’ undeclared (first use in this function)
rhd_x11.c:176: error: ‘ButtonReleaseMask’ undeclared (first use in this function)
rhd_x11.c:179: error: ‘AllocNone’ undeclared (first use in this function)
rhd_x11.c:180: error: ‘gwind’ undeclared (first use in this function)
rhd_x11.c:183: error: ‘InputOutput’ undeclared (first use in this function)
rhd_x11.c:184: error: ‘CWBackPixel’ undeclared (first use in this function)
rhd_x11.c:184: error: ‘CWBorderPixel’ undeclared (first use in this function)
rhd_x11.c:184: error: ‘CWColormap’ undeclared (first use in this function)
rhd_x11.c:184: error: ‘CWEventMask’ undeclared (first use in this function)
rhd_x11.c:189: error: ‘ourgc’ undeclared (first use in this function)
rhd_x11.c:191: error: ‘ourxwmhints’ undeclared (first use in this function)
rhd_x11.c:191: error: ‘InputHint’ undeclared (first use in this function)
rhd_x11.c:191: error: ‘IconPixmapHint’ undeclared (first use in this function)
rhd_x11.c:192: error: ‘True’ undeclared (first use in this function)
rhd_x11.c:196: error: ‘oursizhints’ undeclared (first use in this function)
rhd_x11.c:198: error: ‘PMinSize’ undeclared (first use in this function)
rhd_x11.c: In function ‘dev_close’:
rhd_x11.c:224: error: ‘ourdisplay’ undeclared (first use in this function)
rhd_x11.c:224: error: ‘ourgc’ undeclared (first use in this function)
rhd_x11.c:225: error: ‘gwind’ undeclared (first use in this function)
rhd_x11.c: In function ‘dev_view’:
rhd_x11.c:269: error: ‘ourdisplay’ undeclared (first use in this function)
rhd_x11.c:286: error: ‘gwind’ undeclared (first use in this function)
rhd_x11.c: In function ‘dev_input’:
rhd_x11.c:338: error: ‘ourdisplay’ undeclared (first use in this function)
rhd_x11.c: In function ‘dev_paintr’:
rhd_x11.c:363: error: ‘ourdisplay’ undeclared (first use in this function)
rhd_x11.c:363: error: ‘ourgc’ undeclared (first use in this function)
rhd_x11.c:364: error: ‘gwind’ undeclared (first use in this function)
rhd_x11.c: In function ‘dev_flush’:
rhd_x11.c:374: error: ‘ourdisplay’ undeclared (first use in this function)
rhd_x11.c: In function ‘xnewcolr’:
rhd_x11.c:386: error: ‘XColor’ undeclared (first use in this function)
rhd_x11.c:386: error: expected ‘;’ before ‘xcolor’
rhd_x11.c:388: error: ‘xcolor’ undeclared (first use in this function)
rhd_x11.c:392: error: ‘DoRed’ undeclared (first use in this function)
rhd_x11.c:392: error: ‘DoGreen’ undeclared (first use in this function)
rhd_x11.c:392: error: ‘DoBlue’ undeclared (first use in this function)
rhd_x11.c:394: error: ‘ourdisplay’ undeclared (first use in this function)
rhd_x11.c:394: error: ‘ourmap’ undeclared (first use in this function)
rhd_x11.c: In function ‘getpixels’:
rhd_x11.c:401: error: ‘XColor’ undeclared (first use in this function)
rhd_x11.c:401: error: expected ‘;’ before ‘thiscolor’
rhd_x11.c:406: error: ‘ourvinfo’ undeclared (first use in this function)
rhd_x11.c:406: error: ‘ourdisplay’ undeclared (first use in this function)
rhd_x11.c:407: error: ‘ourmap’ undeclared (first use in this function)
rhd_x11.c:411: error: ‘gwind’ undeclared (first use in this function)
rhd_x11.c:411: error: ‘AllocNone’ undeclared (first use in this function)
rhd_x11.c:434: error: ‘thiscolor’ undeclared (first use in this function)
rhd_x11.c:435: error: ‘DoRed’ undeclared (first use in this function)
rhd_x11.c:435: error: ‘DoGreen’ undeclared (first use in this function)
rhd_x11.c:435: error: ‘DoBlue’ undeclared (first use in this function)
rhd_x11.c: In function ‘freepixels’:
rhd_x11.c:455: error: ‘ourdisplay’ undeclared (first use in this function)
rhd_x11.c:455: error: ‘ourmap’ undeclared (first use in this function)
rhd_x11.c: In function ‘true_pixel’:
rhd_x11.c:472: error: ‘ourvinfo’ undeclared (first use in this function)
rhd_x11.c: In function ‘getevent’:
rhd_x11.c:482: error: ‘ourdisplay’ undeclared (first use in this function)
rhd_x11.c:482: error: ‘XEvent’ undeclared (first use in this function)
rhd_x11.c:482: error: expected expression before ‘)’ token
rhd_x11.c:483: error: expected expression before ‘)’ token
rhd_x11.c:484: error: ‘ConfigureNotify’ undeclared (first use in this function)
rhd_x11.c:485: error: ‘XConfigureEvent’ undeclared (first use in this function)
rhd_x11.c:485: error: expected expression before ‘)’ token
rhd_x11.c:487: error: ‘UnmapNotify’ undeclared (first use in this function)
rhd_x11.c:491: error: ‘MapNotify’ undeclared (first use in this function)
rhd_x11.c:492: error: ‘ourvinfo’ undeclared (first use in this function)
rhd_x11.c:492: error: ‘PseudoColor’ undeclared (first use in this function)
rhd_x11.c:493: error: ‘GrayScale’ undeclared (first use in this function)
rhd_x11.c:500: error: ‘Expose’ undeclared (first use in this function)
rhd_x11.c:501: error: ‘XExposeEvent’ undeclared (first use in this function)
rhd_x11.c:501: error: expected expression before ‘)’ token
rhd_x11.c:503: error: ‘KeyPress’ undeclared (first use in this function)
rhd_x11.c:504: error: ‘XKeyPressedEvent’ undeclared (first use in this function)
rhd_x11.c:504: error: expected expression before ‘)’ token
rhd_x11.c:506: error: ‘ButtonPress’ undeclared (first use in this function)
rhd_x11.c:507: error: ‘XButtonPressedEvent’ undeclared (first use in this function)
rhd_x11.c:507: error: expected expression before ‘)’ token
rhd_x11.c:507: error: ‘ShiftMask’ undeclared (first use in this function)
rhd_x11.c:507: error: ‘ControlMask’ undeclared (first use in this function)
rhd_x11.c:508: error: expected expression before ‘)’ token
rhd_x11.c:510: error: expected expression before ‘)’ token
rhd_x11.c: In function ‘draw3dline’:
rhd_x11.c:564: error: ‘ourdisplay’ undeclared (first use in this function)
rhd_x11.c:564: error: ‘gwind’ undeclared (first use in this function)
rhd_x11.c:564: error: ‘ourgc’ undeclared (first use in this function)
rhd_x11.c: In function ‘draw_grids’:
rhd_x11.c:580: error: ‘ourdisplay’ undeclared (first use in this function)
rhd_x11.c:580: error: ‘ourgc’ undeclared (first use in this function)
rhd_x11.c: At top level:
rhd_x11.c:640: error: expected ‘)’ before ‘*’ token
rhd_x11.c:682: error: expected ‘)’ before ‘*’ token
rhd_x11.c:724: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
rhd_x11.c:806: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
rhd_x11.c:820: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
make: *** [rhd_x11.o] Error 1
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o rhd_qtree.o rhd_qtree.c
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o rhd_qtree2r.o rhd_qtree2r.c
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o rhd_ctab.o rhd_ctab.c
make: Target `install' not remade because of errors.
set nonomatch; rm -f *.o rholo rhpict rhcopy genrhgrid rhoptimize rhinfo core Version.c
~/Desktop/ray/src
~/Desktop/ray/src/util ~/Desktop/ray/src
In directory util...
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o findglare.o findglare.c
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o glareval.o glareval.c
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o glaresrc.o glaresrc.c
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o setscan.o setscan.c
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -o findglare findglare.o glareval.o glaresrc.o \
setscan.o -lrtrad -lm
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o glarendx.o glarendx.c
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -o glarendx glarendx.o -lrtrad -lm
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o rpiece.o rpiece.c
rpiece.c: In function ‘init’:
rpiece.c:246: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result
cp ../rt/Version.c .
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o Version.o Version.c
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -o rpiece rpiece.o Version.o -lrtrad -lm
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o rad.o rad.c
rad.c: In function ‘oconv’:
rad.c:552: warning: ignoring return value of ‘mktemp’, declared with attribute warn_unused_result
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -o rad rad.o -lrtrad -lm
rad.o: In function `oconv':
rad.c:(.text+0x10dd): warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp'
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o ranimate.o ranimate.c
ranimate.c: In function ‘getradfile’:
ranimate.c:528: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o netproc.o netproc.c
netproc.c: In function ‘addpserver’:
netproc.c:61: warning: ignoring return value of ‘getcwd’, declared with attribute warn_unused_result
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -o ranimate ranimate.o netproc.o -lrtrad -lm
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o ranimove.o ranimove.c
ranimove.c: In function ‘getradfile’:
ranimove.c:422: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result
ranimove.c:435: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o ranimove1.o ranimove1.c
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o ranimove2.o ranimove2.c
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -o ranimove ranimove.o ranimove1.o ranimove2.o \
-lraycalls -lradiance -lrtrad -lm
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o vwright.o vwright.c
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -o vwright vwright.o -lrtrad -lm
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o getinfo.o getinfo.c
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -o getinfo getinfo.o -lrtrad
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o vwrays.o vwrays.c
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -o vwrays vwrays.o -lrtrad -lm
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o xglaresrc.o xglaresrc.c
xglaresrc.c:14:22: error: X11/Xlib.h: No such file or directory
xglaresrc.c:15:23: error: X11/Xutil.h: No such file or directory
xglaresrc.c:32: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
xglaresrc.c:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘vecGC’
xglaresrc.c:38: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gwind’
xglaresrc.c: In function ‘init’:
xglaresrc.c:95: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘xfindwind’
xglaresrc.c:96: error: ‘XWindowAttributes’ undeclared (first use in this function)
xglaresrc.c:96: error: (Each undeclared identifier is reported only once
xglaresrc.c:96: error: for each function it appears in.)
xglaresrc.c:96: error: expected ‘;’ before ‘wa’
xglaresrc.c:97: error: ‘XColor’ undeclared (first use in this function)
xglaresrc.c:97: error: expected ‘;’ before ‘xc’
xglaresrc.c:98: error: ‘XGCValues’ undeclared (first use in this function)
xglaresrc.c:98: error: expected ‘;’ before ‘gcv’
xglaresrc.c:108: error: ‘theDisplay’ undeclared (first use in this function)
xglaresrc.c:124: error: ‘gwind’ undeclared (first use in this function)
xglaresrc.c:125: error: ‘None’ undeclared (first use in this function)
xglaresrc.c:133: warning: missing sentinel in function call
xglaresrc.c:146: error: ‘wa’ undeclared (first use in this function)
xglaresrc.c:148: error: ‘IsViewable’ undeclared (first use in this function)
xglaresrc.c:162: error: ‘gcv’ undeclared (first use in this function)
xglaresrc.c:168: error: ‘xc’ undeclared (first use in this function)
xglaresrc.c:171: error: ‘DoRed’ undeclared (first use in this function)
xglaresrc.c:171: error: ‘DoGreen’ undeclared (first use in this function)
xglaresrc.c:171: error: ‘DoBlue’ undeclared (first use in this function)
xglaresrc.c:177: error: ‘vecGC’ undeclared (first use in this function)
xglaresrc.c:178: error: ‘GCForeground’ undeclared (first use in this function)
xglaresrc.c:178: error: ‘GCBackground’ undeclared (first use in this function)
xglaresrc.c:178: error: ‘GCFont’ undeclared (first use in this function)
xglaresrc.c:179: error: ‘strGC’ undeclared (first use in this function)
xglaresrc.c:181: error: ‘GXinvert’ undeclared (first use in this function)
xglaresrc.c:182: error: ‘GCFunction’ undeclared (first use in this function)
xglaresrc.c: In function ‘circle_sources’:
xglaresrc.c:205: error: ‘theDisplay’ undeclared (first use in this function)
xglaresrc.c: In function ‘circle’:
xglaresrc.c:229: error: ‘XPoint’ undeclared (first use in this function)
xglaresrc.c:229: error: expected ‘;’ before ‘pt’
xglaresrc.c:247: error: ‘pt’ undeclared (first use in this function)
xglaresrc.c:250: error: ‘theDisplay’ undeclared (first use in this function)
xglaresrc.c:250: error: ‘gwind’ undeclared (first use in this function)
xglaresrc.c:250: error: ‘vecGC’ undeclared (first use in this function)
xglaresrc.c:250: error: ‘CoordModeOrigin’ undeclared (first use in this function)
xglaresrc.c: In function ‘value’:
xglaresrc.c:277: error: ‘theDisplay’ undeclared (first use in this function)
xglaresrc.c:277: error: ‘gwind’ undeclared (first use in this function)
xglaresrc.c:277: error: ‘strGC’ undeclared (first use in this function)
make: *** [xglaresrc.o] Error 1
cp ../common/x11findwind.c .
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o x11findwind.o x11findwind.c
x11findwind.c:13:22: error: X11/Xlib.h: No such file or directory
x11findwind.c:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘xfindwind’
make: *** [x11findwind.o] Error 1
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o rtcontrib.o rtcontrib.c
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -o rtcontrib rtcontrib.o Version.o -lrtrad -lm
rtcontrib.o: In function `main':
rtcontrib.c:(.text+0x3c1e): warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp'
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o rsensor.o rsensor.c
rsensor.c: In function ‘load_sensor’:
rsensor.c:221: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
rsensor.c:223: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -o rsensor rsensor.o \
-lraycalls -lradiance -lrtrad -lm
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o dctimestep.o dctimestep.c
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -o dctimestep dctimestep.o -lrtrad -lm
make: Target `install' not remade because of errors.
set nonomatch; rm -f *.o findglare glarendx rpiece rad ranimate ranimove vwright getinfo vwrays xglaresrc rtcontrib rsensor dctimestep glrad core Version.c x11findwind.c
~/Desktop/ray/src
~/Desktop/ray/src/cal ~/Desktop/ray/src
In directory cal...
gcc -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DBIGGERLIB -I../common -L../lib -c -o calc.o calc.c
gcc -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DBIGGERLIB -I../common -L../lib -o icalc calc.o -lrtrad -lm
gcc -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DBIGGERLIB -I../common -L../lib -c -o ev.o ev.c
gcc -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DBIGGERLIB -I../common -L../lib -o ev ev.o -lrtrad -lm
gcc -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DBIGGERLIB -I../common -L../lib -c -o rcalc.o rcalc.c
gcc -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DBIGGERLIB -I../common -L../lib -o rcalc rcalc.o -lrtrad -lm
gcc -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DBIGGERLIB -I../common -L../lib -c -o total.o total.c
gcc -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DBIGGERLIB -I../common -L../lib -o total total.o -lm
gcc -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DBIGGERLIB -I../common -L../lib -c -o cnt.o cnt.c
gcc -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DBIGGERLIB -I../common -L../lib -o cnt cnt.o
gcc -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DBIGGERLIB -I../common -L../lib -c -o neat.o neat.c
gcc -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DBIGGERLIB -I../common -L../lib -o neaten neat.o
gcc -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DBIGGERLIB -I../common -L../lib -c -o lam.o lam.c
gcc -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DBIGGERLIB -I../common -L../lib -o rlam lam.o
gcc -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DBIGGERLIB -I../common -L../lib -c -o tabfunc.o tabfunc.c
gcc -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DBIGGERLIB -I../common -L../lib -o tabfunc tabfunc.o -lrtrad -lm
gcc -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DBIGGERLIB -I../common -L../lib -c -o histo.o histo.c
gcc -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DBIGGERLIB -I../common -L../lib -o histo histo.o -lm
cp icalc ev rcalc total cnt neaten rlam tabfunc histo /usr/local/bin
set nonomatch; rm -f *.o icalc ev rcalc total cnt neaten rlam tabfunc histo
~/Desktop/ray/src
There were some errors.
nyclinux@nyclinux:~/Desktop/ray$

Cramer,

It appears that your system's X11 header files are not in /usr/include/X11. Every error in the output is because the installer is looking in /usr/include/X11 for header files. The warnings are all ignorable. And rtrace is still running the old version, which doesn't have the "-n" option.

Do an "ls /usr/include/X11" and see if that directory contains files like "Xutil.h" and "Xlib.h". If not, see if /usr/include/X11R6, or some other directory like that contains them. Once you've found them, when you run the makeall script, choose to edit the makefile. Change the "-I/usr/include/X11" to reflect the header files actual location.

I hope this helps.

Mark

PS. I use Fedora (10 now) and things work.

···

On Tue, 11 May 2010, Cramer Silkworth wrote:

Hi All,

I just attempted to upgrade my existing R3.9 installation on Ubuntu 9.10 to R4. I did:
sudo ./makeall install clean per the readme file (actually the readme doesn't mention sudo but a couple steps in i realized i needed it). Lots of scary things flashed by, and i caught various warnings going by. It then stopped with "There were some errors." So I tried an rtrace job that I know runs on 3.9, and it still runs. But when I add the -n option (-n 2 or -n 4, for example), it crashes with a fatal error: command line error at -n. (It's a four core machine with 4gb ram)

To the extent that it remained on the screen, the output from my installation follows. Any help would be greatly appreciated!

Thanks,
Cramer

Cramer Silkworth

212 219 2255 | [email protected]

Transsolar Inc. | 134 Spring Street Suite 601 | New York, NY 10012

Transsolar Climate Engineering

Technical consulting for energy efficiency and environmental quality in
buildings.

New York - Stuttgart - Munich

usr/include/X11 -DNOSTEREO -c -o pcond2.o pcond2.c
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o pcond3.o pcond3.c
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o pcond4.o pcond4.c
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -o pcond pcond.o pcond2.o pcond3.o pcond4.o warp3d.o \
-lrtrad -lm
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o pcwarp.o pcwarp.c
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -o pcwarp pcwarp.o warp3d.o -lrtrad -lm
make: Target `install' not remade because of errors.
rm -f pfilt ttyimage psign ra_tiff normtiff pvalue pcompos protate ra_hexbit ra_bmp ra_t8 ra_t16 pcomb pinterp pflip ra_ppm ximage xshowtrace ra_rgbe ra_pict ra_ps pextrem ra_gif ra_xyze macbethcal pcond pcwarp *.o core x11findwind.c
cd tiff; make distclean
make[1]: Entering directory `/home/nyclinux/Desktop/ray/src/px/tiff'
make[1]: *** No rule to make target `distclean'.
make[1]: Leaving directory `/home/nyclinux/Desktop/ray/src/px/tiff'
make: *** [clean] Error 2
~/Desktop/ray/src
~/Desktop/ray/src/hd ~/Desktop/ray/src
In directory hd...
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o rholo.o rholo.c
rholo.c: In function ‘creatholo’:
rholo.c:477: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
rholo.c:485: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
rholo.c: In function ‘loadholo’:
rholo.c:558: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o rholo2.o rholo2.c
rholo2.c: In function ‘getradfile’:
rholo2.c:350: warning: ignoring return value of ‘mktemp’, declared with attribute warn_unused_result
rholo2.c:374: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o rholo2l.o rholo2l.c
rholo2l.c: In function ‘start_rtrace’:
rholo2l.c:70: warning: ignoring return value of ‘mktemp’, declared with attribute warn_unused_result
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o rholo3.o rholo3.c
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o rholo4.o rholo4.c
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o holo.o holo.c
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o holofile.o holofile.c
holofile.c: In function ‘hdinit’:
holofile.c:249: warning: format ‘%ld’ expects type ‘long int’, but argument 3 has type ‘off_t’
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o viewbeams.o viewbeams.c
cp ../rt/Version.c .
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o Version.o Version.c
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -o rholo rholo.o rholo2.o rholo2l.o rholo3.o rholo4.o \
holo.o holofile.o viewbeams.o Version.o -lrtrad -lm
rholo2.o: In function `getradfile':
rholo2.c:(.text+0x25e): warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp'
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o rhpict.o rhpict.c
rhpict.c: In function ‘initialize’:
rhpict.c:307: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o rhpict2.o rhpict2.c
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -o rhpict rhpict.o rhpict2.o holo.o holofile.o \
viewbeams.o Version.o -lrtrad -lm
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o rhcopy.o rhcopy.c
rhcopy.c: In function ‘openholo’:
rhcopy.c:156: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o clumpbeams.o clumpbeams.c
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -o rhcopy rhcopy.o clumpbeams.o \
holo.o holofile.o -lrtrad -lm
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o genrhgrid.o genrhgrid.c
genrhgrid.c: In function ‘gridsect’:
genrhgrid.c:76: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result
genrhgrid.c:78: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -o genrhgrid genrhgrid.o holo.o -lrtrad -lm
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o rhoptimize.o rhoptimize.c
rhoptimize.c: In function ‘main’:
rhoptimize.c:79: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result
rhoptimize.c:84: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
rhoptimize.c:89: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -o rhoptimize rhoptimize.o clumpbeams.o \
holo.o holofile.o -lrtrad -lm
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o rhinfo.o rhinfo.c
rhinfo.c: In function ‘gethdinfo’:
rhinfo.c:69: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -o rhinfo rhinfo.o holo.o holofile.o -lrtrad -lm
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o rhdisp.o rhdisp.c
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o rhdisp2.o rhdisp2.c
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o rhd_x11.o rhd_x11.c
rhd_x11.c:11:23: error: X11/Xlib.h: No such file or directory
rhd_x11.c:12:29: error: X11/cursorfont.h: No such file or directory
rhd_x11.c:13:24: error: X11/Xutil.h: No such file or directory
rhd_x11.c:61: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘currentevent’
rhd_x11.c:68: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
rhd_x11.c:69: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ourvinfo’
rhd_x11.c:70: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gwind’
rhd_x11.c:71: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ourgc’
rhd_x11.c:72: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ourmap’
rhd_x11.c:91: error: expected ‘)’ before ‘*’ token
rhd_x11.c:93: error: expected ‘)’ before ‘*’ token
rhd_x11.c:94: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
rhd_x11.c:95: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
rhd_x11.c:96: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
rhd_x11.c: In function ‘dev_open’:
rhd_x11.c:129: error: ‘XSetWindowAttributes’ undeclared (first use in this function)
rhd_x11.c:129: error: (Each undeclared identifier is reported only once
rhd_x11.c:129: error: for each function it appears in.)
rhd_x11.c:129: error: expected ‘;’ before ‘ourwinattr’
rhd_x11.c:130: error: ‘XWMHints’ undeclared (first use in this function)
rhd_x11.c:130: error: expected ‘;’ before ‘ourxwmhints’
rhd_x11.c:131: error: ‘XSizeHints’ undeclared (first use in this function)
rhd_x11.c:131: error: expected ‘;’ before ‘oursizhints’
rhd_x11.c:135: error: ‘ourdisplay’ undeclared (first use in this function)
rhd_x11.c:141: error: ‘TrueColor’ undeclared (first use in this function)
rhd_x11.c:141: error: ‘ourvinfo’ undeclared (first use in this function)
rhd_x11.c:143: error: ‘DirectColor’ undeclared (first use in this function)
rhd_x11.c:152: error: ‘PseudoColor’ undeclared (first use in this function)
rhd_x11.c:154: error: ‘GrayScale’ undeclared (first use in this function)
rhd_x11.c:160: warning: assignment makes pointer from integer without a cast
rhd_x11.c:174: error: ‘ourwinattr’ undeclared (first use in this function)
rhd_x11.c:176: error: ‘StructureNotifyMask’ undeclared (first use in this function)
rhd_x11.c:176: error: ‘ExposureMask’ undeclared (first use in this function)
rhd_x11.c:176: error: ‘KeyPressMask’ undeclared (first use in this function)
rhd_x11.c:176: error: ‘ButtonPressMask’ undeclared (first use in this function)
rhd_x11.c:176: error: ‘ButtonReleaseMask’ undeclared (first use in this function)
rhd_x11.c:179: error: ‘AllocNone’ undeclared (first use in this function)
rhd_x11.c:180: error: ‘gwind’ undeclared (first use in this function)
rhd_x11.c:183: error: ‘InputOutput’ undeclared (first use in this function)
rhd_x11.c:184: error: ‘CWBackPixel’ undeclared (first use in this function)
rhd_x11.c:184: error: ‘CWBorderPixel’ undeclared (first use in this function)
rhd_x11.c:184: error: ‘CWColormap’ undeclared (first use in this function)
rhd_x11.c:184: error: ‘CWEventMask’ undeclared (first use in this function)
rhd_x11.c:189: error: ‘ourgc’ undeclared (first use in this function)
rhd_x11.c:191: error: ‘ourxwmhints’ undeclared (first use in this function)
rhd_x11.c:191: error: ‘InputHint’ undeclared (first use in this function)
rhd_x11.c:191: error: ‘IconPixmapHint’ undeclared (first use in this function)
rhd_x11.c:192: error: ‘True’ undeclared (first use in this function)
rhd_x11.c:196: error: ‘oursizhints’ undeclared (first use in this function)
rhd_x11.c:198: error: ‘PMinSize’ undeclared (first use in this function)
rhd_x11.c: In function ‘dev_close’:
rhd_x11.c:224: error: ‘ourdisplay’ undeclared (first use in this function)
rhd_x11.c:224: error: ‘ourgc’ undeclared (first use in this function)
rhd_x11.c:225: error: ‘gwind’ undeclared (first use in this function)
rhd_x11.c: In function ‘dev_view’:
rhd_x11.c:269: error: ‘ourdisplay’ undeclared (first use in this function)
rhd_x11.c:286: error: ‘gwind’ undeclared (first use in this function)
rhd_x11.c: In function ‘dev_input’:
rhd_x11.c:338: error: ‘ourdisplay’ undeclared (first use in this function)
rhd_x11.c: In function ‘dev_paintr’:
rhd_x11.c:363: error: ‘ourdisplay’ undeclared (first use in this function)
rhd_x11.c:363: error: ‘ourgc’ undeclared (first use in this function)
rhd_x11.c:364: error: ‘gwind’ undeclared (first use in this function)
rhd_x11.c: In function ‘dev_flush’:
rhd_x11.c:374: error: ‘ourdisplay’ undeclared (first use in this function)
rhd_x11.c: In function ‘xnewcolr’:
rhd_x11.c:386: error: ‘XColor’ undeclared (first use in this function)
rhd_x11.c:386: error: expected ‘;’ before ‘xcolor’
rhd_x11.c:388: error: ‘xcolor’ undeclared (first use in this function)
rhd_x11.c:392: error: ‘DoRed’ undeclared (first use in this function)
rhd_x11.c:392: error: ‘DoGreen’ undeclared (first use in this function)
rhd_x11.c:392: error: ‘DoBlue’ undeclared (first use in this function)
rhd_x11.c:394: error: ‘ourdisplay’ undeclared (first use in this function)
rhd_x11.c:394: error: ‘ourmap’ undeclared (first use in this function)
rhd_x11.c: In function ‘getpixels’:
rhd_x11.c:401: error: ‘XColor’ undeclared (first use in this function)
rhd_x11.c:401: error: expected ‘;’ before ‘thiscolor’
rhd_x11.c:406: error: ‘ourvinfo’ undeclared (first use in this function)
rhd_x11.c:406: error: ‘ourdisplay’ undeclared (first use in this function)
rhd_x11.c:407: error: ‘ourmap’ undeclared (first use in this function)
rhd_x11.c:411: error: ‘gwind’ undeclared (first use in this function)
rhd_x11.c:411: error: ‘AllocNone’ undeclared (first use in this function)
rhd_x11.c:434: error: ‘thiscolor’ undeclared (first use in this function)
rhd_x11.c:435: error: ‘DoRed’ undeclared (first use in this function)
rhd_x11.c:435: error: ‘DoGreen’ undeclared (first use in this function)
rhd_x11.c:435: error: ‘DoBlue’ undeclared (first use in this function)
rhd_x11.c: In function ‘freepixels’:
rhd_x11.c:455: error: ‘ourdisplay’ undeclared (first use in this function)
rhd_x11.c:455: error: ‘ourmap’ undeclared (first use in this function)
rhd_x11.c: In function ‘true_pixel’:
rhd_x11.c:472: error: ‘ourvinfo’ undeclared (first use in this function)
rhd_x11.c: In function ‘getevent’:
rhd_x11.c:482: error: ‘ourdisplay’ undeclared (first use in this function)
rhd_x11.c:482: error: ‘XEvent’ undeclared (first use in this function)
rhd_x11.c:482: error: expected expression before ‘)’ token
rhd_x11.c:483: error: expected expression before ‘)’ token
rhd_x11.c:484: error: ‘ConfigureNotify’ undeclared (first use in this function)
rhd_x11.c:485: error: ‘XConfigureEvent’ undeclared (first use in this function)
rhd_x11.c:485: error: expected expression before ‘)’ token
rhd_x11.c:487: error: ‘UnmapNotify’ undeclared (first use in this function)
rhd_x11.c:491: error: ‘MapNotify’ undeclared (first use in this function)
rhd_x11.c:492: error: ‘ourvinfo’ undeclared (first use in this function)
rhd_x11.c:492: error: ‘PseudoColor’ undeclared (first use in this function)
rhd_x11.c:493: error: ‘GrayScale’ undeclared (first use in this function)
rhd_x11.c:500: error: ‘Expose’ undeclared (first use in this function)
rhd_x11.c:501: error: ‘XExposeEvent’ undeclared (first use in this function)
rhd_x11.c:501: error: expected expression before ‘)’ token
rhd_x11.c:503: error: ‘KeyPress’ undeclared (first use in this function)
rhd_x11.c:504: error: ‘XKeyPressedEvent’ undeclared (first use in this function)
rhd_x11.c:504: error: expected expression before ‘)’ token
rhd_x11.c:506: error: ‘ButtonPress’ undeclared (first use in this function)
rhd_x11.c:507: error: ‘XButtonPressedEvent’ undeclared (first use in this function)
rhd_x11.c:507: error: expected expression before ‘)’ token
rhd_x11.c:507: error: ‘ShiftMask’ undeclared (first use in this function)
rhd_x11.c:507: error: ‘ControlMask’ undeclared (first use in this function)
rhd_x11.c:508: error: expected expression before ‘)’ token
rhd_x11.c:510: error: expected expression before ‘)’ token
rhd_x11.c: In function ‘draw3dline’:
rhd_x11.c:564: error: ‘ourdisplay’ undeclared (first use in this function)
rhd_x11.c:564: error: ‘gwind’ undeclared (first use in this function)
rhd_x11.c:564: error: ‘ourgc’ undeclared (first use in this function)
rhd_x11.c: In function ‘draw_grids’:
rhd_x11.c:580: error: ‘ourdisplay’ undeclared (first use in this function)
rhd_x11.c:580: error: ‘ourgc’ undeclared (first use in this function)
rhd_x11.c: At top level:
rhd_x11.c:640: error: expected ‘)’ before ‘*’ token
rhd_x11.c:682: error: expected ‘)’ before ‘*’ token
rhd_x11.c:724: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
rhd_x11.c:806: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
rhd_x11.c:820: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
make: *** [rhd_x11.o] Error 1
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o rhd_qtree.o rhd_qtree.c
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o rhd_qtree2r.o rhd_qtree2r.c
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o rhd_ctab.o rhd_ctab.c
make: Target `install' not remade because of errors.
set nonomatch; rm -f *.o rholo rhpict rhcopy genrhgrid rhoptimize rhinfo core Version.c
~/Desktop/ray/src
~/Desktop/ray/src/util ~/Desktop/ray/src
In directory util...
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o findglare.o findglare.c
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o glareval.o glareval.c
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o glaresrc.o glaresrc.c
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o setscan.o setscan.c
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -o findglare findglare.o glareval.o glaresrc.o \
setscan.o -lrtrad -lm
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o glarendx.o glarendx.c
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -o glarendx glarendx.o -lrtrad -lm
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o rpiece.o rpiece.c
rpiece.c: In function ‘init’:
rpiece.c:246: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result
cp ../rt/Version.c .
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o Version.o Version.c
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -o rpiece rpiece.o Version.o -lrtrad -lm
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o rad.o rad.c
rad.c: In function ‘oconv’:
rad.c:552: warning: ignoring return value of ‘mktemp’, declared with attribute warn_unused_result
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -o rad rad.o -lrtrad -lm
rad.o: In function `oconv':
rad.c:(.text+0x10dd): warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp'
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o ranimate.o ranimate.c
ranimate.c: In function ‘getradfile’:
ranimate.c:528: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o netproc.o netproc.c
netproc.c: In function ‘addpserver’:
netproc.c:61: warning: ignoring return value of ‘getcwd’, declared with attribute warn_unused_result
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -o ranimate ranimate.o netproc.o -lrtrad -lm
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o ranimove.o ranimove.c
ranimove.c: In function ‘getradfile’:
ranimove.c:422: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result
ranimove.c:435: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o ranimove1.o ranimove1.c
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o ranimove2.o ranimove2.c
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -o ranimove ranimove.o ranimove1.o ranimove2.o \
-lraycalls -lradiance -lrtrad -lm
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o vwright.o vwright.c
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -o vwright vwright.o -lrtrad -lm
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o getinfo.o getinfo.c
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -o getinfo getinfo.o -lrtrad
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o vwrays.o vwrays.c
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -o vwrays vwrays.o -lrtrad -lm
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o xglaresrc.o xglaresrc.c
xglaresrc.c:14:22: error: X11/Xlib.h: No such file or directory
xglaresrc.c:15:23: error: X11/Xutil.h: No such file or directory
xglaresrc.c:32: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
xglaresrc.c:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘vecGC’
xglaresrc.c:38: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gwind’
xglaresrc.c: In function ‘init’:
xglaresrc.c:95: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘xfindwind’
xglaresrc.c:96: error: ‘XWindowAttributes’ undeclared (first use in this function)
xglaresrc.c:96: error: (Each undeclared identifier is reported only once
xglaresrc.c:96: error: for each function it appears in.)
xglaresrc.c:96: error: expected ‘;’ before ‘wa’
xglaresrc.c:97: error: ‘XColor’ undeclared (first use in this function)
xglaresrc.c:97: error: expected ‘;’ before ‘xc’
xglaresrc.c:98: error: ‘XGCValues’ undeclared (first use in this function)
xglaresrc.c:98: error: expected ‘;’ before ‘gcv’
xglaresrc.c:108: error: ‘theDisplay’ undeclared (first use in this function)
xglaresrc.c:124: error: ‘gwind’ undeclared (first use in this function)
xglaresrc.c:125: error: ‘None’ undeclared (first use in this function)
xglaresrc.c:133: warning: missing sentinel in function call
xglaresrc.c:146: error: ‘wa’ undeclared (first use in this function)
xglaresrc.c:148: error: ‘IsViewable’ undeclared (first use in this function)
xglaresrc.c:162: error: ‘gcv’ undeclared (first use in this function)
xglaresrc.c:168: error: ‘xc’ undeclared (first use in this function)
xglaresrc.c:171: error: ‘DoRed’ undeclared (first use in this function)
xglaresrc.c:171: error: ‘DoGreen’ undeclared (first use in this function)
xglaresrc.c:171: error: ‘DoBlue’ undeclared (first use in this function)
xglaresrc.c:177: error: ‘vecGC’ undeclared (first use in this function)
xglaresrc.c:178: error: ‘GCForeground’ undeclared (first use in this function)
xglaresrc.c:178: error: ‘GCBackground’ undeclared (first use in this function)
xglaresrc.c:178: error: ‘GCFont’ undeclared (first use in this function)
xglaresrc.c:179: error: ‘strGC’ undeclared (first use in this function)
xglaresrc.c:181: error: ‘GXinvert’ undeclared (first use in this function)
xglaresrc.c:182: error: ‘GCFunction’ undeclared (first use in this function)
xglaresrc.c: In function ‘circle_sources’:
xglaresrc.c:205: error: ‘theDisplay’ undeclared (first use in this function)
xglaresrc.c: In function ‘circle’:
xglaresrc.c:229: error: ‘XPoint’ undeclared (first use in this function)
xglaresrc.c:229: error: expected ‘;’ before ‘pt’
xglaresrc.c:247: error: ‘pt’ undeclared (first use in this function)
xglaresrc.c:250: error: ‘theDisplay’ undeclared (first use in this function)
xglaresrc.c:250: error: ‘gwind’ undeclared (first use in this function)
xglaresrc.c:250: error: ‘vecGC’ undeclared (first use in this function)
xglaresrc.c:250: error: ‘CoordModeOrigin’ undeclared (first use in this function)
xglaresrc.c: In function ‘value’:
xglaresrc.c:277: error: ‘theDisplay’ undeclared (first use in this function)
xglaresrc.c:277: error: ‘gwind’ undeclared (first use in this function)
xglaresrc.c:277: error: ‘strGC’ undeclared (first use in this function)
make: *** [xglaresrc.o] Error 1
cp ../common/x11findwind.c .
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o x11findwind.o x11findwind.c
x11findwind.c:13:22: error: X11/Xlib.h: No such file or directory
x11findwind.c:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘xfindwind’
make: *** [x11findwind.o] Error 1
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o rtcontrib.o rtcontrib.c
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -o rtcontrib rtcontrib.o Version.o -lrtrad -lm
rtcontrib.o: In function `main':
rtcontrib.c:(.text+0x3c1e): warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp'
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o rsensor.o rsensor.c
rsensor.c: In function ‘load_sensor’:
rsensor.c:221: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
rsensor.c:223: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -o rsensor rsensor.o \
-lraycalls -lradiance -lrtrad -lm
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o dctimestep.o dctimestep.c
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -o dctimestep dctimestep.o -lrtrad -lm
make: Target `install' not remade because of errors.
set nonomatch; rm -f *.o findglare glarendx rpiece rad ranimate ranimove vwright getinfo vwrays xglaresrc rtcontrib rsensor dctimestep glrad core Version.c x11findwind.c
~/Desktop/ray/src
~/Desktop/ray/src/cal ~/Desktop/ray/src
In directory cal...
gcc -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DBIGGERLIB -I../common -L../lib -c -o calc.o calc.c
gcc -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DBIGGERLIB -I../common -L../lib -o icalc calc.o -lrtrad -lm
gcc -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DBIGGERLIB -I../common -L../lib -c -o ev.o ev.c
gcc -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DBIGGERLIB -I../common -L../lib -o ev ev.o -lrtrad -lm
gcc -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DBIGGERLIB -I../common -L../lib -c -o rcalc.o rcalc.c
gcc -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DBIGGERLIB -I../common -L../lib -o rcalc rcalc.o -lrtrad -lm
gcc -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DBIGGERLIB -I../common -L../lib -c -o total.o total.c
gcc -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DBIGGERLIB -I../common -L../lib -o total total.o -lm
gcc -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DBIGGERLIB -I../common -L../lib -c -o cnt.o cnt.c
gcc -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DBIGGERLIB -I../common -L../lib -o cnt cnt.o
gcc -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DBIGGERLIB -I../common -L../lib -c -o neat.o neat.c
gcc -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DBIGGERLIB -I../common -L../lib -o neaten neat.o
gcc -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DBIGGERLIB -I../common -L../lib -c -o lam.o lam.c
gcc -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DBIGGERLIB -I../common -L../lib -o rlam lam.o
gcc -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DBIGGERLIB -I../common -L../lib -c -o tabfunc.o tabfunc.c
gcc -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DBIGGERLIB -I../common -L../lib -o tabfunc tabfunc.o -lrtrad -lm
gcc -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DBIGGERLIB -I../common -L../lib -c -o histo.o histo.c
gcc -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DBIGGERLIB -I../common -L../lib -o histo histo.o -lm
cp icalc ev rcalc total cnt neaten rlam tabfunc histo /usr/local/bin
set nonomatch; rm -f *.o icalc ev rcalc total cnt neaten rlam tabfunc histo
~/Desktop/ray/src
There were some errors.
nyclinux@nyclinux:~/Desktop/ray$

Hi there.

One thing I could see in this shortened output:

rhd_x11.c:11:23: error: X11/Xlib.h: No such file or directory
rhd_x11.c:12:29: error: X11/cursorfont.h: No such file or directory
rhd_x11.c:13:24: error: X11/Xutil.h: No such file or directory

You don't have the X11 development package installed. Search for a
package like "X11-dev" or similar and install that.

Hi All,

I just attempted to upgrade my existing R3.9 installation on Ubuntu 9.10 to
R4. I did:
sudo ./makeall install clean per the readme file (actually the readme
doesn't mention sudo but a couple steps in i realized i needed it).

You should probably do a
sudo ./makeall clean
sudo ./makeall install

After that you can add another "makeall clean" to remove files from
the process. Unfortunately the makefile doesn't have a 'build' target,
so you could restrict the sudo to just the installation step.

Lots of
scary things flashed by, and i caught various warnings going by.

Use the following to capture the output into a file:

sudo ./makeall install | tee build.log

That will copy all the output to "build.log" and you can inspect it
later in detail.

It then
stopped with "There were some errors." So I tried an rtrace job that I know
runs on 3.9, and it still runs. But when I add the -n option (-n 2 or -n 4,
for example), it crashes with a fatal error: command line error at -n. (It's
a four core machine with 4gb ram)

Have you checked that you are actually running the new 4.0 version?

rtrace -version

Regards,
Thomas

···

On Tue, May 11, 2010 at 3:48 PM, Cramer Silkworth <[email protected]> wrote:

Hi,

I think that for a stock install of Ubuntu you need to install a few additional packages (using synaptics makes this pretty easy), off the top of my head you will likely need the following:

    * x11 development libs
    * csh

Not sure what else off hand. Note however (a quick search of the list might have come up with this...), that I actually have provided Radiance 4.0 binaries compiled on Ubuntu 9.10. These are available as follows:

···

Hi All,

I have compiled the latest Radiance release (4.0) on Ubuntu 9.10. For those who are interested, I have placed a tarball on our ftp site which can be downloaded as follows:

   1. go to: ftp.visarc.com
   2. user: u36117396-rad
   3. passwd: rad-r40
   4. get: rad4R0-linux-ubuntu.tgz

This is a temporary location for the short term. I will check in with Greg about making this available through www.radiance-online.org.

Please see the README for some basic notes on installation. Note that I have also included the documentation directory.

Please let me know if there are any questions and I will answer them as I am able.

Regards,

-Jack de Valpine

--
# Jack de Valpine
# president
#
# visarc incorporated
# http://www.visarc.com
#
# channeling technology for superior design and construction

Mark Stock wrote:

Cramer,

It appears that your system's X11 header files are not in /usr/include/X11. Every error in the output is because the installer is looking in /usr/include/X11 for header files. The warnings are all ignorable. And rtrace is still running the old version, which doesn't have the "-n" option.

Do an "ls /usr/include/X11" and see if that directory contains files like "Xutil.h" and "Xlib.h". If not, see if /usr/include/X11R6, or some other directory like that contains them. Once you've found them, when you run the makeall script, choose to edit the makefile. Change the "-I/usr/include/X11" to reflect the header files actual location.

I hope this helps.

Mark

PS. I use Fedora (10 now) and things work.

On Tue, 11 May 2010, Cramer Silkworth wrote:

Hi All,

I just attempted to upgrade my existing R3.9 installation on Ubuntu 9.10 to R4. I did:
sudo ./makeall install clean per the readme file (actually the readme doesn't mention sudo but a couple steps in i realized i needed it). Lots of scary things flashed by, and i caught various warnings going by. It then stopped with "There were some errors." So I tried an rtrace job that I know runs on 3.9, and it still runs. But when I add the -n option (-n 2 or -n 4, for example), it crashes with a fatal error: command line error at -n. (It's a four core machine with 4gb ram)

To the extent that it remained on the screen, the output from my installation follows. Any help would be greatly appreciated!

Thanks,
Cramer

Cramer Silkworth

212 219 2255 | [email protected]

Transsolar Inc. | 134 Spring Street Suite 601 | New York, NY 10012

Transsolar Climate Engineering

Technical consulting for energy efficiency and environmental quality in
buildings.

New York - Stuttgart - Munich

usr/include/X11 -DNOSTEREO -c -o pcond2.o pcond2.c
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o pcond3.o pcond3.c
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o pcond4.o pcond4.c
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -o pcond pcond.o pcond2.o pcond3.o pcond4.o warp3d.o \
-lrtrad -lm
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o pcwarp.o pcwarp.c
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -o pcwarp pcwarp.o warp3d.o -lrtrad -lm
make: Target `install' not remade because of errors.
rm -f pfilt ttyimage psign ra_tiff normtiff pvalue pcompos protate ra_hexbit ra_bmp ra_t8 ra_t16 pcomb pinterp pflip ra_ppm ximage xshowtrace ra_rgbe ra_pict ra_ps pextrem ra_gif ra_xyze macbethcal pcond pcwarp *.o core x11findwind.c
cd tiff; make distclean
make[1]: Entering directory `/home/nyclinux/Desktop/ray/src/px/tiff'
make[1]: *** No rule to make target `distclean'.
make[1]: Leaving directory `/home/nyclinux/Desktop/ray/src/px/tiff'
make: *** [clean] Error 2
~/Desktop/ray/src
~/Desktop/ray/src/hd ~/Desktop/ray/src
In directory hd...
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o rholo.o rholo.c
rholo.c: In function ‘creatholo’:
rholo.c:477: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
rholo.c:485: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
rholo.c: In function ‘loadholo’:
rholo.c:558: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o rholo2.o rholo2.c
rholo2.c: In function ‘getradfile’:
rholo2.c:350: warning: ignoring return value of ‘mktemp’, declared with attribute warn_unused_result
rholo2.c:374: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o rholo2l.o rholo2l.c
rholo2l.c: In function ‘start_rtrace’:
rholo2l.c:70: warning: ignoring return value of ‘mktemp’, declared with attribute warn_unused_result
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o rholo3.o rholo3.c
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o rholo4.o rholo4.c
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o holo.o holo.c
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o holofile.o holofile.c
holofile.c: In function ‘hdinit’:
holofile.c:249: warning: format ‘%ld’ expects type ‘long int’, but argument 3 has type ‘off_t’
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o viewbeams.o viewbeams.c
cp ../rt/Version.c .
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o Version.o Version.c
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -o rholo rholo.o rholo2.o rholo2l.o rholo3.o rholo4.o \
holo.o holofile.o viewbeams.o Version.o -lrtrad -lm
rholo2.o: In function `getradfile':
rholo2.c:(.text+0x25e): warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp'
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o rhpict.o rhpict.c
rhpict.c: In function ‘initialize’:
rhpict.c:307: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o rhpict2.o rhpict2.c
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -o rhpict rhpict.o rhpict2.o holo.o holofile.o \
viewbeams.o Version.o -lrtrad -lm
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o rhcopy.o rhcopy.c
rhcopy.c: In function ‘openholo’:
rhcopy.c:156: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o clumpbeams.o clumpbeams.c
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -o rhcopy rhcopy.o clumpbeams.o \
holo.o holofile.o -lrtrad -lm
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o genrhgrid.o genrhgrid.c
genrhgrid.c: In function ‘gridsect’:
genrhgrid.c:76: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result
genrhgrid.c:78: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -o genrhgrid genrhgrid.o holo.o -lrtrad -lm
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o rhoptimize.o rhoptimize.c
rhoptimize.c: In function ‘main’:
rhoptimize.c:79: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result
rhoptimize.c:84: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
rhoptimize.c:89: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -o rhoptimize rhoptimize.o clumpbeams.o \
holo.o holofile.o -lrtrad -lm
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o rhinfo.o rhinfo.c
rhinfo.c: In function ‘gethdinfo’:
rhinfo.c:69: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -o rhinfo rhinfo.o holo.o holofile.o -lrtrad -lm
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o rhdisp.o rhdisp.c
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o rhdisp2.o rhdisp2.c
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o rhd_x11.o rhd_x11.c
rhd_x11.c:11:23: error: X11/Xlib.h: No such file or directory
rhd_x11.c:12:29: error: X11/cursorfont.h: No such file or directory
rhd_x11.c:13:24: error: X11/Xutil.h: No such file or directory
rhd_x11.c:61: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘currentevent’
rhd_x11.c:68: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
rhd_x11.c:69: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ourvinfo’
rhd_x11.c:70: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gwind’
rhd_x11.c:71: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ourgc’
rhd_x11.c:72: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ourmap’
rhd_x11.c:91: error: expected ‘)’ before ‘*’ token
rhd_x11.c:93: error: expected ‘)’ before ‘*’ token
rhd_x11.c:94: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
rhd_x11.c:95: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
rhd_x11.c:96: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
rhd_x11.c: In function ‘dev_open’:
rhd_x11.c:129: error: ‘XSetWindowAttributes’ undeclared (first use in this function)
rhd_x11.c:129: error: (Each undeclared identifier is reported only once
rhd_x11.c:129: error: for each function it appears in.)
rhd_x11.c:129: error: expected ‘;’ before ‘ourwinattr’
rhd_x11.c:130: error: ‘XWMHints’ undeclared (first use in this function)
rhd_x11.c:130: error: expected ‘;’ before ‘ourxwmhints’
rhd_x11.c:131: error: ‘XSizeHints’ undeclared (first use in this function)
rhd_x11.c:131: error: expected ‘;’ before ‘oursizhints’
rhd_x11.c:135: error: ‘ourdisplay’ undeclared (first use in this function)
rhd_x11.c:141: error: ‘TrueColor’ undeclared (first use in this function)
rhd_x11.c:141: error: ‘ourvinfo’ undeclared (first use in this function)
rhd_x11.c:143: error: ‘DirectColor’ undeclared (first use in this function)
rhd_x11.c:152: error: ‘PseudoColor’ undeclared (first use in this function)
rhd_x11.c:154: error: ‘GrayScale’ undeclared (first use in this function)
rhd_x11.c:160: warning: assignment makes pointer from integer without a cast
rhd_x11.c:174: error: ‘ourwinattr’ undeclared (first use in this function)
rhd_x11.c:176: error: ‘StructureNotifyMask’ undeclared (first use in this function)
rhd_x11.c:176: error: ‘ExposureMask’ undeclared (first use in this function)
rhd_x11.c:176: error: ‘KeyPressMask’ undeclared (first use in this function)
rhd_x11.c:176: error: ‘ButtonPressMask’ undeclared (first use in this function)
rhd_x11.c:176: error: ‘ButtonReleaseMask’ undeclared (first use in this function)
rhd_x11.c:179: error: ‘AllocNone’ undeclared (first use in this function)
rhd_x11.c:180: error: ‘gwind’ undeclared (first use in this function)
rhd_x11.c:183: error: ‘InputOutput’ undeclared (first use in this function)
rhd_x11.c:184: error: ‘CWBackPixel’ undeclared (first use in this function)
rhd_x11.c:184: error: ‘CWBorderPixel’ undeclared (first use in this function)
rhd_x11.c:184: error: ‘CWColormap’ undeclared (first use in this function)
rhd_x11.c:184: error: ‘CWEventMask’ undeclared (first use in this function)
rhd_x11.c:189: error: ‘ourgc’ undeclared (first use in this function)
rhd_x11.c:191: error: ‘ourxwmhints’ undeclared (first use in this function)
rhd_x11.c:191: error: ‘InputHint’ undeclared (first use in this function)
rhd_x11.c:191: error: ‘IconPixmapHint’ undeclared (first use in this function)
rhd_x11.c:192: error: ‘True’ undeclared (first use in this function)
rhd_x11.c:196: error: ‘oursizhints’ undeclared (first use in this function)
rhd_x11.c:198: error: ‘PMinSize’ undeclared (first use in this function)
rhd_x11.c: In function ‘dev_close’:
rhd_x11.c:224: error: ‘ourdisplay’ undeclared (first use in this function)
rhd_x11.c:224: error: ‘ourgc’ undeclared (first use in this function)
rhd_x11.c:225: error: ‘gwind’ undeclared (first use in this function)
rhd_x11.c: In function ‘dev_view’:
rhd_x11.c:269: error: ‘ourdisplay’ undeclared (first use in this function)
rhd_x11.c:286: error: ‘gwind’ undeclared (first use in this function)
rhd_x11.c: In function ‘dev_input’:
rhd_x11.c:338: error: ‘ourdisplay’ undeclared (first use in this function)
rhd_x11.c: In function ‘dev_paintr’:
rhd_x11.c:363: error: ‘ourdisplay’ undeclared (first use in this function)
rhd_x11.c:363: error: ‘ourgc’ undeclared (first use in this function)
rhd_x11.c:364: error: ‘gwind’ undeclared (first use in this function)
rhd_x11.c: In function ‘dev_flush’:
rhd_x11.c:374: error: ‘ourdisplay’ undeclared (first use in this function)
rhd_x11.c: In function ‘xnewcolr’:
rhd_x11.c:386: error: ‘XColor’ undeclared (first use in this function)
rhd_x11.c:386: error: expected ‘;’ before ‘xcolor’
rhd_x11.c:388: error: ‘xcolor’ undeclared (first use in this function)
rhd_x11.c:392: error: ‘DoRed’ undeclared (first use in this function)
rhd_x11.c:392: error: ‘DoGreen’ undeclared (first use in this function)
rhd_x11.c:392: error: ‘DoBlue’ undeclared (first use in this function)
rhd_x11.c:394: error: ‘ourdisplay’ undeclared (first use in this function)
rhd_x11.c:394: error: ‘ourmap’ undeclared (first use in this function)
rhd_x11.c: In function ‘getpixels’:
rhd_x11.c:401: error: ‘XColor’ undeclared (first use in this function)
rhd_x11.c:401: error: expected ‘;’ before ‘thiscolor’
rhd_x11.c:406: error: ‘ourvinfo’ undeclared (first use in this function)
rhd_x11.c:406: error: ‘ourdisplay’ undeclared (first use in this function)
rhd_x11.c:407: error: ‘ourmap’ undeclared (first use in this function)
rhd_x11.c:411: error: ‘gwind’ undeclared (first use in this function)
rhd_x11.c:411: error: ‘AllocNone’ undeclared (first use in this function)
rhd_x11.c:434: error: ‘thiscolor’ undeclared (first use in this function)
rhd_x11.c:435: error: ‘DoRed’ undeclared (first use in this function)
rhd_x11.c:435: error: ‘DoGreen’ undeclared (first use in this function)
rhd_x11.c:435: error: ‘DoBlue’ undeclared (first use in this function)
rhd_x11.c: In function ‘freepixels’:
rhd_x11.c:455: error: ‘ourdisplay’ undeclared (first use in this function)
rhd_x11.c:455: error: ‘ourmap’ undeclared (first use in this function)
rhd_x11.c: In function ‘true_pixel’:
rhd_x11.c:472: error: ‘ourvinfo’ undeclared (first use in this function)
rhd_x11.c: In function ‘getevent’:
rhd_x11.c:482: error: ‘ourdisplay’ undeclared (first use in this function)
rhd_x11.c:482: error: ‘XEvent’ undeclared (first use in this function)
rhd_x11.c:482: error: expected expression before ‘)’ token
rhd_x11.c:483: error: expected expression before ‘)’ token
rhd_x11.c:484: error: ‘ConfigureNotify’ undeclared (first use in this function)
rhd_x11.c:485: error: ‘XConfigureEvent’ undeclared (first use in this function)
rhd_x11.c:485: error: expected expression before ‘)’ token
rhd_x11.c:487: error: ‘UnmapNotify’ undeclared (first use in this function)
rhd_x11.c:491: error: ‘MapNotify’ undeclared (first use in this function)
rhd_x11.c:492: error: ‘ourvinfo’ undeclared (first use in this function)
rhd_x11.c:492: error: ‘PseudoColor’ undeclared (first use in this function)
rhd_x11.c:493: error: ‘GrayScale’ undeclared (first use in this function)
rhd_x11.c:500: error: ‘Expose’ undeclared (first use in this function)
rhd_x11.c:501: error: ‘XExposeEvent’ undeclared (first use in this function)
rhd_x11.c:501: error: expected expression before ‘)’ token
rhd_x11.c:503: error: ‘KeyPress’ undeclared (first use in this function)
rhd_x11.c:504: error: ‘XKeyPressedEvent’ undeclared (first use in this function)
rhd_x11.c:504: error: expected expression before ‘)’ token
rhd_x11.c:506: error: ‘ButtonPress’ undeclared (first use in this function)
rhd_x11.c:507: error: ‘XButtonPressedEvent’ undeclared (first use in this function)
rhd_x11.c:507: error: expected expression before ‘)’ token
rhd_x11.c:507: error: ‘ShiftMask’ undeclared (first use in this function)
rhd_x11.c:507: error: ‘ControlMask’ undeclared (first use in this function)
rhd_x11.c:508: error: expected expression before ‘)’ token
rhd_x11.c:510: error: expected expression before ‘)’ token
rhd_x11.c: In function ‘draw3dline’:
rhd_x11.c:564: error: ‘ourdisplay’ undeclared (first use in this function)
rhd_x11.c:564: error: ‘gwind’ undeclared (first use in this function)
rhd_x11.c:564: error: ‘ourgc’ undeclared (first use in this function)
rhd_x11.c: In function ‘draw_grids’:
rhd_x11.c:580: error: ‘ourdisplay’ undeclared (first use in this function)
rhd_x11.c:580: error: ‘ourgc’ undeclared (first use in this function)
rhd_x11.c: At top level:
rhd_x11.c:640: error: expected ‘)’ before ‘*’ token
rhd_x11.c:682: error: expected ‘)’ before ‘*’ token
rhd_x11.c:724: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
rhd_x11.c:806: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
rhd_x11.c:820: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
make: *** [rhd_x11.o] Error 1
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o rhd_qtree.o rhd_qtree.c
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o rhd_qtree2r.o rhd_qtree2r.c
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DDEVPATH=\"/usr/local/bin/dev\" -c -o rhd_ctab.o rhd_ctab.c
make: Target `install' not remade because of errors.
set nonomatch; rm -f *.o rholo rhpict rhcopy genrhgrid rhoptimize rhinfo core Version.c
~/Desktop/ray/src
~/Desktop/ray/src/util ~/Desktop/ray/src
In directory util...
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o findglare.o findglare.c
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o glareval.o glareval.c
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o glaresrc.o glaresrc.c
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o setscan.o setscan.c
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -o findglare findglare.o glareval.o glaresrc.o \
setscan.o -lrtrad -lm
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o glarendx.o glarendx.c
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -o glarendx glarendx.o -lrtrad -lm
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o rpiece.o rpiece.c
rpiece.c: In function ‘init’:
rpiece.c:246: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result
cp ../rt/Version.c .
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o Version.o Version.c
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -o rpiece rpiece.o Version.o -lrtrad -lm
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o rad.o rad.c
rad.c: In function ‘oconv’:
rad.c:552: warning: ignoring return value of ‘mktemp’, declared with attribute warn_unused_result
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -o rad rad.o -lrtrad -lm
rad.o: In function `oconv':
rad.c:(.text+0x10dd): warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp'
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o ranimate.o ranimate.c
ranimate.c: In function ‘getradfile’:
ranimate.c:528: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o netproc.o netproc.c
netproc.c: In function ‘addpserver’:
netproc.c:61: warning: ignoring return value of ‘getcwd’, declared with attribute warn_unused_result
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -o ranimate ranimate.o netproc.o -lrtrad -lm
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o ranimove.o ranimove.c
ranimove.c: In function ‘getradfile’:
ranimove.c:422: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result
ranimove.c:435: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o ranimove1.o ranimove1.c
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o ranimove2.o ranimove2.c
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -o ranimove ranimove.o ranimove1.o ranimove2.o \
-lraycalls -lradiance -lrtrad -lm
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o vwright.o vwright.c
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -o vwright vwright.o -lrtrad -lm
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o getinfo.o getinfo.c
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -o getinfo getinfo.o -lrtrad
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o vwrays.o vwrays.c
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -o vwrays vwrays.o -lrtrad -lm
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o xglaresrc.o xglaresrc.c
xglaresrc.c:14:22: error: X11/Xlib.h: No such file or directory
xglaresrc.c:15:23: error: X11/Xutil.h: No such file or directory
xglaresrc.c:32: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
xglaresrc.c:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘vecGC’
xglaresrc.c:38: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gwind’
xglaresrc.c: In function ‘init’:
xglaresrc.c:95: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘xfindwind’
xglaresrc.c:96: error: ‘XWindowAttributes’ undeclared (first use in this function)
xglaresrc.c:96: error: (Each undeclared identifier is reported only once
xglaresrc.c:96: error: for each function it appears in.)
xglaresrc.c:96: error: expected ‘;’ before ‘wa’
xglaresrc.c:97: error: ‘XColor’ undeclared (first use in this function)
xglaresrc.c:97: error: expected ‘;’ before ‘xc’
xglaresrc.c:98: error: ‘XGCValues’ undeclared (first use in this function)
xglaresrc.c:98: error: expected ‘;’ before ‘gcv’
xglaresrc.c:108: error: ‘theDisplay’ undeclared (first use in this function)
xglaresrc.c:124: error: ‘gwind’ undeclared (first use in this function)
xglaresrc.c:125: error: ‘None’ undeclared (first use in this function)
xglaresrc.c:133: warning: missing sentinel in function call
xglaresrc.c:146: error: ‘wa’ undeclared (first use in this function)
xglaresrc.c:148: error: ‘IsViewable’ undeclared (first use in this function)
xglaresrc.c:162: error: ‘gcv’ undeclared (first use in this function)
xglaresrc.c:168: error: ‘xc’ undeclared (first use in this function)
xglaresrc.c:171: error: ‘DoRed’ undeclared (first use in this function)
xglaresrc.c:171: error: ‘DoGreen’ undeclared (first use in this function)
xglaresrc.c:171: error: ‘DoBlue’ undeclared (first use in this function)
xglaresrc.c:177: error: ‘vecGC’ undeclared (first use in this function)
xglaresrc.c:178: error: ‘GCForeground’ undeclared (first use in this function)
xglaresrc.c:178: error: ‘GCBackground’ undeclared (first use in this function)
xglaresrc.c:178: error: ‘GCFont’ undeclared (first use in this function)
xglaresrc.c:179: error: ‘strGC’ undeclared (first use in this function)
xglaresrc.c:181: error: ‘GXinvert’ undeclared (first use in this function)
xglaresrc.c:182: error: ‘GCFunction’ undeclared (first use in this function)
xglaresrc.c: In function ‘circle_sources’:
xglaresrc.c:205: error: ‘theDisplay’ undeclared (first use in this function)
xglaresrc.c: In function ‘circle’:
xglaresrc.c:229: error: ‘XPoint’ undeclared (first use in this function)
xglaresrc.c:229: error: expected ‘;’ before ‘pt’
xglaresrc.c:247: error: ‘pt’ undeclared (first use in this function)
xglaresrc.c:250: error: ‘theDisplay’ undeclared (first use in this function)
xglaresrc.c:250: error: ‘gwind’ undeclared (first use in this function)
xglaresrc.c:250: error: ‘vecGC’ undeclared (first use in this function)
xglaresrc.c:250: error: ‘CoordModeOrigin’ undeclared (first use in this function)
xglaresrc.c: In function ‘value’:
xglaresrc.c:277: error: ‘theDisplay’ undeclared (first use in this function)
xglaresrc.c:277: error: ‘gwind’ undeclared (first use in this function)
xglaresrc.c:277: error: ‘strGC’ undeclared (first use in this function)
make: *** [xglaresrc.o] Error 1
cp ../common/x11findwind.c .
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o x11findwind.o x11findwind.c
x11findwind.c:13:22: error: X11/Xlib.h: No such file or directory
x11findwind.c:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘xfindwind’
make: *** [x11findwind.o] Error 1
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o rtcontrib.o rtcontrib.c
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -o rtcontrib rtcontrib.o Version.o -lrtrad -lm
rtcontrib.o: In function `main':
rtcontrib.c:(.text+0x3c1e): warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp'
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o rsensor.o rsensor.c
rsensor.c: In function ‘load_sensor’:
rsensor.c:221: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
rsensor.c:223: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -o rsensor rsensor.o \
-lraycalls -lradiance -lrtrad -lm
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o dctimestep.o dctimestep.c
gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -o dctimestep dctimestep.o -lrtrad -lm
make: Target `install' not remade because of errors.
set nonomatch; rm -f *.o findglare glarendx rpiece rad ranimate ranimove vwright getinfo vwrays xglaresrc rtcontrib rsensor dctimestep glrad core Version.c x11findwind.c
~/Desktop/ray/src
~/Desktop/ray/src/cal ~/Desktop/ray/src
In directory cal...
gcc -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DBIGGERLIB -I../common -L../lib -c -o calc.o calc.c
gcc -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DBIGGERLIB -I../common -L../lib -o icalc calc.o -lrtrad -lm
gcc -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DBIGGERLIB -I../common -L../lib -c -o ev.o ev.c
gcc -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DBIGGERLIB -I../common -L../lib -o ev ev.o -lrtrad -lm
gcc -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DBIGGERLIB -I../common -L../lib -c -o rcalc.o rcalc.c
gcc -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DBIGGERLIB -I../common -L../lib -o rcalc rcalc.o -lrtrad -lm
gcc -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DBIGGERLIB -I../common -L../lib -c -o total.o total.c
gcc -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DBIGGERLIB -I../common -L../lib -o total total.o -lm
gcc -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DBIGGERLIB -I../common -L../lib -c -o cnt.o cnt.c
gcc -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DBIGGERLIB -I../common -L../lib -o cnt cnt.o
gcc -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DBIGGERLIB -I../common -L../lib -c -o neat.o neat.c
gcc -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DBIGGERLIB -I../common -L../lib -o neaten neat.o
gcc -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DBIGGERLIB -I../common -L../lib -c -o lam.o lam.c
gcc -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DBIGGERLIB -I../common -L../lib -o rlam lam.o
gcc -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DBIGGERLIB -I../common -L../lib -c -o tabfunc.o tabfunc.c
gcc -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DBIGGERLIB -I../common -L../lib -o tabfunc tabfunc.o -lrtrad -lm
gcc -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DBIGGERLIB -I../common -L../lib -c -o histo.o histo.c
gcc -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DBIGGERLIB -I../common -L../lib -o histo histo.o -lm
cp icalc ev rcalc total cnt neaten rlam tabfunc histo /usr/local/bin
set nonomatch; rm -f *.o icalc ev rcalc total cnt neaten rlam tabfunc histo
~/Desktop/ray/src
There were some errors.
nyclinux@nyclinux:~/Desktop/ray$

------------------------------------------------------------------------

_______________________________________________

Radiance-general mailing list

[email protected]

http://www.radiance-online.org/mailman/listinfo/radiance-general

  ------------------------------------------------------------------------

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

As several people mentioned, you're missing some build-dependencies.
Running
apt-get build-dep radiance
should install them for you.

Or just install radiance from the packages which are distributed with Ubuntu:
apt-get install radiance
Also you might want to look at the descriptions of radiance-sse3, radiance-doc,
radiance-materials.
Ubuntu 9.10 should ship with radiance 3R9, Ubuntu 10.04 with 4R0.

Cheers,

Bernd

···

On 05/11/2010 04:48 PM, Cramer Silkworth wrote:

Hi All,

I just attempted to upgrade my existing R3.9 installation on Ubuntu 9.10 to R4. I did:
sudo ./makeall install clean per the readme file (actually the readme doesn't mention sudo but a couple steps in i realized i needed it). Lots of scary things flashed by, and i caught various warnings going by. It then stopped with "There were some errors." So I tried an rtrace job that I know runs on 3.9, and it still runs. But when I add the -n option (-n 2 or -n 4, for example), it crashes with a fatal error: command line error at -n. (It's a four core machine with 4gb ram)

To the extent that it remained on the screen, the output from my installation follows. Any help would be greatly appreciated!

--
Bernd Zeimetz Debian GNU/Linux Developer
http://bzed.de http://www.debian.org
GPG Fingerprints: 06C8 C9A2 EAAD E37E 5B2C BE93 067A AD04 C93B FF79
                   ECA1 E3F2 8E11 2432 D485 DD95 EB36 171A 6FF9 435F

Mark, Jack, & Thomas,

Thanks for the tips! I tried adding the libx11-dev and csh packages, but it still didn't work. So I (gave up and) grabbed Jack's compiled version from his ftp site, copied the files to the right places, and it now reports 4.0 as the version for rtrace and rvu.

I'm hung up a new error though, rtrace reports that it can't find "inglas.cal". Does that sound familiar to anyone? It could be a file one of my german colleagues made that I lost in the process, but unfortunately they've all gone home for the day already...

Thanks again,
Cramer

···

--
*Cramer Silkworth
212 219 2255 | [email protected] <mailto:[email protected]>
Transsolar Inc. | 134 Spring Street Suite 601 | New York, NY 10012

Transsolar Climate Engineering
Technical consulting for energy efficiency and environmental quality in buildings.
New York - Stuttgart - Munich*

one more thing about this missing "inglas.cal" file: if i take the -n 4 option out of my rtrace call, it runs fine (on one core).

···

--
*Cramer Silkworth
212 219 2255 | [email protected] <mailto:[email protected]>
Transsolar Inc. | 134 Spring Street Suite 601 | New York, NY 10012

Transsolar Climate Engineering
Technical consulting for energy efficiency and environmental quality in buildings.
New York - Stuttgart - Munich*

Hi Cramer,

This must be a special cal file that your firm has developed. For any custom cal files that we develop I place them in a separate library (separate from the radiance standard lib), this way we know what we have developed. If your firm has used a similar model for any custom files then you may just need to find out "where" they are on your 3.9 installation and make sure that RAYPATH is also pointing to your custom library location.

It is a bit puzzling that removing the -n 4 switch makes the rtrace run work...

-Jack

···

--
# Jack de Valpine
# president
#
# visarc incorporated
# http://www.visarc.com
#
# channeling technology for superior design and construction

Cramer Silkworth wrote:

one more thing about this missing "inglas.cal" file: if i take the -n 4 option out of my rtrace call, it runs fine (on one core).

--
*Cramer Silkworth
212 219 2255 | [email protected] <mailto:[email protected]>
Transsolar Inc. | 134 Spring Street Suite 601 | New York, NY 10012

Transsolar Climate Engineering
Technical consulting for energy efficiency and environmental quality in buildings.
New York - Stuttgart - Munich*
------------------------------------------------------------------------

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

I'm puzzled by this as well. The use of the new "-n" option for rtrace shouldn't affect whether it can find .cal files or not. I suspect that something else changed between tests, such as the setting of the RAYPATH environment variable.

-Greg

···

From: Jack de Valpine <[email protected]>
Date: May 11, 2010 9:50:57 AM PDT

Hi Cramer,

This must be a special cal file that your firm has developed. For any custom cal files that we develop I place them in a separate library (separate from the radiance standard lib), this way we know what we have developed. If your firm has used a similar model for any custom files then you may just need to find out "where" they are on your 3.9 installation and make sure that RAYPATH is also pointing to your custom library location.

It is a bit puzzling that removing the -n 4 switch makes the rtrace run work...

-Jack

Cramer Silkworth wrote:

one more thing about this missing "inglas.cal" file: if i take the -n 4 option out of my rtrace call, it runs fine (on one core).

--
*Cramer Silkworth
212 219 2255 | [email protected] <mailto:[email protected]>
Transsolar Inc. | 134 Spring Street Suite 601 | New York, NY 10012

Transsolar Climate Engineering
Technical consulting for energy efficiency and environmental quality in buildings.
New York - Stuttgart - Munich*

Ouch, just had to realize that it does not.

Here are short instructions to build the packages:

sudo apt-get install fakeroot devscripts
sudo apt-get build-dep radiance
dget -xu \
ftp://ftp.debian.org/debian/pool/main/r/radiance/radiance_4R0+20100331-1.dsc
cd radiance-4R0+20100331
dpkg-buildpackage -rfakeroot
cd ..
sudo dpkg -i radiance*.deb

I could provide packages for lucid if there is some interest, just let me know
for which architecture please.

···

On 05/11/2010 05:39 PM, Bernd Zeimetz wrote:

Or just install radiance from the packages which are distributed with Ubuntu:
apt-get install radiance
Also you might want to look at the descriptions of radiance-sse3, radiance-doc,
radiance-materials.
Ubuntu 9.10 should ship with radiance 3R9, Ubuntu 10.04 with 4R0.

--
Bernd Zeimetz Debian GNU/Linux Developer
http://bzed.de http://www.debian.org
GPG Fingerprints: 06C8 C9A2 EAAD E37E 5B2C BE93 067A AD04 C93B FF79
                   ECA1 E3F2 8E11 2432 D485 DD95 EB36 171A 6FF9 435F

Cramer Silkworth wrote:

Bernd, adding the build-dep packages didn't solve the compiling problem. If the setting raypath doesn't fix it, I'm starting with a fresh install of the OS with all packages selected. Radiance is the only thing I use this machine for, so it's not really a big deal.

Hi Cramer,

installing the complete operating system is certainly not required. Did you (exactly) follow Bernd's instructions, not only adding the packages? What the procedure he described does is actually building Radiance on your system, but not by simply copying the binaries to /usr/local, but by integrating them into your system using the package manager whenever it is possible. Just follow his steps one by one.

I would strongly advice users to go this way - the generic /usr/local-approach leads to a lot of confusion with people ending up with a mess of files in that directory. This makes debugging difficult and successful updates become challenging. Nothing to say against it as long as one really keeps track and can do a rm -R /usr/local from time to time - but impossible to maintain for a casual user.

Cheers,

Lars.