hearnet icon indicating copy to clipboard operation
hearnet copied to clipboard

needs updating for new versions of libpcap and libjack?

Open wxl opened this issue 13 years ago • 14 comments

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.7~dfsg-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.

wxl avatar Nov 27 '11 09:11 wxl

These linker errors probably just mean that the compilation command isn't correct. Specifically, check that "pkg-config --cflags --libs jack" returns something reasonable (looks like it should be doing at least something like "-ljack -lpcap")

If jack2 isn't using pkg-config, then you'll need to modify the makefile to provide the right linker parameters.

I don't actively use or develop this, but would be happy to merge a patch to make things work. I don't have an environment handy with jack2 or I'd try to duplicate.

On 11/27/11 1:05 AM, wxl wrote:

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.7~dfsg-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.


Reply to this email directly or view it on GitHub: https://github.com/fugalh/hearnet/issues/1

fugalh avatar Nov 27 '11 17:11 fugalh

actually wouldn't that just return "-ljack"? in my case, it does. there is no "-lpcap", though. any suggestions you could offer in these matters would be most appreciated.

On 11/27/2011 09:10 AM, Hans Fugal wrote:

These linker errors probably just mean that the compilation command isn't correct. Specifically, check that "pkg-config --cflags --libs jack" returns something reasonable (looks like it should be doing at least something like "-ljack -lpcap")

If jack2 isn't using pkg-config, then you'll need to modify the makefile to provide the right linker parameters.

I don't actively use or develop this, but would be happy to merge a patch to make things work. I don't have an environment handy with jack2 or I'd try to duplicate.

On 11/27/11 1:05 AM, wxl wrote:

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.7~dfsg-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.


Reply to this email directly or view it on GitHub:

https://github.com/fugalh/hearnet/issues/1

Reply to this email directly or view it on GitHub: https://github.com/fugalh/hearnet/issues/1#issuecomment-2888710

wxl avatar Nov 27 '11 17:11 wxl

No you're right, -lpcap needs to be separate - but indeed it's already there on the compilation line.

Does jack2 use a different libname? Does it need to be -ljack2? I'm at a loss as to why those pcap functions aren't found in -lpcap.

On 11/27/11 9:32 AM, wxl wrote:

actually wouldn't that just return "-ljack"? in my case, it does. there is no "-lpcap", though. any suggestions you could offer in these matters would be most appreciated.

On 11/27/2011 09:10 AM, Hans Fugal wrote:

These linker errors probably just mean that the compilation command isn't correct. Specifically, check that "pkg-config --cflags --libs jack" returns something reasonable (looks like it should be doing at least something like "-ljack -lpcap")

If jack2 isn't using pkg-config, then you'll need to modify the makefile to provide the right linker parameters.

I don't actively use or develop this, but would be happy to merge a patch to make things work. I don't have an environment handy with jack2 or I'd try to duplicate.

On 11/27/11 1:05 AM, wxl wrote:

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.7~dfsg-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.


Reply to this email directly or view it on GitHub:

https://github.com/fugalh/hearnet/issues/1

Reply to this email directly or view it on GitHub: https://github.com/fugalh/hearnet/issues/1#issuecomment-2888710


Reply to this email directly or view it on GitHub: https://github.com/fugalh/hearnet/issues/1#issuecomment-2888827

fugalh avatar Nov 27 '11 17:11 fugalh

well to help figure this out further, here's jack.pc: $ cat /usr/lib/i386-linux-gnu/pkgconfig/jack.pc prefix=/usr exec_prefix=/usr libdir=/usr/lib/i386-linux-gnu includedir=/usr/include server_libs=-L/usr/lib/i386-linux-gnu -ljackserver

Name: jack Description: the Jack Audio Connection Kit: a low-latency synchronous callback-based media server Version: 1.9.7 Libs: -L/usr/lib/i386-linux-gnu -ljack Cflags: -I/usr/include

on the other hand, i find no pcap.pc there and the libpcap-dev package does not seem to provide one. could this be the problem?

On 11/27/2011 09:50 AM, Hans Fugal wrote:

No you're right, -lpcap needs to be separate - but indeed it's already there on the compilation line.

Does jack2 use a different libname? Does it need to be -ljack2? I'm at a loss as to why those pcap functions aren't found in -lpcap.

On 11/27/11 9:32 AM, wxl wrote:

actually wouldn't that just return "-ljack"? in my case, it does. there is no "-lpcap", though. any suggestions you could offer in these matters would be most appreciated.

On 11/27/2011 09:10 AM, Hans Fugal wrote:

These linker errors probably just mean that the compilation command isn't correct. Specifically, check that "pkg-config --cflags --libs jack" returns something reasonable (looks like it should be doing at least something like "-ljack -lpcap")

If jack2 isn't using pkg-config, then you'll need to modify the makefile to provide the right linker parameters.

I don't actively use or develop this, but would be happy to merge a patch to make things work. I don't have an environment handy with jack2 or I'd try to duplicate.

On 11/27/11 1:05 AM, wxl wrote:

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.7~dfsg-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.


Reply to this email directly or view it on GitHub:

https://github.com/fugalh/hearnet/issues/1

