[Radiance-general] Upgrading to R4: "There were some errors."
Mark Stock
mstock at umich.edu
Tue May 11 07:58:12 PDT 2010
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 | silkworth at transsolar.com
>
> 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 at nyclinux:~/Desktop/ray$
>
>
>
>
>
-------------- next part --------------
_______________________________________________
Radiance-general mailing list
Radiance-general at radiance-online.org
http://www.radiance-online.org/mailman/listinfo/radiance-general
More information about the Radiance-general
mailing list