Git Product home page Git Product logo

liblonghorn's Introduction

liblonghorn

C library for Longhorn storage

liblonghorn's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

liblonghorn's Issues

rancher/tgt cross-build fails

Hi,

Cross-building tgt with raspberrypi tool chain fails:

liblonghorn.h:4:8: error: function declaration isn't a prototype [-Werror=strict-prototypes]
 struct lh_client_conn *lh_client_allocate_conn();
        ^
cc1: all warnings being treated as errors
Makefile:108: recipe for target 'bs_longhorn.o' failed
make[1]: *** [bs_longhorn.o] Error 1
make[1]: Leaving directory '/home/alexis/raspberrypi/tgt/usr'
Makefile:33: recipe for target 'install-programs' failed
make: *** [install-programs] Error 2

gcc version

$ arm-linux-gnueabihf-gcc --version
arm-linux-gnueabihf-gcc (crosstool-NG linaro-1.13.1-4.8-2014.01 - Linaro GCC 2013.11) 4.8.3 20140106 (prerelease)
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Expected result: tgt builds out of the box

Alexis

trivial build improvement - `make install` fails

Hi,

make install fails if run without prior invocation of make:

~/liblonghorn $ make install
rm -f longhorn_rpc_client.o longhorn_rpc_protocol.o liblonghorn.a
mkdir -p /home/alexis/raspberrypi/dest/usr/lib
cp -p liblonghorn.a /home/alexis/raspberrypi/dest/usr/lib
cp: cannot stat 'liblonghorn.a': No such file or directory
Makefile:43: recipe for target 'install' failed
make: *** [install] Error 1

Expected result: make install doesn't fail

Alexis

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.