Giter Club home page Giter Club logo

common's People

Contributors

makestuff avatar phdussud avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

common's Issues

Failed make deps

I obtained:

testCsvf.cpp:36: error: Failure in FPGALink_testRoundTrip: fStatus == FL_SUCCESS
testCsvf.cpp:37: error: Failure in FPGALink_testRoundTrip: Expected 4 but was 0
testCsvf.cpp:36: error: Failure in FPGALink_testRoundTrip: fStatus == FL_SUCCESS
testCsvf.cpp:37: error: Failure in FPGALink_testRoundTrip: Expected 4 but was 0
testCsvf.cpp:36: error: Failure in FPGALink_testRoundTrip: fStatus == FL_SUCCESS
testCsvf.cpp:37: error: Failure in FPGALink_testRoundTrip: Expected 5 but was 0
testCsvf.cpp:36: error: Failure in FPGALink_testRoundTrip: fStatus == FL_SUCCESS
testCsvf.cpp:37: error: Failure in FPGALink_testRoundTrip: Expected 5 but was 0
testCsvf.cpp:36: error: Failure in FPGALink_testRoundTrip: fStatus == FL_SUCCESS
testCsvf.cpp:37: error: Failure in FPGALink_testRoundTrip: Expected 5 but was 0
testCsvf.cpp:36: error: Failure in FPGALink_testRoundTrip: fStatus == FL_SUCCESS
testCsvf.cpp:37: error: Failure in FPGALink_testRoundTrip: Expected 5 but was 0
testCsvf.cpp:36: error: Failure in FPGALink_testRoundTrip: fStatus == FL_SUCCESS
testCsvf.cpp:37: error: Failure in FPGALink_testRoundTrip: Expected 5 but was 0
testCsvf.cpp:36: error: Failure in FPGALink_testRoundTrip: fStatus == FL_SUCCESS
testCsvf.cpp:37: error: Failure in FPGALink_testRoundTrip: Expected 5 but was 0
testCsvf.cpp:36: error: Failure in FPGALink_testRoundTrip: fStatus == FL_SUCCESS
testCsvf.cpp:37: error: Failure in FPGALink_testRoundTrip: Expected 4 but was 0
testCsvf.cpp:36: error: Failure in FPGALink_testRoundTrip: fStatus == FL_SUCCESS
testCsvf.cpp:37: error: Failure in FPGALink_testRoundTrip: Expected 4 but was 0
testCsvf.cpp:36: error: Failure in FPGALink_testRoundTrip: fStatus == FL_SUCCESS
testCsvf.cpp:37: error: Failure in FPGALink_testRoundTrip: Expected 5 but was 0
testCsvf.cpp:36: error: Failure in FPGALink_testRoundTrip: fStatus == FL_SUCCESS
testCsvf.cpp:37: error: Failure in FPGALink_testRoundTrip: Expected 5 but was 0
testCsvf.cpp:36: error: Failure in FPGALink_testRoundTrip: fStatus == FL_SUCCESS
testCsvf.cpp:37: error: Failure in FPGALink_testRoundTrip: Expected 4 but was 0
testCsvf.cpp:36: error: Failure in FPGALink_testRoundTrip: fStatus == FL_SUCCESS
testCsvf.cpp:37: error: Failure in FPGALink_testRoundTrip: Expected 4 but was 0
testCsvf.cpp:36: error: Failure in FPGALink_testRoundTrip: fStatus == FL_SUCCESS
testCsvf.cpp:37: error: Failure in FPGALink_testRoundTrip: Expected 4 but was 0
testCsvf.cpp:36: error: Failure in FPGALink_testRoundTrip: fStatus == FL_SUCCESS
testCsvf.cpp:37: error: Failure in FPGALink_testRoundTrip: Expected 4 but was 0
testCsvf.cpp:36: error: Failure in FPGALink_testRoundTrip: fStatus == FL_SUCCESS
testCsvf.cpp:37: error: Failure in FPGALink_testRoundTrip: Expected 5 but was 0
testCsvf.cpp:36: error: Failure in FPGALink_testRoundTrip: fStatus == FL_SUCCESS
testCsvf.cpp:37: error: Failure in FPGALink_testRoundTrip: Expected 5 but was 0
testCsvf.cpp:36: error: Failure in FPGALink_testRoundTrip: fStatus == FL_SUCCESS
testCsvf.cpp:37: error: Failure in FPGALink_testRoundTrip: Expected 5 but was 0
testCsvf.cpp:36: error: Failure in FPGALink_testRoundTrip: fStatus == FL_SUCCESS
testCsvf.cpp:37: error: Failure in FPGALink_testRoundTrip: Expected 5 but was 0
testCsvf.cpp:36: error: Failure in FPGALink_testRoundTrip: fStatus == FL_SUCCESS
testCsvf.cpp:37: error: Failure in FPGALink_testRoundTrip: Expected 5 but was 0
testCsvf.cpp:36: error: Failure in FPGALink_testRoundTrip: fStatus == FL_SUCCESS
testCsvf.cpp:37: error: Failure in FPGALink_testRoundTrip: Expected 5 but was 0
testCsvf.cpp:36: error: Failure in FPGALink_testRoundTrip: fStatus == FL_SUCCESS
testCsvf.cpp:37: error: Failure in FPGALink_testRoundTrip: Expected 4 but was 0
testCsvf.cpp:36: error: Failure in FPGALink_testRoundTrip: fStatus == FL_SUCCESS
testCsvf.cpp:37: error: Failure in FPGALink_testRoundTrip: Expected 4 but was 0
testCsvf.cpp:36: error: Failure in FPGALink_testRoundTrip: fStatus == FL_SUCCESS
testCsvf.cpp:37: error: Failure in FPGALink_testRoundTrip: Expected 5 but was 0
testCsvf.cpp:36: error: Failure in FPGALink_testRoundTrip: fStatus == FL_SUCCESS
testCsvf.cpp:37: error: Failure in FPGALink_testRoundTrip: Expected 5 but was 0
testCsvf.cpp:36: error: Failure in FPGALink_testRoundTrip: fStatus == FL_SUCCESS
testCsvf.cpp:37: error: Failure in FPGALink_testRoundTrip: Expected 4 but was 0
testCsvf.cpp:36: error: Failure in FPGALink_testRoundTrip: fStatus == FL_SUCCESS
testCsvf.cpp:37: error: Failure in FPGALink_testRoundTrip: Expected 4 but was 0
FAILURE: 1 out of 6 tests failed (56 failures).
Test time: 0.09 seconds.
make[2]: *** [dbg] Errore 56

