your last changes on eplus_adduvf.c eplus_idf.c do not compile...

Hi Greg,

just a short note:

Your last changes from yesterday on

eplus_adduvf.c eplus_idf.c

seem not to compile - I downloaded the headlease today and got the error-messages below...

But not serious for my installation, since this was the only error...



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 -o eplus_adduvf eplus_adduvf.o eplus_idf.o -lrtrad
eplus_adduvf.o: In function `main':
eplus_adduvf.c:(.text+0xc27): warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp'
eplus_adduvf.o: In function `sample_triangle':
eplus_adduvf.c:(.text+0x26b): undefined reference to `sqrt'
eplus_adduvf.c:(.text+0x2ee): undefined reference to `sqrt'
eplus_adduvf.c:(.text+0x36d): undefined reference to `sqrt'
../lib/librtrad.a(fvect.o): In function `normalize':
fvect.c:(.text+0x4ae): undefined reference to `sqrt'
../lib/librtrad.a(fvect.o): In function `geodesic':
fvect.c:(.text+0x6f5): undefined reference to `sincos'
fvect.c:(.text+0x741): undefined reference to `sqrt'
fvect.c:(.text+0x7db): undefined reference to `acos'
../lib/librtrad.a(fvect.o): In function `spinvector':
fvect.c:(.text+0x851): undefined reference to `sincos'
../lib/librtrad.a(fvect.o): In function `Acos':
fvect.c:(.text+0x501): undefined reference to `acos'
../lib/librtrad.a(fvect.o): In function `Asin':
fvect.c:(.text+0x961): undefined reference to `asin'
../lib/librtrad.a(tcos.o): In function `tcos':
tcos.c:(.text+0x13d): undefined reference to `cos'
collect2: ld returned 1 exit status
make: *** [eplus_adduvf] Error 1
make: Target `install' not remade because of errors.


Dr.-Ing. Jan Wienold
Head of Team Passive Systems and Daylighting
Fraunhofer-Institut f�r Solare Energiesysteme
Thermal Systems and Buildings
Heidenhofstr. 2, 79110 Freiburg, Germany
Phone: +49(0)761 4588 5133 Fax:+49(0)761 4588 9133
[email protected]

In office:
Mo,Tue: 8:30-18:00
We,Thu: 8:30-16:00
Fr: 8:30-15:30