Hi all.

Build of kdelibs4 from ports failed. All ports are up to date. FreeBSD 
8.1-RELEASE. i386.

Here are last lines of CMakeError.log:
gmake[1]: Leaving directory 
`/usr/ports/x11/kdelibs4/work/kdelibs-4.5.1/build/CMakeFiles/CMakeTmp'
gmake: *** [cmTryCompileExec/fast] Error 2

Source:
/* */
#include <sys/pstat.h>


int main(){return 0;}

Determining if the function pstat exists failed with the following output:
Change Dir: /usr/ports/x11/kdelibs4/work/kdelibs-4.5.1/build/CMakeFiles/CMakeTmp

Run Build Command:/usr/local/bin/gmake "cmTryCompileExec/fast"
gmake -f CMakeFiles/cmTryCompileExec.dir/build.make 
CMakeFiles/cmTryCompileExec.dir/build
gmake[1]: Entering directory 
`/usr/ports/x11/kdelibs4/work/kdelibs-4.5.1/build/CMakeFiles/CMakeTmp'
/usr/local/bin/cmake -E cmake_progress_report 
/usr/ports/x11/kdelibs4/work/kdelibs-4.5.1/build/CMakeFiles/CMakeTmp/CMakeFiles 
1
Building C object CMakeFiles/cmTryCompileExec.dir/CheckFunctionExists.c.o
/usr/bin/cc  -D_GNU_SOURCE -O2 -pipe -mfpmath=sse -march=native 
-fno-strict-aliasing  -DCHECK_FUNCTION_EXISTS=pstat   -o 
CMakeFiles/cmTryCompileExec.dir/CheckFunctionExists.c.o   -c 
/usr/local/share/cmake/Modules/CheckFunctionExists.c
Linking C executable cmTryCompileExec
/usr/local/bin/cmake -E cmake_link_script 
CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1                            
                                   
/usr/bin/cc   -O2 -pipe -mfpmath=sse -march=native -fno-strict-aliasing  
-DCHECK_FUNCTION_EXISTS=pstat   -rpath=/usr/lib:/usr/local/lib 
CMakeFiles/cmTryCompileExec.dir/CheckFunctionExists.c.o  -o cmTryCompileExec    
                                                                                
         
CMakeFiles/cmTryCompileExec.dir/CheckFunctionExists.c.o: In function `main':    
                                                                             
CheckFunctionExists.c:(.text+0x7): undefined reference to `pstat'               
                                                                             
collect2: ld returned 1 exit status                                             
                                                                             
gmake[1]: *** [cmTryCompileExec] Error 1                                        
                                                                             
gmake[1]: Leaving directory 
`/usr/ports/x11/kdelibs4/work/kdelibs-4.5.1/build/CMakeFiles/CMakeTmp'          
                                                 
gmake: *** [cmTryCompileExec/fast] Error 2
_______________________________________________
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information

Reply via email to