Problems with a new module

Hi List,
I have some problem to compile and test a new module I write starting
from gnuradio code.
This is what I do:

  1. take the “how to write blah blah” code and directory structure;
  2. modify code and src/lib/Makefile.am
  3. autoreconf
    -> First error:

[email protected]:~/Tesi/SVN/gr-howto-write-a-block$ autoreconf
src/lib/Makefile.am:55: Python sources seen but PYTHON' is undefined src/lib/Makefile.am:55: src/lib/Makefile.am:55: The usual way to definePYTHON’ is to add
AM_PATH_PYTHON' src/lib/Makefile.am:55: toconfigure.ac’ and run aclocal' andautoconf’ again.
src/python/Makefile.am:31: Python sources seen but PYTHON' is undefined src/python/Makefile.am:31: src/python/Makefile.am:31: The usual way to definePYTHON’ is to add
AM_PATH_PYTHON' src/python/Makefile.am:31: toconfigure.ac’ and run aclocal' andautoconf’ again.

  1. add AM_PATH_PYTHON to configure.ac
  2. autoreconf run clean;
  3. ./configure
    -> Second error:

./configure: line 2037: GR_X86_64: command not found
./configure: line 2038: LF_CONFIGURE_CXX: command not found
./configure: line 2039: LF_SET_WARNINGS: command not found
./configure: line 2040: GR_SET_GPROF: command not found
./configure: line 2041: GR_SET_PROF: command not found
./configure: line 19003: GR_NO_UNDEFINED: command not found
./configure: line 19004: GR_SCRIPTING: command not found
./configure: line 19007: GR_OMNITHREAD: command not found
./configure: line 19964: GR_PWIN32: command not found
./configure: line 20184: GR_REQUIRE_BOOST_INCLUDES: command not found

The original “how to” code compile and run clean. I don’t know what is
(are?) the problem. Any idea?

Regards,

Davide A.

web: http://www.davideanastasia.com/
email: [email protected]

On Sun, May 20, 2007 at 06:39:02PM +0200, Davide A. wrote:

src/lib/Makefile.am:55: Python sources seen but PYTHON' is undefinedautoconf’ again.

  1. add AM_PATH_PYTHON to configure.ac
  2. autoreconf run clean;
  3. ./configure
    -> Second error:

Don’t use autoreconf.

Use

./bootstrap && ./configure

Eric

Il giorno lun, 21/05/2007 alle 11.37 -0700, Eric B. ha scritto:

Don’t use autoreconf.

Use

./bootstrap && ./configure

Eric

Ok, now ./configure run clear! :slight_smile:
But I have another problem:

SWIG:1: Warning(120): -c, -runtime, -noruntime command line options are
deprecated.
/usr/bin/ld: cannot find -lgrswigrunpy
collect2: ld returned 1 exit status
make[3]: *** [_dspcola.la] Error 1
make[2]: *** [check] Error 2
make[1]: *** [check-recursive] Error 1
make: *** [check-recursive] Error 1

Any idea?

Davide A.

web: http://www.davideanastasia.com/
email: [email protected]

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs