DSD install error

Status
Not open for further replies.

halcanscan

Member
Premium Subscriber
Joined
Mar 28, 2010
Messages
1
Location
halcanscan
I am trying to install the latest version of DSD and I am getting an error in the final step when "sudo make install"ing dsd.

code to follow

any thoughts

jeff@ubuntu:~$ mkdir src
jeff@ubuntu:~$ mv ~/Desktop/*.tar ~/src
jeff@ubuntu:~$ cd src
jeff@ubuntu:~/src$ tar -xvf mbelib-1.1-src.tar
tar: mbelib-1.1-src.tar: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
jeff@ubuntu:~/src$ tar -xvf mbelib-1.2.3-src.tar
./mbelib-1.2.3.tar.gz
./mbelib-1.2.3.tar.gz.asc
jeff@ubuntu:~/src$ tar -xvf mbelib-1.2.3.tar.gz
./mbelib-1.2.3/
./mbelib-1.2.3/README
./mbelib-1.2.3/CHANGELOG
./mbelib-1.2.3/mbelib.c
./mbelib-1.2.3/ambe3600x2250.c
./mbelib-1.2.3/imbe7200x4400.c
./mbelib-1.2.3/imbe7200x4400_const.h
./mbelib-1.2.3/COPYRIGHT
./mbelib-1.2.3/ecc_const.h
./mbelib-1.2.3/ambe3600x2250_const.h
./mbelib-1.2.3/Makefile
./mbelib-1.2.3/config.h
./mbelib-1.2.3/configure
./mbelib-1.2.3/mbelib_const.h
./mbelib-1.2.3/ecc.c
./mbelib-1.2.3/mbelib_Author.pgp
./mbelib-1.2.3/imbe7100x4400.c
./mbelib-1.2.3/mbelib.h
jeff@ubuntu:~/src$ cd mbelib-1.1
bash: cd: mbelib-1.1: No such file or directory
jeff@ubuntu:~/src$ cd mbelib-1.2.3
jeff@ubuntu:~/src/mbelib-1.2.3$ make
gcc -O2 -fPIC -I. -c ecc.c -o ecc.o
gcc -O2 -fPIC -I. -c imbe7200x4400.c -o imbe7200x4400.o
gcc -O2 -fPIC -I. -c imbe7100x4400.c -o imbe7100x4400.o
gcc -O2 -fPIC -I. -c ambe3600x2250.c -o ambe3600x2250.o
gcc -O2 -fPIC -I. -c mbelib.c -o mbelib.o
ar rvs libmbe.a ecc.o imbe7200x4400.o imbe7100x4400.o ambe3600x2250.o mbelib.o
ar: creating libmbe.a
a - ecc.o
a - imbe7200x4400.o
a - imbe7100x4400.o
a - ambe3600x2250.o
a - mbelib.o
ranlib libmbe.a
gcc -shared -Wl,-soname,libmbe.so.1 -o libmbe.so.1 \
ecc.o imbe7200x4400.o imbe7100x4400.o ambe3600x2250.o mbelib.o -lc
rm -f libmbe.so
ln -s libmbe.so.1 libmbe.so
jeff@ubuntu:~/src/mbelib-1.2.3$ sudo make install
[sudo] password for jeff:
install mbelib.h /usr/local/include
install libmbe.a /usr/local/lib
install libmbe.so.1 /usr/local/lib
install libmbe.so /usr/local/lib
/sbin/ldconfig /usr/local/lib
jeff@ubuntu:~/src/mbelib-1.2.3$ ~/src
bash: /home/jeff/src: Is a directory
jeff@ubuntu:~/src/mbelib-1.2.3$ cd ~/src
jeff@ubuntu:~/src$ tar -xvf dsd-1.4.1-src.tar
./dsd-1.4.1.tar.gz
./dsd-1.4.1.tar.gz.asc
jeff@ubuntu:~/src$ tar -xvf dsd-1.2.tar.gz
tar: dsd-1.2.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
jeff@ubuntu:~/src$ tar -xvf dsd-1.2.tar.gz
tar: dsd-1.2.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
jeff@ubuntu:~/src$ tar -xvf dsd-1.2.tar.gz
tar: dsd-1.2.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
jeff@ubuntu:~/src$ tar -xvf dsd-1.4.1-src.tar
./dsd-1.4.1.tar.gz
./dsd-1.4.1.tar.gz.asc
jeff@ubuntu:~/src$ tar -xvf dsd-1.4.1.tar.gz
./dsd-1.4.1/
./dsd-1.4.1/dsd_symbol.c
./dsd-1.4.1/config.h
./dsd-1.4.1/dstar.c
./dsd-1.4.1/CHANGELOG
./dsd-1.4.1/nxdn_voice.c
./dsd-1.4.1/x2tdma_const.h
./dsd-1.4.1/dmr_data.c
./dsd-1.4.1/p25p1_tdulc.c
./dsd-1.4.1/x2tdma_data.c
./dsd-1.4.1/x2tdma_voice.c
./dsd-1.4.1/dsd_main.c
./dsd-1.4.1/dsd_file.c
./dsd-1.4.1/dmr_const.h
./dsd-1.4.1/COPYRIGHT
./dsd-1.4.1/p25_lcw.c
./dsd-1.4.1/DSD_Author.pgp
./dsd-1.4.1/dmr_voice.c
./dsd-1.4.1/dsd_frame.c
./dsd-1.4.1/dsd_audio.c
./dsd-1.4.1/dsd_upsample.c
./dsd-1.4.1/p25p1_hdu.c
./dsd-1.4.1/README
./dsd-1.4.1/p25p1_ldu1.c
./dsd-1.4.1/dsd_serial.c
./dsd-1.4.1/provoice_const.h
./dsd-1.4.1/dsd_dibit.c
./dsd-1.4.1/dstar_const.h
./dsd-1.4.1/p25p1_ldu2.c
./dsd-1.4.1/p25p1_const.h
./dsd-1.4.1/configure
./dsd-1.4.1/dsd_frame_sync.c
./dsd-1.4.1/provoice.c
./dsd-1.4.1/dsd_mbe.c
./dsd-1.4.1/Makefile
./dsd-1.4.1/dsd.h
./dsd-1.4.1/nxdn_data.c
./dsd-1.4.1/nxdn_const.h
jeff@ubuntu:~/src$ cd dsd-1.2/
bash: cd: dsd-1.2/: No such file or directory
jeff@ubuntu:~/src$ cd dsd-1.4.1/
jeff@ubuntu:~/src/dsd-1.4.1$ make
gcc -O2 -Wall -I. -I/usr/local/include -I/usr/include -c dsd_main.c -o dsd_main.o
gcc -O2 -Wall -I. -I/usr/local/include -I/usr/include -c dsd_symbol.c -o dsd_symbol.o
dsd_symbol.c: In function ‘getSymbol’:
dsd_symbol.c:26:11: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
gcc -O2 -Wall -I. -I/usr/local/include -I/usr/include -c dsd_dibit.c -o dsd_dibit.o
dsd_dibit.c: In function ‘skipDibit’:
dsd_dibit.c:283:9: warning: variable ‘sample’ set but not used [-Wunused-but-set-variable]
gcc -O2 -Wall -I. -I/usr/local/include -I/usr/include -c dsd_frame_sync.c -o dsd_frame_sync.o
gcc -O2 -Wall -I. -I/usr/local/include -I/usr/include -c dsd_file.c -o dsd_file.o
dsd_file.c: In function ‘closeMbeOutFile’:
dsd_file.c:176:7: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
gcc -O2 -Wall -I. -I/usr/local/include -I/usr/include -c dsd_audio.c -o dsd_audio.o
dsd_audio.c: In function ‘writeSynthesizedVoice’:
dsd_audio.c:160:11: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
dsd_audio.c: In function ‘playSynthesizedVoice’:
dsd_audio.c:188:11: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
gcc -O2 -Wall -I. -I/usr/local/include -I/usr/include -c dsd_serial.c -o dsd_serial.o
dsd_serial.c: In function ‘resumeScan’:
dsd_serial.c:75:11: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
gcc -O2 -Wall -I. -I/usr/local/include -I/usr/include -c dsd_frame.c -o dsd_frame.o
gcc -O2 -Wall -I. -I/usr/local/include -I/usr/include -c dsd_mbe.c -o dsd_mbe.o
gcc -O2 -Wall -I. -I/usr/local/include -I/usr/include -c dsd_upsample.c -o dsd_upsample.o
gcc -O2 -Wall -I. -I/usr/local/include -I/usr/include -c p25p1_hdu.c -o p25p1_hdu.o
p25p1_hdu.c: In function ‘processHDU’:
p25p1_hdu.c:25:14: warning: variable ‘count’ set but not used [-Wunused-but-set-variable]
gcc -O2 -Wall -I. -I/usr/local/include -I/usr/include -c p25p1_ldu1.c -o p25p1_ldu1.o
gcc -O2 -Wall -I. -I/usr/local/include -I/usr/include -c p25p1_ldu2.c -o p25p1_ldu2.o
gcc -O2 -Wall -I. -I/usr/local/include -I/usr/include -c p25p1_tdulc.c -o p25p1_tdulc.o
p25p1_tdulc.c: In function ‘processTDULC’:
p25p1_tdulc.c:25:14: warning: variable ‘count’ set but not used [-Wunused-but-set-variable]
gcc -O2 -Wall -I. -I/usr/local/include -I/usr/include -c p25_lcw.c -o p25_lcw.o
p25_lcw.c: In function ‘processP25lcw’:
p25_lcw.c:7:8: warning: variable ‘tgid’ set but not used [-Wunused-but-set-variable]
gcc -O2 -Wall -I. -I/usr/local/include -I/usr/include -c x2tdma_voice.c -o x2tdma_voice.o
x2tdma_voice.c: In function ‘processX2TDMAvoice’:
x2tdma_voice.c:35:8: warning: variable ‘parity’ set but not used [-Wunused-but-set-variable]
x2tdma_voice.c:34:8: warning: variable ‘cachdata’ set but not used [-Wunused-but-set-variable]
gcc -O2 -Wall -I. -I/usr/local/include -I/usr/include -c x2tdma_data.c -o x2tdma_data.o
x2tdma_data.c: In function ‘processX2TDMAdata’:
x2tdma_data.c:30:7: warning: variable ‘aiei’ set but not used [-Wunused-but-set-variable]
x2tdma_data.c:29:8: warning: variable ‘cc’ set but not used [-Wunused-but-set-variable]
x2tdma_data.c:28:8: warning: variable ‘cachdata’ set but not used [-Wunused-but-set-variable]
x2tdma_data.c:27:8: warning: variable ‘syncdata’ set but not used [-Wunused-but-set-variable]
gcc -O2 -Wall -I. -I/usr/local/include -I/usr/include -c dstar.c -o dstar.o
dstar.c: In function ‘processDSTAR’:
dstar.c:36:8: warning: variable ‘dstar’ set but not used [-Wunused-but-set-variable]
gcc -O2 -Wall -I. -I/usr/local/include -I/usr/include -c nxdn_voice.c -o nxdn_voice.o
gcc -O2 -Wall -I. -I/usr/local/include -I/usr/include -c nxdn_data.c -o nxdn_data.o
nxdn_data.c: In function ‘processNXDNData’:
nxdn_data.c:6:10: warning: variable ‘dibit’ set but not used [-Wunused-but-set-variable]
gcc -O2 -Wall -I. -I/usr/local/include -I/usr/include -c dmr_voice.c -o dmr_voice.o
dmr_voice.c: In function ‘processDMRvoice’:
dmr_voice.c:33:8: warning: variable ‘cachdata’ set but not used [-Wunused-but-set-variable]
dmr_voice.c:32:8: warning: variable ‘syncdata’ set but not used [-Wunused-but-set-variable]
gcc -O2 -Wall -I. -I/usr/local/include -I/usr/include -c dmr_data.c -o dmr_data.o
dmr_data.c: In function ‘processDMRdata’:
dmr_data.c:29:8: warning: variable ‘cc’ set but not used [-Wunused-but-set-variable]
dmr_data.c:28:8: warning: variable ‘cachdata’ set but not used [-Wunused-but-set-variable]
dmr_data.c:27:8: warning: variable ‘syncdata’ set but not used [-Wunused-but-set-variable]
gcc -O2 -Wall -I. -I/usr/local/include -I/usr/include -c provoice.c -o provoice.o
gcc -O2 -Wall -L/usr/local/lib -lm -lmbe -o dsd dsd_main.o dsd_symbol.o dsd_dibit.o dsd_frame_sync.o dsd_file.o dsd_audio.o dsd_serial.o dsd_frame.o dsd_mbe.o dsd_upsample.o p25p1_hdu.o p25p1_ldu1.o p25p1_ldu2.o p25p1_tdulc.o p25_lcw.o x2tdma_voice.o x2tdma_data.o dstar.o nxdn_voice.o nxdn_data.o dmr_voice.o dmr_data.o provoice.o
dsd_main.o: In function `noCarrier':
dsd_main.c:(.text+0x2ae): undefined reference to `mbe_initMbeParms'
dsd_main.o: In function `initState':
dsd_main.c:(.text+0x966): undefined reference to `mbe_initMbeParms'
dsd_main.o: In function `main':
dsd_main.c:(.text.startup+0x42): undefined reference to `mbe_printVersion'
dsd_frame.o: In function `processFrame':
dsd_frame.c:(.text+0x71f): undefined reference to `mbe_initMbeParms'
dsd_frame.c:(.text+0x961): undefined reference to `mbe_initMbeParms'
dsd_frame.c:(.text+0xab8): undefined reference to `mbe_initMbeParms'
dsd_mbe.o: In function `playMbeFiles':
dsd_mbe.c:(.text+0xb2): undefined reference to `mbe_initMbeParms'
dsd_mbe.c:(.text+0x153): undefined reference to `mbe_processImbe4400Dataf'
dsd_mbe.c:(.text+0x24d): undefined reference to `mbe_processAmbe2250Dataf'
dsd_mbe.o: In function `processMbeFrame':
dsd_mbe.c:(.text+0x30c): undefined reference to `mbe_processAmbe3600x2250Framef'
dsd_mbe.c:(.text+0x38a): undefined reference to `mbe_processImbe7100x4400Framef'
dsd_mbe.c:(.text+0x42c): undefined reference to `mbe_processImbe7200x4400Framef'
collect2: ld returned 1 exit status
make: *** [dsd] Error 1
jeff@ubuntu:~/src/dsd-1.4.1$ sudo make install
gcc -O2 -Wall -L/usr/local/lib -lm -lmbe -o dsd dsd_main.o dsd_symbol.o dsd_dibit.o dsd_frame_sync.o dsd_file.o dsd_audio.o dsd_serial.o dsd_frame.o dsd_mbe.o dsd_upsample.o p25p1_hdu.o p25p1_ldu1.o p25p1_ldu2.o p25p1_tdulc.o p25_lcw.o x2tdma_voice.o x2tdma_data.o dstar.o nxdn_voice.o nxdn_data.o dmr_voice.o dmr_data.o provoice.o
dsd_main.o: In function `noCarrier':
dsd_main.c:(.text+0x2ae): undefined reference to `mbe_initMbeParms'
dsd_main.o: In function `initState':
dsd_main.c:(.text+0x966): undefined reference to `mbe_initMbeParms'
dsd_main.o: In function `main':
dsd_main.c:(.text.startup+0x42): undefined reference to `mbe_printVersion'
dsd_frame.o: In function `processFrame':
dsd_frame.c:(.text+0x71f): undefined reference to `mbe_initMbeParms'
dsd_frame.c:(.text+0x961): undefined reference to `mbe_initMbeParms'
dsd_frame.c:(.text+0xab8): undefined reference to `mbe_initMbeParms'
dsd_mbe.o: In function `playMbeFiles':
dsd_mbe.c:(.text+0xb2): undefined reference to `mbe_initMbeParms'
dsd_mbe.c:(.text+0x153): undefined reference to `mbe_processImbe4400Dataf'
dsd_mbe.c:(.text+0x24d): undefined reference to `mbe_processAmbe2250Dataf'
dsd_mbe.o: In function `processMbeFrame':
dsd_mbe.c:(.text+0x30c): undefined reference to `mbe_processAmbe3600x2250Framef'
dsd_mbe.c:(.text+0x38a): undefined reference to `mbe_processImbe7100x4400Framef'
dsd_mbe.c:(.text+0x42c): undefined reference to `mbe_processImbe7200x4400Framef'
collect2: ld returned 1 exit status
make: *** [dsd] Error 1
jeff@ubuntu:~/src/dsd-1.4.1$
 

SCPD

QRT
Joined
Feb 24, 2001
Messages
65,126
Location
Virginia
Actually your error is on the step just before. The "make" fails to link the DSD application against the mbe library. Don't know why.
 

qwert1515

Member
Joined
Jun 11, 2007
Messages
3
I had the same problem with Ubuntu 11.10, I tried ubuntu-10.04.3-desktop-i386 and it works properly.
 
Status
Not open for further replies.
Top