[App_rpt-users] make uridiag to test URIx in Dial

David McGough kb4fxc at inttek.net
Wed Jun 1 09:56:25 UTC 2016


Bob,

Change the compile command line to include "-lpthread" at the end of the 
line.  So, the new compile command would look like:

cc -Wall uridiag.c fftsg.c -o uridiag -lusb -lasound -lm -lpthread


73, David KB4FXC



On Wed, 1 Jun 2016, kk6ecm wrote:

> > Ive included three things, contents of the folder containing uridiag files, a listing of Makefile, and the make install results.
> 
> root at K6ECM-2:/trunk_uri# ls
> fftsg.c  Makefile  uridiag.c
> root at K6ECM-2:/trunk_uri# cat Makefile
> 
> CFLAGS=-Wall
> 
> all:    uridiag
> 
> install: all
>         install -m 755 uridiag /usr/bin/uridiag
> 
> uridiag:        uridiag.c fftsg.c
>         cc -Wall uridiag.c fftsg.c -o uridiag -lusb -lasound -lm
> 
> 
> root at K6ECM-2:/trunk_uri# make install
> cc -Wall uridiag.c fftsg.c -o uridiag -lusb -lasound -lm
> /usr/bin/ld: /tmp/cc1hh6L8.o: undefined reference to symbol 'pthread_join@@GLIBC_2.4'
> //lib/arm-linux-gnueabihf/libpthread.so.0: error adding symbols: DSO missing from command line
> collect2: error: ld returned 1 exit status
> Makefile:10: recipe for target 'uridiag' failed
> make: *** [uridiag] Error 1
> root at K6ECM-2:/trunk_uri# 
> 
> 
> thanks,
> Bob
> _______________________________________________
> App_rpt-users mailing list
> App_rpt-users at ohnosec.org
> http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
> 
> To unsubscribe from this list please visit http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button"
> You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem. 
> 




More information about the App_rpt-users mailing list