[op25-dev] OP25 and WireShark Help

Robert Klamp Jr. RobertKlamp at aol.com
Wed Jan 30 06:53:13 UTC 2013


Ok I tried to install the file you gave me with the following commands first
I put the extracted folder into my src directory then in a terminal I used
the following commands at the bottom of the terminal display you will see
the resulting errors. Please let me know if it is something wrong with the
file or my installation techniques. I bet its user error on my part, but I
hope I am wrong about that.

 

bob at ubuntu:~$ cd src

bob at ubuntu:~/src$ cd gr-fsk4

bob at ubuntu:~/src/gr-fsk4$ 

bob at ubuntu:~/src/gr-fsk4$ sh bootstrap

/usr/share/aclocal/snacc.m4:24: warning: underquoted definition of
AM_PATH_SNACC

/usr/share/aclocal/snacc.m4:24:   run info '(automake)Extending aclocal'

/usr/share/aclocal/snacc.m4:24:   or see
http://sources.redhat.com/automake/automake.html#Extending-aclocal

doc/Makefile.am:77: `%'-style pattern rules are a GNU make extension

doc/Makefile.am:80: `%'-style pattern rules are a GNU make extension

bob at ubuntu:~/src/gr-fsk4$ ./configure

checking build system type... i686-pc-linux-gnu

checking host system type... i686-pc-linux-gnu

checking target system type... i686-pc-linux-gnu

checking for a BSD-compatible install... /usr/bin/install -c

checking whether build environment is sane... yes

checking for a thread-safe mkdir -p... /bin/mkdir -p

checking for gawk... gawk

checking whether make sets $(MAKE)... yes

checking for style of include used by make... GNU

checking for g++... g++

checking whether the C++ compiler works... yes

checking for C++ compiler default output file name... a.out

checking for suffix of executables... 

checking whether we are cross compiling... no

checking for suffix of object files... o

checking whether we are using the GNU C++ compiler... yes

checking whether g++ accepts -g... yes

checking dependency style of g++... gcc3

checking how to run the C++ preprocessor... g++ -E

checking whether C++ has bool... yes

checking whether C++ has buggy scoping in for-loops... yes

checking whether user wants assertions... yes

checking whether C++ has std::isnan... yes

checking whether user wants warnings... yes

checking whether g++ accepts -Wall... yes

checking whether g++ accepts -Woverloaded-virtual... yes

checking whether user wants gprof... no

checking whether user wants prof... no

checking for gcc... gcc

checking whether we are using the GNU C compiler... yes

checking whether gcc accepts -g... yes

checking for gcc option to accept ISO C89... none needed

checking dependency style of gcc... gcc3

checking dependency style of gcc... gcc3

checking whether ln -s works... yes

checking whether make sets $(MAKE)... (cached) yes

checking for rm... /bin/rm

checking for a sed that does not truncate output... /bin/sed

checking for grep that handles long lines and -e... /bin/grep

checking for egrep... /bin/grep -E

checking for fgrep... /bin/grep -F

checking for ld used by gcc... /usr/bin/ld

checking if the linker (/usr/bin/ld) is GNU ld... yes

checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B

checking the name lister (/usr/bin/nm -B) interface... BSD nm

checking the maximum length of command line arguments... 1572864

checking whether the shell understands some XSI constructs... yes

checking whether the shell understands "+="... yes

checking for /usr/bin/ld option to reload object files... -r

checking for objdump... objdump

checking how to recognize dependent libraries... pass_all

checking for ar... ar

checking for strip... strip

checking for ranlib... ranlib

checking command to parse /usr/bin/nm -B output from gcc object... ok

checking how to run the C preprocessor... gcc -E

checking for ANSI C header files... yes

checking for sys/types.h... yes

checking for sys/stat.h... yes

checking for stdlib.h... yes

checking for string.h... yes

checking for memory.h... yes

checking for strings.h... yes

checking for inttypes.h... yes

checking for stdint.h... yes

checking for unistd.h... yes

checking for dlfcn.h... yes

checking whether we are using the GNU C++ compiler... (cached) yes

checking whether g++ accepts -g... (cached) yes

checking dependency style of g++... (cached) gcc3

checking how to run the C++ preprocessor... g++ -E

checking for objdir... .libs

checking if gcc supports -fno-rtti -fno-exceptions... no

checking for gcc option to produce PIC... -fPIC -DPIC

checking if gcc PIC flag -fPIC -DPIC works... yes

checking if gcc static flag -static works... yes

checking if gcc supports -c -o file.o... yes

checking if gcc supports -c -o file.o... (cached) yes