Any help?

Test failed while make deps

testCsvf.cpp:34: error: Failure in FPGALink_testRoundTrip: fStatus == FL_SUCCESS
testCsvf.cpp:35: error: Failure in FPGALink_testRoundTrip: Expected 12 but was 10970
testCsvf.cpp:34: error: Failure in FPGALink_testRoundTrip: fStatus == FL_SUCCESS
testCsvf.cpp:35: error: Failure in FPGALink_testRoundTrip: Expected 12 but was 10970
testCsvf.cpp:34: error: Failure in FPGALink_testRoundTrip: fStatus == FL_SUCCESS
testCsvf.cpp:35: error: Failure in FPGALink_testRoundTrip: Expected 12 but was 10970
testCsvf.cpp:34: error: Failure in FPGALink_testRoundTrip: fStatus == FL_SUCCESS
testCsvf.cpp:35: error: Failure in FPGALink_testRoundTrip: Expected 4 but was 10970
testCsvf.cpp:34: error: Failure in FPGALink_testRoundTrip: fStatus == FL_SUCCESS
testCsvf.cpp:35: error: Failure in FPGALink_testRoundTrip: Expected 4 but was 10970
FAILURE: 1 out of 1 tests failed (10 failures).

Any idea why?

Convert all libraries to LGPL

Originally I chose to license my libraries under the GPL because I was hoping it would discourage its use in military applications: a company developing weaponry is unlikely to use a GPL'd library because it would force them to publish their source code.

But in retrospect, a little thing like ripping off GPL'd software is probably not going to cause many sleepless nights for someone who can stomach a career in military R&D in the first place.

Also, sadly, my choice of GPL has prevented use of my stuff in non-military applications which (for whatever reason) cannot themselves be released under the GPL.

So I'm relenting, and switching all my libraries to LGPL.

Changing a dependency should cause an app to be rebuilt

If you edit a file in a support library an app isn't rebuilt.

How to reproduce

Set up the build system using the following;

# Install prerequisites:
sudo apt-get install build-essential libreadline-dev libusb-1.0-0-dev python-yaml
wget -qO- http://makestuff.eu/bil | tar zxf -

# Fetch flcli/fx2loader
cd makestuff
./scripts/msgit.sh makestuff/common

cd apps
../scripts/msgit.sh makestuff/flcli

# Build flcli/fx2loader
(cd flcli; make deps)

Edit a file in libusbwrap

cd libs/libusbwrap
vim libusbwrap.c
cd apps/flcli
make deps

Output as follows

makestuff/apps/flcli$ make deps
make BRANCH=dev
make[1]: Entering directory `makestuff/src/apps/flcli'
make[1]: Leaving directory `makestuff/src/apps/flcli'
makestuff/src/apps/flcli$ 

Tried going into libs/libusbwrap and doing a make there, but flcli still doesn't pick up the change.

Doing a make clean; make deps in the flcli directory doesn't work either.

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.