Ok I changed the directory for gr-fsk4 to the SRC directory using cd src then cd gr-fsk4. After running bootstrap, configure, make, and make install I get this error?à

 

bob@ubuntu:~$ '/home/bob/src/gr-fsk4'

bash: /home/bob/src/gr-fsk4: is a directory

bob@ubuntu:~$ cd src

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

bash: /src/gr-fsk4: No such file or directory

bob@ubuntu:~/src$ cd chdir gr-fsk4

bash: cd: chdir: No such file or directory

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

bob@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@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: config.h is unchanged

config.status: executing depfiles commands

config.status: executing libtool commands

config.status: executing run_tests commands

bob@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'

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* _wrap_new_fsk4_demod_ff_sptr(PyObject*, PyObject*)’:

fsk4.cc:3918: warning: ‘argv[0]’ may be used uninitialized in this function

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

fsk4.cc:5355: 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:4879: 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:4403: 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 ‘void fsk4_rdlap_f::process_block()’:

fsk4_rdlap_f.cc:363: error: ‘printf’ was not declared in this scope

fsk4_rdlap_f.cc:371: error: ‘printf’ was not declared in this scope

fsk4_rdlap_f.cc:372: error: ‘printf’ was not declared in this scope

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:468: warning: unused variable ‘out’

make[4]: *** [fsk4_rdlap_f.lo] Error 1

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

make[3]: *** [all] Error 2

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

make[2]: *** [all-recursive] Error 1

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

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

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

make: *** [all] Error 2

bob@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'

/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 ‘void fsk4_rdlap_f::process_block()’:

fsk4_rdlap_f.cc:363: error: ‘printf’ was not declared in this scope

fsk4_rdlap_f.cc:371: error: ‘printf’ was not declared in this scope

fsk4_rdlap_f.cc:372: error: ‘printf’ was not declared in this scope

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:468: warning: unused variable ‘out’

make[3]: *** [fsk4_rdlap_f.lo] Error 1

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@ubuntu:~/src/gr-fsk4$

 

From: op25-dev@yahoogroups.com [mailto:op25-dev@yahoogroups.com] On Behalf Of Zach Wasserman
Sent: Tuesday, January 29, 2013 5:16 PM
To: op25-dev@yahoogroups.com
Subject: Re: [op25-dev] OP25 and WireShark Help

 

 

It would help you greatly to check out section 3 of this document: http://heather.cs.ucdavis.edu/~matloff/UnixAndC/Unix/UnixBareMn.pdf

On Tue, Jan 29, 2013 at 6:04 PM, Robert Klamp Jr. <RobertKlamp@aol.com> wrote:

 

I have to apologize, I am not that great with Ubuntu. Could you please explain the first part about using the cd command and what I am supposed to type in. I am very lost not understanding Linux that well, are you saying to type cd chdir src/grfsk4 into the terminal window and then run bootstrap and configure? I am so lost, please anybody responding understand I am new to Linux and have a lot of learning to do.

 

Thanks,

Bob

 

From: op25-dev@yahoogroups.com [mailto:op25-dev@yahoogroups.com] On Behalf Of ikjtel
Sent: Tuesday, January 29, 2013 2:50 PM


To: op25-dev@yahoogroups.com
Subject: Re: [op25-dev] OP25 and WireShark Help

 

 

you have the source dir for gr-fsk4 - good.  Use the cd command the chdir to that dir (src/gr-fsk4) and then do

 

sh bootstrap

./configure

make

make install

 

Max


From: Robert Klamp Jr. <RobertKlamp@aol.com>
To: op25-dev@yahoogroups.com
Sent: Tuesday, January 29, 2013 9:10 AM
Subject: RE: [op25-dev] OP25 and WireShark Help

 

 

I have what is supposed to be a working copy on a thumb drive I copy the SRC file over to my Home folder. The SCR folder contains 4 folders GNURadio-3.2.2, GR-FSK4, OP25, and OLD I can post a link to it if it will help. I then open a terminal and run the command lines to start it: cd ~/src/op25/python-à./audio_p25_rx.py –a and I get this errorà

 

bob@ubuntu:~$ cd ~/src/op25/python

bob@ubuntu:~/src/op25/python$ ./audio_p25_rx.py -a

 

Traceback (most recent call last):

  File "./audio_p25_rx.py", line 34, in <module>

    from gnuradio import audio, eng_notation, fsk4, gr, gru, op25

ImportError: cannot import name fsk4

bob@ubuntu:~/src/op25/python$

bob@ubuntu:~/src/op25/python$

 

I will try and install from scratch but I get the same error plus a few others, any way any help is appreciated and please let me know if you need more info. As for the system I am running Ubuntu 10.04 with VMware player on a windows 7 64 bit machine with a AMD processor.

 

Thanks Again,

Bob

 

From: op25-dev@yahoogroups.com [mailto:op25-dev@yahoogroups.com] On Behalf Of ikjtel
Sent: Tuesday, January 29, 2013 7:46 AM
To: op25-dev@yahoogroups.com
Subject: Re: [op25-dev] OP25 and WireShark Help

 

 

 

Robert

 

Not a lot of info here to go on.

 

We'd need you to post the specific error messages you're receiving - otherwise it won't be possible to arrive at a diagnosis.

 

Max

 


From: rbrtklamp <RobertKlamp@aol.com>
To: op25-dev@yahoogroups.com
Sent: Tuesday, January 29, 2013 5:13 AM
Subject: [op25-dev] OP25 and WireShark Help

 

 

Has anybody had any luck getting OP25 to work. I have been going crazy trying to get this program installed and running but it always gives me errors. I have tried ubuntu 9.10 but they no longer release or update any packages for that version anymore. So now I am on to Ubuntu 10.04 GNUradio installs fine but I get a ton of errors when trying to install OP25. My end game is to be able to use OP25 with wire shark to review the data packets. Right now I am at a loss, I am not very Linux literate and really have a almost no knowledge on how the operating system works. I should add I installed and use DSD just fine, thats why this op25 thing is driving me crazy I follow every part of the building instructions to the T and still get errors and missing pieces. I am at the point that I am willing to pay somebody for their time if someone would be kind enough to contact me directly I will give you my phone number and we can go from there. Just let me know what I owe you for your time and I will paypal it over to you. Bottom line is I NEED to get this program up and running with wire shark for a project me and some Friends are working on. Any help would be very much appreciated and I am more than happy to compensate any for their time if somebodies willing to walk me through the set-up and figure out why I cant get it running. PLEASE HELP! Any one interested can contact me here directly at the email address below.

Thank you all for your time,
Robert Klamp
RobertKlamp at Comcast dot net

 

 

 

__._,_.___
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (9)
Recent Activity:
Visit Your Group
.

__,_._,___