Reply to this email directly or view it on GitHub:

https://github.com/fugalh/hearnet/issues/1#issuecomment-2888710

Reply to this email directly or view it on GitHub:

https://github.com/fugalh/hearnet/issues/1#issuecomment-2888827

Reply to this email directly or view it on GitHub: https://github.com/fugalh/hearnet/issues/1#issuecomment-2888933

wxl avatar Nov 27 '11 20:11 wxl

Well the Makefile just gives -lpcap directly. And my libpcap.a has those symbols, e.g.

$ nm /usr/lib/libpcap.a | grep pcap_setfilter 0000000000001720 t pcap_setfilter_linux 00000000000003a0 T pcap_setfilter

So verify you have libpcap.a or libpcap.so in the paths checked by the compiler (or whatever -L you have added to LDFLAGS)

fugalh avatar Nov 28 '11 19:11 fugalh

Use nm also to see if that jack symbol is in the jack library

fugalh avatar Nov 28 '11 19:11 fugalh

Both libpcap.so and libjack.so are in /usr/lib/i386-linux-gnu and nm produces "no symbols" but the .a files work ok. They contain all the right symbols.

BTW doesn't build any better against jack1.

On Nov 28, 2011 11:07 AM, Hans Fugal <[email protected]> wrote:

Use nm also to see if that jack symbol is in the jack library


Reply to this email directly or view it on GitHub:

https://github.com/fugalh/hearnet/issues/1#issuecomment-2905419

wxl avatar Nov 28 '11 21:11 wxl

You might try adding -L/usr/lib/i386-linux-gnu to the Makefile then. Sounds like maybe a 64-bit/32-bit issue.

fugalh avatar Nov 28 '11 21:11 fugalh

No luck. This is on 32 bit. Your test machine is 64?

On Nov 28, 2011 1:36 PM, Hans Fugal <[email protected]> wrote:

You might try adding -L/usr/lib/i386-linux-gnu to the Makefile then. Sounds like maybe a 64-bit/32-bit issue.


Reply to this email directly or view it on GitHub:

https://github.com/fugalh/hearnet/issues/1#issuecomment-2907716

wxl avatar Nov 28 '11 21:11 wxl

I guess I don't understand why these libraries would be in /usr/lib/i386-linux-gnu instead of just /usr/lib. Find the answer to that and you probably find why the libraries aren't being found.

On 11/28/11 1:57 PM, wxl wrote:

No luck. This is on 32 bit. Your test machine is 64?

On Nov 28, 2011 1:36 PM, Hans Fugal <[email protected]> wrote:

You might try adding -L/usr/lib/i386-linux-gnu to the Makefile then. Sounds like maybe a 64-bit/32-bit issue.


Reply to this email directly or view it on GitHub:

https://github.com/fugalh/hearnet/issues/1#issuecomment-2907716


Reply to this email directly or view it on GitHub: https://github.com/fugalh/hearnet/issues/1#issuecomment-2908067

fugalh avatar Nov 28 '11 22:11 fugalh

Well this may or may not be related but this works fine:

g++ -o hearnet hearnet.cpp -lpcap -ljack

No probs with sudo make suid.

Problem solved kind of.

On Nov 28, 2011 2:25 PM, Hans Fugal <[email protected]> wrote:

I guess I don't understand why these libraries would be in

/usr/lib/i386-linux-gnu instead of just /usr/lib. Find the answer to

that and you probably find why the libraries aren't being found.

On 11/28/11 1:57 PM, wxl wrote:

> No luck. This is on 32 bit. Your test machine is 64?

>

>

>

> On Nov 28, 2011 1:36 PM, Hans Fugal &lt;[email protected]&gt; wrote:

>

> You might try adding -L/usr/lib/i386-linux-gnu to the Makefile then. Sounds like maybe a 64-bit/32-bit issue.

>

>

>

> ---

>

> Reply to this email directly or view it on GitHub:

>

> https://github.com/fugalh/hearnet/issues/1#issuecomment-2907716

>

> ---

> Reply to this email directly or view it on GitHub:

> https://github.com/fugalh/hearnet/issues/1#issuecomment-2908067


Reply to this email directly or view it on GitHub:

https://github.com/fugalh/hearnet/issues/1#issuecomment-2908478

wxl avatar Nov 28 '11 22:11 wxl

You might want to bring it to the attention of whoever is responsible for that jack.pc file then - it may not be working as intended.

fugalh avatar Nov 28 '11 22:11 fugalh

I'll see what I can do. Thanks for bearing with me.

On Nov 28, 2011 2:36 PM, Hans Fugal <[email protected]> wrote:

You might want to bring it to the attention of whoever is responsible

for that jack.pc file then - it may not be working as intended.


Reply to this email directly or view it on GitHub:

https://github.com/fugalh/hearnet/issues/1#issuecomment-2908631

wxl avatar Nov 28 '11 22:11 wxl

@fugalh might be right about the libraries' location. I was getting undefined reference to jack_port_name. All I had to do was: sudo ./configure --with-qtlibdir=/usr/lib/ make

and it worked.

tpllaha avatar Mar 18 '14 23:03 tpllaha