checking whether the gcc linker (/usr/bin/ld) supports shared libraries...
yes

checking whether -lc should be explicitly linked in... no

checking dynamic linker characteristics... GNU/Linux ld.so

checking how to hardcode library paths into programs... immediate

checking whether stripping libraries is possible... yes

checking if libtool supports shared libraries... yes

checking whether to build shared libraries... yes

checking whether to build static libraries... no

checking for ld used by g++... /usr/bin/ld

checking if the linker (/usr/bin/ld) is GNU ld... yes

checking whether the g++ linker (/usr/bin/ld) supports shared libraries...
yes

checking for g++ option to produce PIC... -fPIC -DPIC

checking if g++ PIC flag -fPIC -DPIC works... yes

checking if g++ static flag -static works... yes

checking if g++ supports -c -o file.o... yes

checking if g++ supports -c -o file.o... (cached) yes

checking whether the g++ linker (/usr/bin/ld) supports shared libraries...
yes

checking dynamic linker characteristics... GNU/Linux ld.so

checking how to hardcode library paths into programs... immediate

checking for python... /usr/bin/python

checking for python version... 2.6

checking for python platform... linux2

checking for python script directory...
${prefix}/lib/python2.6/dist-packages

checking for python extension module directory...
${exec_prefix}/lib/python2.6/dist-packages

checking for Python include path... /usr/include/python2.6

checking Python.h usability... yes

checking Python.h presence... yes

checking for Python.h... yes

checking for swig... /usr/bin/swig

checking for SWIG version... 1.3.40

checking for the pthreads library -lpthreads... no

checking whether pthreads work without any flags... no

checking whether pthreads work with -Kthread... no

checking whether pthreads work with -kthread... no

checking for the pthreads library -llthread... no

checking whether pthreads work with -pthread... yes

checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE

checking if more special flags are required for pthreads... no

checking for cc_r... gcc

checking for library containing clock_gettime... -lrt

checking for clock_gettime... yes

checking for gettimeofday... yes

checking for nanosleep... yes

checking for ANSI C header files... (cached) yes

checking for sys/wait.h that is POSIX.1 compatible... yes

checking fcntl.h usability... yes

checking fcntl.h presence... yes

checking for fcntl.h... yes

checking limits.h usability... yes

checking limits.h presence... yes

checking for limits.h... yes

checking for strings.h... (cached) yes

checking sys/ioctl.h usability... yes

checking sys/ioctl.h presence... yes

checking for sys/ioctl.h... yes

checking sys/time.h usability... yes

checking sys/time.h presence... yes

checking for sys/time.h... yes

checking for unistd.h... (cached) yes

checking sys/mman.h usability... yes

checking sys/mman.h presence... yes

checking for sys/mman.h... yes

checking for an ANSI C-conforming const... yes

checking for inline... inline

checking for size_t... yes

checking whether time.h and sys/time.h may both be included... yes

checking for dummy... no

checking for cc_r... no

checking for sys/types.h... (cached) yes

checking for fcntl.h... (cached) yes

checking io.h usability... no

checking io.h presence... no

checking for io.h... no

checking windows.h usability... no

checking windows.h presence... no

checking for windows.h... no

checking for winioctl.h... no

checking for winbase.h... no

checking for getopt... yes

checking for usleep... yes

checking for gettimeofday... (cached) yes

checking for nanosleep... (cached) yes

checking for rand... yes

checking for srand... yes

checking for random... yes

checking for srandom... yes

checking for sleep... yes

checking for sigaction... yes

checking for struct timezone... yes

checking for struct timespec... yes

checking for ssize_t... yes

checking for getopt... (cached) yes

checking for usleep... (cached) yes

checking for gettimeofday... (cached) yes

checking for Sleep... no

checking whether mkdir accepts only one arg... no

checking for pkg-config... /usr/bin/pkg-config

checking for gnuradio-core >= 2... yes

checking GNURADIO_CORE_CFLAGS... -pthread -DOMNITHREAD_POSIX=1
-I/usr/include/gnuradio  

checking GNURADIO_CORE_LIBS... -lgnuradio-core -lboost_thread-mt -lrt
-lboost_date_time-mt -lgruel -lfftw3f -lgsl -lgslcblas -lm -lgromnithread  

checking GNURADIO_CORE_INCLUDEDIR... /usr/include/gnuradio

gr_boost_include_dir = 

checking boost/shared_ptr.hpp usability... yes

checking boost/shared_ptr.hpp presence... yes

checking for boost/shared_ptr.hpp... yes

configure: creating ./config.status

config.status: creating Makefile

config.status: creating config/Makefile

config.status: creating doc/Makefile

