I have seen the compilation error when running make:
g++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -DNDEBUG -fomit-frame-pointer -g -O2 -MT pushC.lo -MD -MP -MF .deps/pushC.Tpo -c ../extension/pushC.cpp -fPIC -DPIC -o .libs/pushC.o
../extension/pushC.cpp: In function 'char* pushGetConfigString(PushEnvironment*)':
../extension/pushC.cpp:85: error: 'strdup' was not declared in this scope
the ./configure part was ok.
However, the pushC.cpp compiles well with
inserted into the beginning of the file.
I am using
gcc (Gentoo 4.3.2-r3 p1.6, pie-10.1.5) 4.3.2
Log in to post a comment.