Jump to content
Sign in to follow this  
NCC10281982B

Cmake issues

Recommended Posts

What is up with these Cmake errors? I tried the polocy command as it suggested and got errors. Ideas?

[font='Helvetica Neue', Arial, Verdana, sans-serif][email protected]:~/foldingcd-code/folding_cd# make[/font]
tar xzf cdrkit-1.1.7.1.tar.gz && \
        cd cdrkit-1.1.7.1 && \
        patch -p1 < ../patches/genisoimage.patch && \
        make CC="gcc -m32" build/Makefile && \
        cd build && \
        make CC="gcc -m32" genisoimage && \
        cp genisoimage/genisoimage ../../initrd_dir/bin/genisoimage
patching file genisoimage/boot-alpha.c
patching file genisoimage/boot.c
patching file genisoimage/boot-mips.c
patching file genisoimage/boot-mipsel.c
patching file genisoimage/CMakeLists.txt
patching file genisoimage/eltorito.c
patching file genisoimage/genisoimage.c
patching file genisoimage/joliet.c
patching file genisoimage/jte.c
patching file genisoimage/mac_label.c
patching file genisoimage/stream.c
patching file genisoimage/write.c
patching file wodim/cue.c
patching file libusal/scsitransp.c
patching file readom/readom.c
patching file readom/io.c
patching file librols/fexec.c
patching file librols/stdio/fgetline.c
patching file include/schily.h
patching file include/CMakeLists.txt
make[1]: Entering directory `/root/foldingcd-code/folding_cd/cdrkit-1.1.7.1'
make[1]: [build/Makefile] Error 1 (ignored)
cd build && cmake ..
CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

    cmake_minimum_required(VERSION 2.8)

  should be added at the top of the file.  The version specified may be lower
  if you wish to support older CMake versions for this project.  For more
  information run "cmake --help-policy CMP0000".
This warning is for project developers.  Use -Wno-dev to suppress it.

Configuring Cdrkit, version 1.1.7.1
CMake Warning (dev) at genisoimage/CMakeLists.txt:39 (LINK_DIRECTORIES):
  This command specifies the relative path

    ../libhfs_iso

  as a link directory.

  Policy CMP0015 is not set: link_directories() treats paths relative to the
  source dir.  Run "cmake --help-policy CMP0015" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at genisoimage/CMakeLists.txt:39 (LINK_DIRECTORIES):
  This command specifies the relative path

    ../librols

  as a link directory.

  Policy CMP0015 is not set: link_directories() treats paths relative to the
  source dir.  Run "cmake --help-policy CMP0015" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at genisoimage/CMakeLists.txt:39 (LINK_DIRECTORIES):
  This command specifies the relative path

    ../libusal

  as a link directory.

  Policy CMP0015 is not set: link_directories() treats paths relative to the
  source dir.  Run "cmake --help-policy CMP0015" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at genisoimage/CMakeLists.txt:39 (LINK_DIRECTORIES):
  This command specifies the relative path

    ../libunls

  as a link directory.

  Policy CMP0015 is not set: link_directories() treats paths relative to the
  source dir.  Run "cmake --help-policy CMP0015" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at genisoimage/CMakeLists.txt:39 (LINK_DIRECTORIES):
  This command specifies the relative path

    ../wodim

  as a link directory.

  Policy CMP0015 is not set: link_directories() treats paths relative to the
  source dir.  Run "cmake --help-policy CMP0015" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at genisoimage/CMakeLists.txt:39 (LINK_DIRECTORIES):
  This command specifies the relative path

    ../../../glibc-32

  as a link directory.

  Policy CMP0015 is not set: link_directories() treats paths relative to the
  source dir.  Run "cmake --help-policy CMP0015" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at wodim/CMakeLists.txt:18 (MESSAGE):
  Error: found a Linux system but no libcap header.  Install libcap-dev.


-- Configuring incomplete, errors occurred!
See also "/root/foldingcd-code/folding_cd/cdrkit-1.1.7.1/build/CMakeFiles/CMakeO                                                                                        utput.log".
See also "/root/foldingcd-code/folding_cd/cdrkit-1.1.7.1/build/CMakeFiles/CMakeE                                                                                        rror.log".
make[1]: *** [build/Makefile] Error 1
make[1]: Leaving directory `/root/foldingcd-code/folding_cd/cdrkit-1.1.7.1'
make: *** [initrd_dir/bin/genisoimage] Error 2

This is my Dev environment:

[email protected]:~# cat /etc/issue
Debian GNU/Linux 6.0 \n \l

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...