Bob here showing my Debian ignorance. I'd like to test a URIx in DIAL on a
RPi, but receive an error 1 when attempting to "make" the file. Is it
incompatible, or am I doing something wrong?
Thanks,
Bob
k6ecm
73
Bob here showing my Debian ignorance. I'd like to test a URIx in DIAL on a
RPi, but receive an error 1 when attempting to "make" the file. Is it
incompatible, or am I doing something wrong?
Thanks,
Bob
k6ecm
73
Bob,
Run make install, not make.
If that fails, please post the output from the terminal. If you post the error message, please do not send a screenshot. I use a screen reader, so, if you send a screenshot, I won't be able to help you.
73,
Jeremy W0JRL
On 05/31/2016 09:28 PM, kk6ecm wrote:
Bob here showing my Debian ignorance. I'd like to test a URIx in DIAL on a
RPi, but receive an error 1 when attempting to "make" the file. Is it
incompatible, or am I doing something wrong?Thanks,
Bob
k6ecm
73_______________________________________________
App_rpt-users mailing list
App_rpt-users@ohnosec.org
http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-usersTo 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.
Ive included three things, contents of the folder containing uridiag files, a listing of Makefile, and the make install results.
root@K6ECM-2:/trunk_uri# ls
fftsg.c Makefile uridiag.c
root@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@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@K6ECM-2:/trunk_uri#
thanks,
Bob
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@K6ECM-2:/trunk_uri# ls
fftsg.c Makefile uridiag.c
root@K6ECM-2:/trunk_uri# cat MakefileCFLAGS=-Wall
all: uridiag
install: all
install -m 755 uridiag /usr/bin/uridiaguridiag: uridiag.c fftsg.c
cc -Wall uridiag.c fftsg.c -o uridiag -lusb -lasound -lmroot@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@K6ECM-2:/trunk_uri#thanks,
Bob
_______________________________________________
App_rpt-users mailing list
App_rpt-users@ohnosec.org
http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-usersTo 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.
Bob,
The version of uridiag on the svn is correct
svn co ohnosec.org uridiag
cd uridiag
make
make install
73, Steve N4IRS
On 06/01/2016 05:27 AM, kk6ecm wrote:
Ive included three things, contents of the folder containing uridiag files, a listing of Makefile, and the make install results.
root@K6ECM-2:/trunk_uri# ls
fftsg.c Makefile uridiag.c
root@K6ECM-2:/trunk_uri# cat MakefileCFLAGS=-Wall
all: uridiag
install: all
install -m 755 uridiag /usr/bin/uridiaguridiag: uridiag.c fftsg.c
cc -Wall uridiag.c fftsg.c -o uridiag -lusb -lasound -lmroot@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@K6ECM-2:/trunk_uri#thanks,
Bob
_______________________________________________
App_rpt-users mailing list
App_rpt-users@ohnosec.org
http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-usersTo 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.
--
"Anything is possible if you don't know what you are talking about."
1st Law of Logic
Thanks. Now that works, but I'm failing known good URIx analog (out of
range). I know the blind plug works (2, 1 each for URI and URIx). This is
the first time I've run this on a RPi2 with DIAL.
I had this happen under ACID (CentOS 5.10) with hardware that was not quite
compatible. Guess I'm questioning this build of uridiag on DIAL and RPi.
Thoughts?
Thanks,
Bob
k6ecm
Menu:
For Left Channel:
1 - 1004Hz, 2 - 204Hz, 3 - 300Hz, 4 - 404Hz, 5 - 502Hz
6 - 1502Hz, 7 - 2004Hz, 8 - 3004Hz, 9 - 5004Hz
For Right Channel:
11 - 1004Hz, 22 - 204Hz, 33 - 300Hz, 44 - 404Hz, 55 - 502Hz
66 - 1502Hz, 77 - 2004Hz, 88 - 3004Hz, 99 - 5004Hz
Tests, etc.
t - test normal operation (use uppercase 'T' for verbose output)
i - test digital signals only (COR,TONE,PTT,GPIO)
e - test EEPROM, E - Initialize EEPROM
l - list EEPROM contents
c - show test (loopback) connector pinout
q,x - exit program
Enter your selection:t
Testing digital I/O (PTT,COR,TONE and GPIO)....
Digital I/O passed!!
Testing Analog at 204 (and 700) Hz...
Analog level on left channel for 204.0 Hz (270.9) is out of range!!
Must be between 440.0 and 660.0
Analog level on right channel for 700.0 Hz (295.9) is out of range!!
Must be between 440.0 and 660.0
Testing Analog at 504 (and 700) Hz...
Analog level on left channel for 504.0 Hz (285.7) is out of range!!
Must be between 440.0 and 660.0
Analog level on right channel for 700.0 Hz (267.7) is out of range!!
Must be between 440.0 and 660.0
Testing Analog at 1004 (and 700) Hz...
Analog level on left channel for 1004.0 Hz (263.4) is out of range!!
Must be between 440.0 and 660.0
Analog level on right channel for 700.0 Hz (290.4) is out of range!!
Must be between 440.0 and 660.0
Testing Analog at 2004 (and 700) Hz...
Analog level on left channel for 2004.0 Hz (277.2) is out of range!!
Must be between 440.0 and 660.0
Analog level on right channel for 700.0 Hz (285.4) is out of range!!
Must be between 440.0 and 660.0
Testing Analog at 3004 (and 700) Hz...
Analog level on left channel for 3004.0 Hz (266.4) is out of range!!
Must be between 440.0 and 660.0
Analog level on right channel for 700.0 Hz (285.2) is out of range!!
Must be between 440.0 and 660.0
Testing Analog at 5004 (and 700) Hz...
Analog level on left channel for 5004.0 Hz (53.3) is out of range!!
Must be between 93.6 and 140.4
Analog level on right channel for 700.0 Hz (284.9) is out of range!!
Must be between 440.0 and 660.0
Testing Analog at 700 (and 204) Hz...
Analog level on left channel for 700.0 Hz (282.8) is out of range!!
Must be between 440.0 and 660.0
Analog level on right channel for 204.0 Hz (271.6) is out of range!!
Must be between 440.0 and 660.0
Testing Analog at 700 (and 504) Hz...
Analog level on left channel for 700.0 Hz (307.0) is out of range!!
Must be between 440.0 and 660.0
Analog level on right channel for 504.0 Hz (275.8) is out of range!!
Must be between 440.0 and 660.0
Testing Analog at 700 (and 1004) Hz...
Analog level on left channel for 700.0 Hz (291.4) is out of range!!
Must be between 440.0 and 660.0
Analog level on right channel for 1004.0 Hz (263.4) is out of range!!
Must be between 440.0 and 660.0
Testing Analog at 700 (and 2004) Hz...
Analog level on left channel for 700.0 Hz (287.0) is out of range!!
Must be between 440.0 and 660.0
Analog level on right channel for 2004.0 Hz (272.2) is out of range!!
Must be between 440.0 and 660.0
Testing Analog at 700 (and 3004) Hz...
Analog level on left channel for 700.0 Hz (286.0) is out of range!!
Must be between 440.0 and 660.0
Analog level on right channel for 3004.0 Hz (265.0) is out of range!!
Must be between 440.0 and 660.0
Testing Analog at 700 (and 5004) Hz...
Analog level on left channel for 700.0 Hz (286.9) is out of range!!
Must be between 440.0 and 660.0
Analog level on right channel for 5004.0 Hz (52.8) is out of range!!
Must be between 93.6 and 140.4
24 Error(s) found during test(s)!!!!
-----Original Message-----
From: app_rpt-users-bounces@ohnosec.org
[mailto:app_rpt-users-bounces@ohnosec.org] On Behalf Of Steve Zingman
Sent: Wednesday, June 01, 2016 3:39 AM
To: app_rpt-users@ohnosec.org
Subject: Re: [App_rpt-users] make uridiag to test URIx in Dial
Bob,
The version of uridiag on the svn is correct
svn co ohnosec.org uridiag
cd uridiag
make
make install
73, Steve N4IRS
On 06/01/2016 05:27 AM, kk6ecm wrote:
Ive included three things, contents of the folder containing uridiag
files, a listing of Makefile, and the make install results.
root@K6ECM-2:/trunk_uri# ls
fftsg.c Makefile uridiag.c
root@K6ECM-2:/trunk_uri# cat MakefileCFLAGS=-Wall
all: uridiag
install: all
install -m 755 uridiag /usr/bin/uridiaguridiag: uridiag.c fftsg.c
cc -Wall uridiag.c fftsg.c -o uridiag -lusb -lasound -lmroot@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@K6ECM-2:/trunk_uri#thanks,
Bob
_______________________________________________
App_rpt-users mailing list
App_rpt-users@ohnosec.org
http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-usersTo 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.
--
"Anything is possible if you don't know what you are talking about."
1st Law of Logic
_______________________________________________
App_rpt-users mailing list
App_rpt-users@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.