Nieminen Mika <war### [at] cc tut fi> writes:
> I just compiled the brand new povray 3.1e on this SparcStation 5 with
> SunOS and it seems to work fine.
> However, I had some problems with the makefile:
>
> 1. The line:
>
> X11 = /usr/openwin
>
> had extra whitespaces at the end causing problems with the compilation.
> This was caused because the line:
>
> XLIBINC = -I$(X11)/include
>
> expanded to "-I/usr/openwin /include" instead of
> "-I/usr/openwin/include".
> Removing the spaces fixed the problem.
The same is true for me.
> 2. The CFLAGS variable has the flag '-c' as it should but the compilation
> is made this way:
>
> $(ODIR)/atmosph$(OBJ) : $(atmosphDEP)
> $(CC) $(CFLAGS) $(SRCDIR)/atmosph.c -o $@
>
> The gcc compiler (egcs-2.91.60) does not allow specifying both '-c' and
> '-o' flags. Removing all the "-o $@" at the end of those lines fixed the
> problem.
Are you sure that this was the problem? I use "-c" and "-o" together
without any problems. In particular, I didn't have to change the lines.
Perhaps you've had some LF/CR problems due to incorrect unpacking.
Thomas
--
http://www.fmi.uni-konstanz.de/~willhalm
Post a reply to this message
|