config.status: creating src/Makefile

config.status: creating src/lib/Makefile

config.status: creating src/python/Makefile

config.status: creating src/python/run_tests

config.status: creating config.h

config.status: executing depfiles commands

config.status: executing libtool commands

config.status: executing run_tests commands

bob at ubuntu:~/src/gr-fsk4$ make

(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash
/home/bob/src/gr-fsk4/missing --run autoheader)

rm -f stamp-h1

touch config.h.in

cd . && /bin/bash ./config.status config.h

config.status: creating config.h

config.status: config.h is unchanged

make  all-recursive

make[1]: Entering directory `/home/bob/src/gr-fsk4'

Making all in config

make[2]: Entering directory `/home/bob/src/gr-fsk4/config'

make[2]: Nothing to be done for `all'.

make[2]: Leaving directory `/home/bob/src/gr-fsk4/config'

Making all in src

make[2]: Entering directory `/home/bob/src/gr-fsk4/src'

Making all in lib

make[3]: Entering directory `/home/bob/src/gr-fsk4/src/lib'

/usr/bin/swig -c++ -fvirtual -python -modern -I/usr/include/gnuradio/swig
-I/usr/include/gnuradio   -module fsk4 -o fsk4.cc ../../src/lib/fsk4.i


make  all-am

