compile Ice-3.3.0 error

li.c++li.c++ Member lucas liOrganization: noneProject: none
Hi.

Os: ubuntu 11.04
gcc version: gcc (Ubuntu/Linaro 4.4.4-14ubuntu5) 4.4.5

I have installed Thirdparty-Component which installed path has modified in cpp/config/Make.rules.
When I began to compile Ice-3.3.0 source, I got below error message:

c++ -c -I.. -I../../include -DSLICE_API_EXPORTS -ftemplate-depth-128 -Wall -D_REENTRANT -I/usr/include/nptl -fPIC -g SignalHandler.cpp
SignalHandler.cpp: In function ‘void signalHandler(int)’:
SignalHandler.cpp:43: error: ‘remove’ was not declared in this scope
make[2]: *** [SignalHandler.o] Error 1

I found no path /usr/include/nptl in my ubuntu but libc6-dev has been installed.
And I could not find remove function in any files which exists include directory.

Now what could I do?

Thanks best regard.

Comments

  • li.c++li.c++ Member lucas liOrganization: noneProject: none
    Probably I fix the problem. By man remove in console, I know remove defined in <stdio.h>.
    So I insert <stdio.h> in src/Slice/SignalHandler.cpp top.

    Now It's compiling.
Sign In or Register to comment.