Giter Site home page Giter Site logo

libudev-cmake's Introduction

libudev

Linux

Using Ubuntu 14.04 (glibc 2.12)

ldd --version
ldd (GNU libc) 2.12.2

You will need to install:

sudo apt-get install gtk-doc-tools gperf

Generated with the following commands:

export PATH=/usr/local/osquery-toolchain/usr/bin:$PATH
export CFLAGS="--sysroot /usr/local/osquery-toolchain"
export CXXFLAGS="${CFLAGS}"
export LDFLAGS="${CFLAGS}"
export CC=clang

./autogen.sh
./configure --enable-static --without-selinux --enable-gtk-doc-html=no --disable-gudev --disable-introspection

You should see output similar to:

        udev 174
        ========

        prefix:                 /usr
        sysconfdir:             ${prefix}/etc
        sbindir:                ${exec_prefix}/sbin
        libdir:                 ${exec_prefix}/lib
        rootlibdir:             ${exec_prefix}/lib
        libexecdir:             ${exec_prefix}/libexec
        datarootdir:            ${prefix}/share
        mandir:                 ${datarootdir}/man
        includedir:             ${prefix}/include
        include_prefix:         /usr/include
        systemdsystemunitdir:
        firmware path:          \"/lib/firmware/updates/\", \"/lib/firmware/\"

        compiler:               clang
        cflags:                 --sysroot /usr/local/osquery-toolchain
        ldflags:                --sysroot /usr/local/osquery-toolchain
        xsltproc:               /usr/bin/xsltproc
        gperf:                  /usr/bin/gperf

        logging:                yes
        debug:                  no
        selinux:                no

        gudev:                  no
        gintrospection:         no
        keymap:                 yes
        hwdb:                   yes
          usb.ids:              /var/lib/usbutils/usb.ids
          pci.ids:              /usr/share/misc/pci.ids
        mtd_probe:              yes
        rule_generator:         no
        udev_acl:               no
        floppy:                 no
        edd:                    no

Then copy

cp ./config.h ../config/config.h

libudev-cmake's People

Contributors

zouxiaoliang avatar

Stargazers

Roman avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.