Re: [Kosmosfs-users] Kosmos with ubuntu 8.04
Status: Alpha
Brought to you by:
sriramsrao
From: Sriram R. <sri...@gm...> - 2009-08-28 18:18:51
|
Luiz, The message from cmake is non-fatal. Once Makefiles are generated, you can run make to get everything to build. Sriram On Fri, Aug 28, 2009 at 4:46 AM, Luiz Biazus<lu...@bi...> wrote: > Hi there! > > Thank you Ryan and Sriram! > > i have done what u said but now is shown this message > > root@ubuntu1:~/kfs-0.3/build# cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo > -DJAVA_INCLUDE_PATH=/usr/lib/jvm/java-6-sun/jre/ > -DJAVA_INCLUDE_PATH2=/usr/lib/jvm/java-6-sun/jre/ ../ > -- Enabling largefile source flags > -- Found JNI...building kfs_access > -- Configuring done > CMake Warning (dev) at src/cc/meta/CMakeLists.txt:34 (add_executable): > Policy CMP0003 should be set before this line. Add code such as > > if(COMMAND cmake_policy) > cmake_policy(SET CMP0003 NEW) > endif(COMMAND cmake_policy) > > as early as possible but after the most recent call to > cmake_minimum_required or cmake_policy(VERSION). This warning appears > because target "logcompactor" links to some libraries for which the linker > must search: > > pthread, pthread, z, rt > > and other libraries with known full path: > > /root/kfs-0.3/build/src/cc/meta/libkfsMeta.a > /root/kfs-0.3/build/src/cc/libkfsIO/libkfsIO.a > /root/kfs-0.3/build/src/cc/common/libkfsCommon.a > > CMake is adding directories in the second list to the linker search path in > case they are needed to find libraries from the first list (for backwards > compatibility with CMake 2.4). Set policy CMP0003 to OLD or NEW to enable > or disable this behavior explicitly. Run "cmake --help-policy CMP0003" for > more information. > This warning is for project developers. Use -Wno-dev to suppress it. > > -- Generating done > -- Build files have been written to: /root/kfs-0.3/build > > > so i put this > > if(COMMAND cmake_policy) > cmake_policy(SET CMP0003 NEW) > endif(COMMAND cmake_policy) > > on the first line of the CMakeLists.txt > > but doesnt help > > best rgds! > > Luiz > > 2009/8/27 Luiz Biazus <lu...@bi...>: >> i proceed the instalation... but i got this errors >> what is it? >> >> Scanning dependencies of target kfsMeta-shared >> [ 16%] Building CXX object >> src/cc/meta/CMakeFiles/kfsMeta-shared.dir/checkpoint.o >> [ 16%] Building CXX object >> src/cc/meta/CMakeFiles/kfsMeta-shared.dir/ChunkReplicator.o >> [ 17%] Building CXX object >> src/cc/meta/CMakeFiles/kfsMeta-shared.dir/ChunkServer.o >> [ 17%] Building CXX object >> src/cc/meta/CMakeFiles/kfsMeta-shared.dir/ChunkServerFactory.o >> [ 18%] Building CXX object src/cc/meta/CMakeFiles/kfsMeta-shared.dir/ClientSM.o >> [ 18%] Building CXX object src/cc/meta/CMakeFiles/kfsMeta-shared.dir/entry.o >> [ 19%] Building CXX object src/cc/meta/CMakeFiles/kfsMeta-shared.dir/kfsops.o >> [ 19%] Building CXX object src/cc/meta/CMakeFiles/kfsMeta-shared.dir/kfstree.o >> [ 20%] Building CXX object >> src/cc/meta/CMakeFiles/kfsMeta-shared.dir/LayoutManager.o >> [ 20%] Building CXX object >> src/cc/meta/CMakeFiles/kfsMeta-shared.dir/LeaseCleaner.o >> [ 21%] Building CXX object src/cc/meta/CMakeFiles/kfsMeta-shared.dir/logger.o >> [ 21%] Building CXX object src/cc/meta/CMakeFiles/kfsMeta-shared.dir/meta.o >> [ 22%] Building CXX object >> src/cc/meta/CMakeFiles/kfsMeta-shared.dir/NetDispatch.o >> [ 22%] Building CXX object src/cc/meta/CMakeFiles/kfsMeta-shared.dir/replay.o >> [ 23%] Building CXX object src/cc/meta/CMakeFiles/kfsMeta-shared.dir/request.o >> [ 24%] Building CXX object src/cc/meta/CMakeFiles/kfsMeta-shared.dir/restore.o >> [ 24%] Building CXX object src/cc/meta/CMakeFiles/kfsMeta-shared.dir/startup.o >> [ 25%] Building CXX object src/cc/meta/CMakeFiles/kfsMeta-shared.dir/util.o >> Linking CXX shared library libkfsMeta.so >> [ 25%] Built target kfsMeta-shared >> Scanning dependencies of target kfsIO >> [ 26%] Building CXX object >> src/cc/libkfsIO/CMakeFiles/kfsIO.dir/TelemetryClient.o >> [ 26%] Building CXX object src/cc/libkfsIO/CMakeFiles/kfsIO.dir/kfsutils.o >> /root/kfs-0.3/src/cc/libkfsIO/kfsutils.cc:44:21: error: xfs/xfs.h: >> Arquivo ou diretório inexistente >> /root/kfs-0.3/src/cc/libkfsIO/kfsutils.cc: In static member function >> âstatic void KFSUtils::FatalError(const char*, int)â: >> /root/kfs-0.3/src/cc/libkfsIO/kfsutils.cc:111: warning: ignoring >> return value of âssize_t write(int, const void*, size_t)â, declared >> with attribute warn_unused_result >> /root/kfs-0.3/src/cc/libkfsIO/kfsutils.cc: In static member function >> âstatic void KFSUtils::AssertionFailure(const char*, const char*, >> int)â: >> /root/kfs-0.3/src/cc/libkfsIO/kfsutils.cc:141: warning: ignoring >> return value of âssize_t write(int, const void*, size_t)â, declared >> with attribute warn_unused_result >> /root/kfs-0.3/src/cc/libkfsIO/kfsutils.cc: In static member function >> âstatic int64_t KFSUtils::ReserveFileSpace(int, int64_t)â: >> /root/kfs-0.3/src/cc/libkfsIO/kfsutils.cc:154: error: >> âplatform_test_xfs_fdâ was not declared in this scope >> /root/kfs-0.3/src/cc/libkfsIO/kfsutils.cc:155: error: âxfs_flock64_tâ >> was not declared in this scope >> /root/kfs-0.3/src/cc/libkfsIO/kfsutils.cc:155: error: expected `;' >> before âtheResvâ >> /root/kfs-0.3/src/cc/libkfsIO/kfsutils.cc:156: error: âtheResvâ was >> not declared in this scope >> /root/kfs-0.3/src/cc/libkfsIO/kfsutils.cc:159: error: >> âXFS_IOC_RESVSP64â was not declared in this scope >> /root/kfs-0.3/src/cc/libkfsIO/kfsutils.cc:159: error: âxfsctlâ was not >> declared in this scope >> make[2]: ** [src/cc/libkfsIO/CMakeFiles/kfsIO.dir/kfsutils.o] Erro 1 >> make[1]: ** [src/cc/libkfsIO/CMakeFiles/kfsIO.dir/all] Erro 2 >> make: ** [all] Erro 2 >> >> >> >> >> >> Thanks >> >> Luiz >> > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Kosmosfs-users mailing list > Kos...@li... > https://lists.sourceforge.net/lists/listinfo/kosmosfs-users > |