I am building dcmtk on aix 6.1, while got problems.
in CMakefileCache.txt, I have
//Have include stdio.h
HAVE_STDIO_H:INTERNAL=1
While, the build says something like this,
build@aix03 77>make
Scanning dependencies of target ofstd_obj
[ 0%] Building CXX object ofstd/libsrc/CMakeFiles/ofstd_obj.dir/ofcmdln.cc.o
"/work/dcmtk_build/dcmtk/ofstd/include/dcmtk/ofstd/offile.h", line 536.6: 1540-0130 (S) "::setlinebuf" is not declared.
"/work/dcmtk_build/dcmtk/ofstd/include/dcmtk/ofstd/offile.h", line 650.5: 1540-0130 (S) "::setbuffer" is not declared.
make: The error code from the last command is 1.
Stop.
make: The error code from the last command is 2.
Stop.
make: The error code from the last command is 2.
Stop.
build@aix03 78>
What did I do wrong?
Thanks.
Last edited by wrenashe on Mon, 2014-05-19, 10:15, edited 1 time in total.
We haven't tested DCMTK on AIX for a while (see INSTALL file for a list of supported/tested platforms).
However, according to the AIX documentation, both functions should be available (as part of "stdio.h").
Maybe, the "::" is the reason? Did you check whether "stdio.h" is really included on your system and how the two functions are defined in this file?
I can only repeat: 'Maybe, the "::" is the reason? Did you check whether "stdio.h" is really included on your system and how the two functions are defined in this file?'