POV-Ray : Newsgroups : povray.unix : Compile error help needed : Compile error help needed Server Time
8 Jul 2024 17:48:48 EDT (-0400)
  Compile error help needed  
From: earthdog
Date: 31 Mar 2003 16:19:25
Message: <pan.2003.03.31.21.19.24.367366@NOSPAMevil3d.net>
I've compiled pov from source a few times, but this is the first time I've
had this problem.

I configure like so:

CXX='g++ -O3 -march=athlon-tbird -mcpu=athlon-tbird -fomit-frame-pointer
-falign-functions=6 -funroll-loops -ffast-math -malign-double -m3dnow
-mmmx' LDFLAGS='-dynamic' ./configure

and then "make".

This is the error I get back:

g++ -O3 -march=athlon-tbird -mcpu=athlon-tbird -fomit-frame-pointer
-falign-functions=6 -funroll-loops -ffast-math -malign-double -m3dnow
-mmmx -DPREFIX=\"/usr/local\"
-DPOV_LIB_DIR=\"/usr/local/share/povray-3.5\"
-DCOMPILER_VER=\".Linux.gcc\" -DSYSCONFDIR=\"/usr/local/etc\"
-DUSE_IO_RESTRICTIONS=\"\"     `if [ "Xgcc" = "Xgcc" ]; then echo
"-Wno-multichar"; fi ` -O3 -finline-functions -ffast-math
-fomit-frame-pointer -funroll-loops -fexpensive-optimizations
-malign-double -foptimize-sibling-calls -minline-all-stringops
-Wno-multichar -c tiff_pov.cpp tiff_pov.cpp:46:20: tiffio.h: No such file
or directory tiff_pov.cpp:55: type specifier omitted for parameter
`uint16' tiff_pov.cpp:55: parse error before `*' token tiff_pov.cpp: In
function `int checkcmap(...)': tiff_pov.cpp:57: `n' undeclared (first use
this function) tiff_pov.cpp:57: (Each undeclared identifier is reported
only once for each function it appears in.) tiff_pov.cpp:58: `r'
undeclared (first use this function) tiff_pov.cpp:58: `g' undeclared
(first use this function) tiff_pov.cpp:58: `b' undeclared (first use this
function) tiff_pov.cpp: At global scope:
tiff_pov.cpp:65: type specifier omitted for parameter `va_list'
tiff_pov.cpp: In function `void Read_Tiff_Image(IMAGE*, char*)':
tiff_pov.cpp:98: `uint16' undeclared (first use this function)
tiff_pov.cpp:98: parse error before `,' token tiff_pov.cpp:100: `uint32'
undeclared (first use this function) tiff_pov.cpp:102: `TIFF' undeclared
(first use this function) tiff_pov.cpp:102: `tif' undeclared (first use
this function) tiff_pov.cpp:111: `TIFFSetWarningHandler' undeclared (first
use this function) tiff_pov.cpp:112: `TIFFSetErrorHandler' undeclared
(first use this function) tiff_pov.cpp:115: `TIFFOpen' undeclared (first
use this function) tiff_pov.cpp:121: `TIFFTAG_IMAGEWIDTH' undeclared
(first use this function) tiff_pov.cpp:121: `TIFFGetField' undeclared
(first use this function) tiff_pov.cpp:122: `TIFFTAG_IMAGELENGTH'
undeclared (first use this function) tiff_pov.cpp:123:
`TIFFTAG_BITSPERSAMPLE' undeclared (first use this function)
tiff_pov.cpp:123: `BitsPerSample' undeclared (first use this function)
tiff_pov.cpp:124: `TIFFTAG_ROWSPERSTRIP' undeclared (first use this
function) tiff_pov.cpp:124: `RowsPerStrip' undeclared (first use this
function) tiff_pov.cpp:125: `TIFFTAG_PHOTOMETRIC' undeclared (first use
this function) tiff_pov.cpp:125: `PhotometricInterpretation' undeclared
(first use this function) tiff_pov.cpp:126: `TIFFTAG_ORIENTATION'
undeclared (first use this function) tiff_pov.cpp:126: `Orientation'
undeclared (first use this function) tiff_pov.cpp:127:
`TIFFTAG_SAMPLESPERPIXEL' undeclared (first use this
function)tiff_pov.cpp:127: `SamplePerPixel' undeclared (first use this
function) tiff_pov.cpp:127: `TIFFGetFieldDefaulted' undeclared (first use
this function) tiff_pov.cpp:128: `TIFFTAG_EXTRASAMPLES' undeclared (first
use this function) tiff_pov.cpp:135: `TIFFScanlineSize' undeclared (first
use this function) tiff_pov.cpp:165: `PHOTOMETRIC_PALETTE' undeclared
(first use this function) tiff_pov.cpp:166: `red' undeclared (first use
this function) tiff_pov.cpp:166: `green' undeclared (first use this
function) tiff_pov.cpp:166: `blue' undeclared (first use this function)
tiff_pov.cpp:179: `TIFFTAG_COLORMAP' undeclared (first use this function)
tiff_pov.cpp:207: `TIFFStripSize' undeclared (first use this function)
tiff_pov.cpp:213: `TIFFComputeStrip' undeclared (first use this function)
tiff_pov.cpp:213: `TIFFReadEncodedStrip' undeclared (first use this
function) tiff_pov.cpp:229: `buf' undeclared (first use this function)
tiff_pov.cpp:229: parse error before `)' token tiff_pov.cpp:231:
`TIFFReadRGBAImage' undeclared (first use this function) tiff_pov.cpp:232:
parse error before `,' token tiff_pov.cpp:241: `abgr' undeclared (first
use this function) tiff_pov.cpp:241: `tbuf' undeclared (first use this
function) tiff_pov.cpp:242: `TIFFGetB' undeclared (first use this
function) tiff_pov.cpp:243: `TIFFGetG' undeclared (first use this
function) tiff_pov.cpp:244: `TIFFGetR' undeclared (first use this
function) tiff_pov.cpp:245: `TIFFGetA' undeclared (first use this
function) tiff_pov.cpp:251: `TIFFClose' undeclared (first use this
function) make[1]: *** [tiff_pov.o] Error 1
make[1]: Leaving directory `/home/jgentry/temp/povray-3.50c/src' make: ***
[all-recursive] Error 1

I'm attempting the compile on Mandrake 9.1.  I have the kernel header
installed.  I'm just not familiar with what is going on as I've never had
this happen before.

Thanks for your help,

--Jeff


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.