make[4]: Entering directory `/home/bob/src/gr-fsk4/src/lib'

/bin/bash ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../..  -pthread -DOMNITHREAD_POSIX=1 -I/usr/include/gnuradio
-I/usr/include/python2.6    -g -O2 -Wall -Woverloaded-virtual -pthread -MT
fsk4.lo -MD -MP -MF .deps/fsk4.Tpo -c -o fsk4.lo fsk4.cc

libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -pthread
-DOMNITHREAD_POSIX=1 -I/usr/include/gnuradio -I/usr/include/python2.6 -g -O2
-Wall -Woverloaded-virtual -pthread -MT fsk4.lo -MD -MP -MF .deps/fsk4.Tpo
-c fsk4.cc  -fPIC -DPIC -o .libs/fsk4.o

fsk4.cc: In function 'PyObject* SwigPyObject_richcompare(SwigPyObject*,
SwigPyObject*, int)':

fsk4.cc:1543: warning: dereferencing pointer 'res' does break
strict-aliasing rules

fsk4.cc:1543: warning: dereferencing pointer 'res' does break
strict-aliasing rules

fsk4.cc:1540: note: initialized from here

fsk4.cc:1542: note: initialized from here

fsk4.cc: In function 'PyObject* _wrap_new_fsk4_apco25_f_sptr(PyObject*,
PyObject*)':

fsk4.cc:5562: warning: 'argv[0]' may be used uninitialized in this function

fsk4.cc: In function 'PyObject* _wrap_new_fsk4_generic_f_sptr(PyObject*,
PyObject*)':

fsk4.cc:5086: warning: 'argv[0]' may be used uninitialized in this function

fsk4.cc: In function 'PyObject* _wrap_new_fsk4_rdlap_f_sptr(PyObject*,
PyObject*)':

fsk4.cc:4610: warning: 'argv[0]' may be used uninitialized in this function

fsk4.cc: In function 'PyObject* _wrap_new_fsk4_demod_ff_sptr(PyObject*,
PyObject*)':

fsk4.cc:4125: warning: 'argv[0]' may be used uninitialized in this function

mv -f .deps/fsk4.Tpo .deps/fsk4.Plo

/bin/bash ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../..  -pthread -DOMNITHREAD_POSIX=1 -I/usr/include/gnuradio
-I/usr/include/python2.6    -g -O2 -Wall -Woverloaded-virtual -pthread -MT
fsk4_demod_ff.lo -MD -MP -MF .deps/fsk4_demod_ff.Tpo -c -o fsk4_demod_ff.lo
fsk4_demod_ff.cc

libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -pthread
-DOMNITHREAD_POSIX=1 -I/usr/include/gnuradio -I/usr/include/python2.6 -g -O2
-Wall -Woverloaded-virtual -pthread -MT fsk4_demod_ff.lo -MD -MP -MF
.deps/fsk4_demod_ff.Tpo -c fsk4_demod_ff.cc  -fPIC -DPIC -o
.libs/fsk4_demod_ff.o

mv -f .deps/fsk4_demod_ff.Tpo .deps/fsk4_demod_ff.Plo

/bin/bash ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../..  -pthread -DOMNITHREAD_POSIX=1 -I/usr/include/gnuradio
-I/usr/include/python2.6    -g -O2 -Wall -Woverloaded-virtual -pthread -MT
fsk4_rdlap_f.lo -MD -MP -MF .deps/fsk4_rdlap_f.Tpo -c -o fsk4_rdlap_f.lo
fsk4_rdlap_f.cc

libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -pthread
-DOMNITHREAD_POSIX=1 -I/usr/include/gnuradio -I/usr/include/python2.6 -g -O2
-Wall -Woverloaded-virtual -pthread -MT fsk4_rdlap_f.lo -MD -MP -MF
.deps/fsk4_rdlap_f.Tpo -c fsk4_rdlap_f.cc  -fPIC -DPIC -o
.libs/fsk4_rdlap_f.o

fsk4_rdlap_f.cc: In member function 'virtual int
fsk4_rdlap_f::general_work(int, gr_vector_int&, gr_vector_const_void_star&,
gr_vector_void_star&)':

fsk4_rdlap_f.cc:469: warning: unused variable 'out'

mv -f .deps/fsk4_rdlap_f.Tpo .deps/fsk4_rdlap_f.Plo

/bin/bash ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../..  -pthread -DOMNITHREAD_POSIX=1 -I/usr/include/gnuradio
-I/usr/include/python2.6    -g -O2 -Wall -Woverloaded-virtual -pthread -MT
fsk4_generic_f.lo -MD -MP -MF .deps/fsk4_generic_f.Tpo -c -o
fsk4_generic_f.lo fsk4_generic_f.cc

libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -pthread
-DOMNITHREAD_POSIX=1 -I/usr/include/gnuradio -I/usr/include/python2.6 -g -O2
-Wall -Woverloaded-virtual -pthread -MT fsk4_generic_f.lo -MD -MP -MF
.deps/fsk4_generic_f.Tpo -c fsk4_generic_f.cc  -fPIC -DPIC -o
.libs/fsk4_generic_f.o

fsk4_generic_f.cc: In member function 'virtual int
fsk4_generic_f::general_work(int, gr_vector_int&,
gr_vector_const_void_star&, gr_vector_void_star&)':

fsk4_generic_f.cc:129: warning: unused variable 'out'

mv -f .deps/fsk4_generic_f.Tpo .deps/fsk4_generic_f.Plo

/bin/bash ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../..  -pthread -DOMNITHREAD_POSIX=1 -I/usr/include/gnuradio
-I/usr/include/python2.6    -g -O2 -Wall -Woverloaded-virtual -pthread -MT
fsk4_apco25_f.lo -MD -MP -MF .deps/fsk4_apco25_f.Tpo -c -o fsk4_apco25_f.lo
fsk4_apco25_f.cc

libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -pthread
-DOMNITHREAD_POSIX=1 -I/usr/include/gnuradio -I/usr/include/python2.6 -g -O2
-Wall -Woverloaded-virtual -pthread -MT fsk4_apco25_f.lo -MD -MP -MF
.deps/fsk4_apco25_f.Tpo -c fsk4_apco25_f.cc  -fPIC -DPIC -o
.libs/fsk4_apco25_f.o

fsk4_apco25_f.cc: In member function 'virtual int
fsk4_apco25_f::general_work(int, gr_vector_int&, gr_vector_const_void_star&,
gr_vector_void_star&)':

fsk4_apco25_f.cc:260: warning: unused variable 'out'

mv -f .deps/fsk4_apco25_f.Tpo .deps/fsk4_apco25_f.Plo

/bin/bash ../../libtool --tag=CXX   --mode=link g++  -g -O2 -Wall
-Woverloaded-virtual -pthread  -module -avoid-version  -o _fsk4.la -rpath
/usr/local/lib/python2.6/dist-packages/gnuradio fsk4.lo fsk4_demod_ff.lo
fsk4_rdlap_f.lo fsk4_generic_f.lo fsk4_apco25_f.lo  -lstdc++
-lgnuradio-core -lboost_thread-mt -lrt -lboost_date_time-mt -lgruel -lfftw3f
-lgsl -lgslcblas -lm -lgromnithread  

libtool: link: g++ -shared -nostdlib
/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/crti.o
/usr/lib/gcc/i486-linux-gnu/4.4.3/crtbeginS.o  .libs/fsk4.o
.libs/fsk4_demod_ff.o .libs/fsk4_rdlap_f.o .libs/fsk4_generic_f.o
.libs/fsk4_apco25_f.o   /usr/lib/libgnuradio-core.so -lboost_thread-mt -lrt
-lboost_date_time-mt /usr/lib/libgruel.so /usr/lib/libfftw3f.so -lgsl
-lgslcblas /usr/lib/libgromnithread.so -L/usr/lib/gcc/i486-linux-gnu/4.4.3
-L/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib -L/lib/../lib
-L/usr/lib/../lib -L/usr/lib/gcc/i486-linux-gnu/4.4.3/../../..
-L/usr/lib/i486-linux-gnu -lstdc++ -lm -lc -lgcc_s
/usr/lib/gcc/i486-linux-gnu/4.4.3/crtendS.o
/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/crtn.o  -pthread
-pthread -Wl,-soname -Wl,_fsk4.so -o .libs/_fsk4.so

libtool: link: ( cd ".libs" && rm -f "_fsk4.la" && ln -s "../_fsk4.la"
"_fsk4.la" )

make[4]: Leaving directory `/home/bob/src/gr-fsk4/src/lib'

