Problems compiling

Dear list,

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? :slight_smile:

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.