[Radiance-general] Problems compiling latest release under Cygwin

Thomas Bleicher tbleicher at googlemail.com
Thu Oct 21 12:52:09 PDT 2010


Hi Claus

You can find the same error report for the 3R9 release here:

http://www.radiance-online.org/pipermail/radiance-dev/2008-June/000870.html

Grep posted a solution back then as a reply to the email which is also in
the archive:

Try adding "-DEZXML_NOMMAP" to the rmake script and rerunning
"makeall install" in the main directory or "rmake install" in the src/
gen directory.  Th ezxml.c module is new with this release and was
provided by a third party, so I'm not well familiar with its
portability issues.  So far, it seems quite robust.


Cygwin is not very popular since precompiled MinGW binaries are available or
the Cygwin users a quiet bunch here on the list.


Regards,
Thomas

2010/10/21 Claus Brøndgaard Madsen <cbm at create.aau.dk>

>
>
>
>
>
>
> Dear RADIANCE list,
>
>
>
> It is not nice to re-post a list post, but I am desperate and got no
> response the first time around. Can anyone spot a potential reason that I
> have run into problems with compiling RADIANCE:
>
>
>
>
>
>
>
> I downloaded rad4R0all, unzipped and untar’ed, then ran makeall install (on
> a Windows 7 machine with Cygwin installed).
>
>
>
> I got a lot of error messages (below the first dozens of lines of a
> redirect of stderr to a textfile). Any chance of an easy fix? J
>
>
>
> Best
>
> Claus
>
>
>
>
>
> ================================== stderr
> =============================================
>
>
>
> ezxml.c: In function ‘ezxml_parse_fd’:
>
>
>
> ezxml.c:643: error: ‘MADV_SEQUENTIAL’ undeclared (first use in this
> function)
>
>
>
> ezxml.c:643: error: (Each undeclared identifier is reported only once
>
>
>
> ezxml.c:643: error: for each function it appears in.)
>
>
>
> ezxml.c:645: error: ‘MADV_NORMAL’ undeclared (first use in this function)
>
>
>
> make: *** [ezxml.o] Error 1
>
>
>
> make: Target `install' not remade because of errors.
>
>
>
> persist.c:42: error: conflicting types for ‘sighandler_t’
>
> /usr/include/signal.h:11: error: previous declaration of ‘sighandler_t’ was
> here
>
>
>
> make: *** [persist.o] Error 1
>
>
>
> rpict.c: In function ‘rpict’:
>
>
>
> rpict.c:280: warning: call to ‘mktemp’ declared with attribute warning: the
> use of `mktemp' is dangerous; use `mkstemp' instead
>
>
>
> /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: cannot
> find -lrtrad
>
>
>
> collect2: ld returned 1 exit status
>
>
>
> make: *** [rvu] Error 1
>
>
>
> /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: cannot
> find -lrtrad
>
>
>
> collect2: ld returned 1 exit status
>
>
>
> make: *** [lookamb] Error 1
>
>
>
> make: Target `install' not remade because of errors.
>
>
>
> /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: cannot
> find -lrtrad
>
>
>
> collect2: ld returned 1 exit status
>
>
>
> make: *** [meta2tga] Error 1
>
>
>
> /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: cannot
> find -lrtrad
>
>
>
> collect2: ld returned 1 exit status
>
>
>
> make: *** [pexpand] Error 1
>
>
>
> /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: cannot
> find -lrtrad
>
>
>
> collect2: ld returned 1 exit status
>
>
>
> make: *** [psort] Error 1
>
>
>
> /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: cannot
> find -lrtrad
>
>
>
> collect2: ld returned 1 exit status
>
>
>
> make: *** [cv] Error 1
>
>
>
> /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: cannot
> find -lrtrad
>
>
>
> collect2: ld returned 1 exit status
>
> lrtrad
>
> collect2: ld returned 1 exit status
>
>
>
> make: *** [tabfunc] Error 1
>
>
>
> make: Target `install' not remade because of errors.
>
>
>
>
>
>
>
> _______________________________________________
> Radiance-general mailing list
> Radiance-general at radiance-online.org
> http://www.radiance-online.org/mailman/listinfo/radiance-general
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://radiance-online.org/pipermail/radiance-general/attachments/20101021/2890d5e1/attachment.htm


More information about the Radiance-general mailing list