Version: kdebase 4.0.66 (using Devel) Installed from: Compiled sources Compiler: 4.2.3 OS: Linux /usr/bin/x86_64-pld-linux-gcc -O2 -fno-strict-aliasing -fwrapv -march=x86-64 -gdwarf-2 -g2 -Wno-long-long -std=iso9899:1990 -Wundef -Wcast-align -Werror-implicit -function-declaration -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fno-common -o CMakeFiles/cmTryCom pileExec.dir/CheckSymbolExists.o -c /home/users/arekm/rpm/BUILD/kdebase-4.0.66/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/users/arekm/rpm/BUILD/kdebase-4.0.66/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /home/users/arekm/rpm/BUILD/kdebase-4.0.66/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:9: error: 'getnameinfo' undeclared (first use in this function) /home/users/arekm/rpm/BUILD/kdebase-4.0.66/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:9: error: (Each undeclared identifier is reported only once /home/users/arekm/rpm/BUILD/kdebase-4.0.66/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:9: error: for each function it appears in.) gmake[1]: *** [CMakeFiles/cmTryCompileExec.dir/CheckSymbolExists.o] Error 1 gmake[1]: Leaving directory `/home/users/arekm/rpm/BUILD/kdebase-4.0.66/build/CMakeFiles/CMakeTmp' gmake: *** [cmTryCompileExec/fast] Error 2 File /home/users/arekm/rpm/BUILD/kdebase-4.0.66/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include <sys/socket.h> #include <netdb.h> void cmakeRequireSymbol(int dummy,...){(void)dummy;} int main() { #ifndef getnameinfo cmakeRequireSymbol(0,&getnameinfo); #endif return 0; } That's due to -std=iso9899:1990 option: [arekm@carme-pld ~]$ /usr/bin/x86_64-pld-linux-gcc -O2 -fno-strict-aliasing -fwrapv -march=x86-64 -gdwarf-2 -g2 -Wno-long-long -Wundef -Wcast-align -Werror-implicit-function-declaration -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fno-common a.c everything ok but [arekm@carme-pld ~]$ /usr/bin/x86_64-pld-linux-gcc -O2 -fno-strict-aliasing -fwrapv -march=x86-64 -gdwarf-2 -g2 -Wno-long-long -std=iso9899:1990 -Wundef -Wcast-align -Werror-implicit-function-declaration -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fno-common a.c a.c: In function ‘main’: a.c:8: error: ‘getnameinfo’ undeclared (first use in this function) a.c:8: error: (Each undeclared identifier is reported only once a.c:8: error: for each function it appears in.) [arekm@carme-pld ~]$ fails
Can you please check if this has been fixed?
This has probably been fixed a long time ago. Please reopen if somehow the issue persists.
Looks fixed to me.