[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