Giter Club home page Giter Club logo

hearnet's Introduction

Hi there 👋

hearnet's People

Contributors

fugalh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

noise23

hearnet's Issues

needs updating for new versions of libpcap and libjack?

Though it's not clear, given the last commit, I'm thinking this is the only logical explanation for the errors I receive when trying to compile. I sure hope you haven't given up on this project as I have looked high and low for something similar.

I'm running this on Lubuntu 11.10.

libjack-jackd2-0:
Installed: 1.9.7dfsg-1ubuntu2
libjack-jackd2-dev:
Installed: 1.9.7
dfsg-1ubuntu2

libpcap0.8:
Installed: 1.1.1-8
libpcap-dev:
Installed: 1.1.1-8

Yes, I do have jack2 and it could very well be jack1, but as they are supposed to be drop in replacements for one another, I would suspect this to be a problem. On the other hand, most of the errors seem to reference jack. Maybe the compatibility begins at the binary level.

Output from make is as follows:
$ make
g++ pkg-config --cflags --libs jack -lpcap hearnet.cpp -o hearnet
hearnet.cpp: In function ‘int set_srate(jack_nframes_t, void_)’:
hearnet.cpp:120:47: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘jack_nframes_t {aka unsigned int}’ [-Wformat]
hearnet.cpp: In function ‘int main(int, char__)’:
hearnet.cpp:174:17: warning: deprecated conversion from string constant to ‘char_’ [-Wwrite-strings]
hearnet.cpp:216:19: warning: ‘jack_client_t* jack_client_new(const char_)’ is deprecated (declared at /usr/include/jack/jack.h:122) [-Wdeprecated-declarations]
hearnet.cpp:216:46: warning: ‘jack_client_t_ jack_client_new(const char_)’ is deprecated (declared at /usr/include/jack/jack.h:122) [-Wdeprecated-declarations]
hearnet.cpp:224:70: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘jack_nframes_t {aka unsigned int}’ [-Wformat]
/tmp/ccuYkstX.o: In function process(unsigned int, void_)': hearnet.cpp:(.text+0xac): undefined reference to jack_port_get_buffer'
/tmp/ccuYkstX.o: In functionmain': hearnet.cpp:(.text+0x512): undefined reference to pcap_open_live'
hearnet.cpp:(.text+0x6f7): undefined reference topcap_compile' hearnet.cpp:(.text+0x719): undefined reference to pcap_setfilter'
hearnet.cpp:(.text+0x729): undefined reference topcap_geterr' hearnet.cpp:(.text+0x791): undefined reference to jack_set_error_function'
hearnet.cpp:(.text+0x79c): undefined reference tojack_client_new' hearnet.cpp:(.text+0x7fd): undefined reference to jack_set_process_callback'
hearnet.cpp:(.text+0x81b): undefined reference tojack_set_sample_rate_callback' hearnet.cpp:(.text+0x847): undefined reference to jack_get_sample_rate'
hearnet.cpp:(.text+0x885): undefined reference tojack_port_register' hearnet.cpp:(.text+0x898): undefined reference to jack_activate'
hearnet.cpp:(.text+0x8f6): undefined reference tojack_get_ports' hearnet.cpp:(.text+0x965): undefined reference to jack_port_name'
hearnet.cpp:(.text+0x97b): undefined reference tojack_connect' hearnet.cpp:(.text+0xa2b): undefined reference to pcap_dispatch'
collect2: ld returned 1 exit status
make: *** [hearnet] Error 1

Let me know what else you need to know and thanks in advance.

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.