|
![](/i/fill.gif) |
> Argh, sorry for the 'buggy' formatting of my message :-(
>
> - NC
>
Ok, downloaded and testing... on solaris 2.5.1, gcc 3.3.2, sparc-cpu
Problem are:
- vsnprintf is unknown (whereas vsprintf is ok)
- X11 include are not C++ compliant...
How the hell do you disable X Window display ?
Retrying with ./configure --without-x ...
Failed
=========================================================================
======
POV-Ray 3.6 has been configured with the following features:
I/O restrictions: enabled
X Window display: enabled
SVGAlib display : disabled
Type 'make' to build, and 'make install' to install all files in the
hierarchy
/usr/local
=========================================================================
======
Retrying with ./configure --with-x=NO ...
Ditto.
Retrying with ./configure --with-x=no ...
Ditto.
Stuck at trying to remove that X from povray...
And here the full list of errors (I replaced vsnprintf with vsprintf,
even if it open a possible buffer overrun exploit, to go further in the
compilation).
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../source -I../../unix
-I../../libraries/zlib -I../../libraries/png -I/usr/openwin/include -
pipe -Wno-multichar -O3 -c -o fileinputoutput.o `test -f
'fileinputoutput.cpp' || echo './'`fileinputoutput.cpp
fileinputoutput.cpp: In member function `void pov_base::OStream::printf
(const
char*, ...)':
fileinputoutput.cpp:306: error: `vsnprintf' undeclared (first use this
function)
fileinputoutput.cpp:306: error: (Each undeclared identifier is reported
only
once for each function it appears in.)
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../source -I../../unix
-I../../libraries/zlib -I../../libraries/png -I/usr/openwin/include -
pipe -Wno-multichar -O3 -c -o processoptions.o `test -f
'processoptions.cpp' || echo './'`processoptions.cpp
processoptions.cpp: In member function `virtual void
pov_base::ProcessOptions::ParseError(const char*, ...)':
processoptions.cpp:391: error: `vsnprintf' undeclared (first use this
function)
processoptions.cpp:391: error: (Each undeclared identifier is reported
only
once for each function it appears in.)
processoptions.cpp: In member function `virtual void
pov_base::ProcessOptions::ParseErrorAt(pov_base::ITextStream*, const
char*,
...)':
processoptions.cpp:403: error: `vsnprintf' undeclared (first use this
function)
processoptions.cpp: In member function `virtual void
pov_base::ProcessOptions::WriteError(const char*, ...)':
processoptions.cpp:415: error: `vsnprintf' undeclared (first use this
function)
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../source -I../../unix
-I../../libraries/zlib -I../../libraries/png -I/usr/openwin/include -
pipe -Wno-multichar -O3 -c -o stringutilities.o `test -f
'stringutilities.cpp' || echo './'`stringutilities.cpp
stringutilities.cpp: In function `const char* pov_base::pov_tsprintf
(const
char*, ...)':
stringutilities.cpp:134: error: `vsnprintf' undeclared (first use this
function)
stringutilities.cpp:134: error: (Each undeclared identifier is reported
only
once for each function it appears in.)
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../source -I../../unix
-I../../libraries/zlib -I../../libraries/png -I/usr/openwin/include -
pipe -Wno-multichar -O3 -c -o textstreambuffer.o `test -f
'textstreambuffer.cpp' || echo './'`textstreambuffer.cpp
textstreambuffer.cpp: In member function `void
pov_base::TextStreamBuffer::printf(const char*, ...)':
textstreambuffer.cpp:69: error: `vsnprintf' undeclared (first use this
function)
textstreambuffer.cpp:69: error: (Each undeclared identifier is reported
only
once for each function it appears in.)
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../source -I../../unix
-I../../libraries/zlib -I../../libraries/png -I/usr/openwin/include -
pipe -Wno-multichar -O3 -c -o textstream.o `test -f 'textstream.cpp' ||
echo './'`textstream.cpp
textstream.cpp: In member function `void pov_base::OTextStream::printf
(const
char*, ...)':
textstream.cpp:270: error: `vsnprintf' undeclared (first use this
function)
textstream.cpp:270: error: (Each undeclared identifier is reported only
once
for each function it appears in.)
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../source -
I../../source/base -I../../unix -I../../libraries/zlib -
I../../libraries/png -I/usr/openwin/include -pipe -Wno-multichar -O3 -
c -o defaultrenderfrontend.o `test -f 'defaultrenderfrontend.cpp' || echo
'./'`defaultrenderfrontend.cpp
defaultrenderfrontend.cpp: In member function `void
pov_frontend::DefaultRenderFrontend::BannerPrintf(const char*, ...)':
defaultrenderfrontend.cpp:63: error: `vsnprintf' undeclared (first use
this
function)
defaultrenderfrontend.cpp:63: error: (Each undeclared identifier is
reported
only once for each function it appears in.)
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../source -
I../../source/base -I../../unix -I../../libraries/zlib -
I../../libraries/png -I/usr/openwin/include -pipe -Wno-multichar -O3 -
c -o messageoutput.o `test -f 'messageoutput.cpp' || echo
'./'`messageoutput.cpp
messageoutput.cpp: In member function `void
pov_frontend::MessageOutput::Printf(int, const char*, ...)':
messageoutput.cpp:88: error: `vsnprintf' undeclared (first use this
function)
messageoutput.cpp:88: error: (Each undeclared identifier is reported only
once
for each function it appears in.)
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../source/base -
I../source/frontend -I../unix -I../libraries/zlib -I../libraries/png -
I../libraries/tiff/libtiff -I/usr/openwin/include -pipe -Wno-multichar
-O3 -c -o userio.o `test -f 'userio.cpp' || echo './'`userio.cpp
userio.cpp: In function `int pov::Debug_Info(const char*, ...)':
userio.cpp:157: error: `vsnprintf' undeclared (first use this function)
userio.cpp:157: error: (Each undeclared identifier is reported only once
for
each function it appears in.)
userio.cpp: In function `int pov::Warning(unsigned int, const char*,
...)':
userio.cpp:180: error: `vsnprintf' undeclared (first use this function)
userio.cpp: In function `int pov::WarningAt(unsigned int, const char*,
long
int, long unsigned int, const char*, ...)':
userio.cpp:229: error: `vsnprintf' undeclared (first use this function)
userio.cpp: In function `int pov::PossibleError(const char*, ...)':
userio.cpp:268: error: `vsnprintf' undeclared (first use this function)
userio.cpp: In function `int pov::Error(const char*, ...)':
userio.cpp:314: error: `vsnprintf' undeclared (first use this function)
userio.cpp: In function `int pov::ErrorAt(const char*, long int, long
unsigned
int, const char*, ...)':
userio.cpp:369: error: `vsnprintf' undeclared (first use this function)
g++ -DHAVE_CONFIG_H -DPOVLIBDIR=\"/usr/local/share/povray-3.6\" -
DPOVCONFDIR=\"/usr/local/etc/povray/3.6\" -DPOVCONFDIR_BACKWARD=
\"/usr/local/etc\" -I. -I. -I.. -I.. -I../source -I../source/base -
I../source/frontend -I../source -I../libraries/zlib -I../libraries/png -
I../libraries/tiff/libtiff -I/usr/openwin/include -pipe -Wno-multichar
-O3 -c -o xwin.o `test -f 'xwin.cpp' || echo './'`xwin.cpp
In file included from xwin.cpp:122:
/usr/openwin/include/X11/Xlib.h:1894: error: ISO C++ forbids declaration
of `
XSetTransientForHint' with no type
/usr/openwin/include/X11/Xlib.h:1902: error: ISO C++ forbids declaration
of `
XActivateScreenSaver' with no type
/usr/openwin/include/X11/Xlib.h:1909: error: ISO C++ forbids declaration
of `
XAddHost' with no type
/usr/openwin/include/X11/Xlib.h:1917: error: ISO C++ forbids declaration
of `
XAddHosts' with no type
/usr/openwin/include/X11/Xlib.h:1924: error: ISO C++ forbids declaration
of `
XAddToExtensionList' with no type
/usr/openwin/include/X11/Xlib.h:1931: error: ISO C++ forbids declaration
of `
XAddToSaveSet' with no type
/usr/openwin/include/X11/Xlib.h:1985: error: ISO C++ forbids declaration
of `
XAllowEvents' with no type
/usr/openwin/include/X11/Xlib.h:1991: error: ISO C++ forbids declaration
of `
XAutoRepeatOff' with no type
/usr/openwin/include/X11/Xlib.h:1997: error: ISO C++ forbids declaration
of `
XAutoRepeatOn' with no type
/usr/openwin/include/X11/Xlib.h:2004: error: ISO C++ forbids declaration
of `
XBell' with no type
/usr/openwin/include/X11/Xlib.h:2037: error: ISO C++ forbids declaration
of `
XChangeActivePointerGrab' with no type
/usr/openwin/include/X11/Xlib.h:2046: error: ISO C++ forbids declaration
of `
XChangeGC' with no type
/usr/openwin/include/X11/Xlib.h:2054: error: ISO C++ forbids declaration
of `
XChangeKeyboardControl' with no type
/usr/openwin/include/X11/Xlib.h:2064: error: ISO C++ forbids declaration
of `
XChangeKeyboardMapping' with no type
/usr/openwin/include/X11/Xlib.h:2075: error: ISO C++ forbids declaration
of `
XChangePointerControl' with no type
/usr/openwin/include/X11/Xlib.h:2088: error: ISO C++ forbids declaration
of `
XChangeProperty' with no type
/usr/openwin/include/X11/Xlib.h:2096: error: ISO C++ forbids declaration
of `
XChangeSaveSet' with no type
/usr/openwin/include/X11/Xlib.h:2105: error: ISO C++ forbids declaration
of `
XChangeWindowAttributes' with no type
/usr/openwin/include/X11/Xlib.h:2162: error: ISO C++ forbids declaration
of `
XCirculateSubwindows' with no type
and so on...
--
l'habillement, les chaussures que le maquillage et les accessoires.
Post a reply to this message
|
![](/i/fill.gif) |