Здраствуйте!
исходный текст :
#include <iostream>
int main ( int argc, char *argv[] )
{
std::cout << "test ok" << std::endl;
return 0;
}
компиляция
g++ -c test.cpp
In file included from /usr/include/sys/wait.h:24,
from /usr/include/stdlib.h:22,
from /usr/local/include/c++/3.3.2/cstdlib:52,
from /usr/local/include/c++/3.3.2/bits/stl_algobase.h:67,
from /usr/local/include/c++/3.3.2/memory:54,
from /usr/local/include/c++/3.3.2/string:48,
from /usr/local/include/c++/3.3.2/bits/locale_classes.h:47,
from /usr/local/include/c++/3.3.2/bits/ios_base.h:47,
from /usr/local/include/c++/3.3.2/ios:49,
from /usr/local/include/c++/3.3.2/ostream:45,
from /usr/local/include/c++/3.3.2/iostream:45,
from test.cpp:1:
/usr/include/sys/siginfo.h:259: error: 'ctid_t' is used as a type, but is not
defined as a type.
/usr/include/sys/siginfo.h:390: error: 'ctid_t' is used as a type, but is not
defined as a type.
make: *** [test.o] Error 1
user - uname -a
SunOS unknown 5.10 s10_72 sun4u sparc SUNW,Ultra-5_10
user - gcc --version
gcc (GCC) 3.3.2
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Подскажите пожалуйста кто сталкивался с похожими граблями?
Спасибо большое.