make[3]: Leaving directory `/home/bob/src/gr-fsk4/src/lib'

Making all in python

make[3]: Entering directory `/home/bob/src/gr-fsk4/src/python'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/home/bob/src/gr-fsk4/src/python'

make[3]: Entering directory `/home/bob/src/gr-fsk4/src'

make[3]: Nothing to be done for `all-am'.

make[3]: Leaving directory `/home/bob/src/gr-fsk4/src'

make[2]: Leaving directory `/home/bob/src/gr-fsk4/src'

make[2]: Entering directory `/home/bob/src/gr-fsk4'

make[2]: Leaving directory `/home/bob/src/gr-fsk4'

make[1]: Leaving directory `/home/bob/src/gr-fsk4'

bob at ubuntu:~/src/gr-fsk4$ make install

Making install in config

make[1]: Entering directory `/home/bob/src/gr-fsk4/config'

make[2]: Entering directory `/home/bob/src/gr-fsk4/config'

make[2]: Nothing to be done for `install-exec-am'.

make[2]: Nothing to be done for `install-data-am'.

make[2]: Leaving directory `/home/bob/src/gr-fsk4/config'

make[1]: Leaving directory `/home/bob/src/gr-fsk4/config'

Making install in src

make[1]: Entering directory `/home/bob/src/gr-fsk4/src'

Making install in lib

make[2]: Entering directory `/home/bob/src/gr-fsk4/src/lib'

make  install-am

make[3]: Entering directory `/home/bob/src/gr-fsk4/src/lib'

make[4]: Entering directory `/home/bob/src/gr-fsk4/src/lib'

make[4]: Nothing to be done for `install-exec-am'.

test -z "/usr/local/include/gnuradio" || /bin/mkdir -p
"/usr/local/include/gnuradio"

/usr/bin/install -c -m 644 fsk4_demod_ff.h fsk4_rdlap_f.h fsk4_generic_f.h
fsk4_apco25_f.h '/usr/local/include/gnuradio'

/usr/bin/install: cannot remove
`/usr/local/include/gnuradio/fsk4_demod_ff.h': Permission denied

/usr/bin/install: cannot remove
`/usr/local/include/gnuradio/fsk4_rdlap_f.h': Permission denied

/usr/bin/install: cannot remove
`/usr/local/include/gnuradio/fsk4_generic_f.h': Permission denied

/usr/bin/install: cannot remove
`/usr/local/include/gnuradio/fsk4_apco25_f.h': Permission denied

make[4]: *** [install-grincludeHEADERS] Error 1

make[4]: Leaving directory `/home/bob/src/gr-fsk4/src/lib'

make[3]: *** [install-am] Error 2

make[3]: Leaving directory `/home/bob/src/gr-fsk4/src/lib'

make[2]: *** [install] Error 2

make[2]: Leaving directory `/home/bob/src/gr-fsk4/src/lib'

make[1]: *** [install-recursive] Error 1

make[1]: Leaving directory `/home/bob/src/gr-fsk4/src'

make: *** [install-recursive] Error 1

bob at ubuntu:~/src/gr-fsk4$

 

Thanks again to all of you for your help,

Bob

 

From: op25-dev at yahoogroups.com [mailto:op25-dev at yahoogroups.com] On Behalf
Of Steve Glass
Sent: Tuesday, January 29, 2013 11:54 PM
To: op25-dev at yahoogroups.com
Subject: Re: [op25-dev] OP25 and WireShark Help [1 Attachment]

 

  

[Attachment(s) from Steve Glass included below] 

Ok, then you will need to build gr-fsk4.

 

I suggest you ditch the version you are working with and try the attached
instead. I've already made the necessary fixes. We have a version we've
adopted but are only using it for the usrp code - its another thing we need
to fix.

 

 



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/op25-dev/attachments/20130130/3f253289/attachment.html>


More information about the op25-dev mailing list