On Thu, Sep 17, 2009 at 07:58:17AM -0400, Philip Balister wrote:
> Philip Balister wrote:
>
> OK, I found the root problem. Basically, in the usrp2 firmware build  
> process, there is a wrapper configure.gnu that unsets environment vars  
> and removes extra arguments to the configure used to build the firmware.  
> Since I am passing the USB_* vars on the command line, they upset the  
> configure script.

If they are well-formed, I'm not sure how this could cause a problem.
They are not referenced by anything in the firmware build.  The ones
in yesterday's logs were not well-formed; they had spaces embedded in
them and probably we're leading to a syntax error somewhere in the
guts of configure (actually looks like the problem may be in
configure.gnu (shell quoting across shell scripts is hard to get
right.)  Probably ought to rewrite configure.gnu as a python script.
That way arg handling wouldn't be borked.)

> Updating configure.gnu to remove them solves my problem. The larger  
> question is, should I go ahead and account for the other influential  
> variables listed in the help for the gnuradio configure script.

Yes, please add these to the list:

>   CCAS        assembler compiler command (defaults to CC)
>   CCASFLAGS   assembler compiler flags (defaults to CFLAGS)

Already on the list:

>   F77         Fortran 77 compiler command
>   FFLAGS      Fortran 77 compiler flags

I don't think we need to remove any of these, the firmware doesn't
look at any of them.

>   PKG_CONFIG  path to pkg-config utility
>   FFTW3F_CFLAGS
>               C compiler flags for FFTW3F, overriding pkg-config
>   FFTW3F_LIBS linker flags for FFTW3F, overriding pkg-config
>   FFTW3F_INCLUDEDIR
>               includedir for FFTW3F, overriding pkg-config
>   CPPUNIT_CFLAGS
>               C compiler flags for CPPUNIT, overriding pkg-config
>   CPPUNIT_LIBS
>               linker flags for CPPUNIT, overriding pkg-config
>   CPPUNIT_INCLUDEDIR
>               includedir for CPPUNIT, overriding pkg-config
>   GSL_CFLAGS  C compiler flags for GSL, overriding pkg-config
>   GSL_LIBS    linker flags for GSL, overriding pkg-config
>   GSL_INCLUDEDIR
>               includedir for GSL, overriding pkg-config
>   USB_CFLAGS  C compiler flags for USB, overriding pkg-config
>   USB_LIBS    linker flags for USB, overriding pkg-config
>   USB_INCLUDEDIR
>               includedir for USB, overriding pkg-config
>   ALSA_CFLAGS C compiler flags for ALSA, overriding pkg-config
>   ALSA_LIBS   linker flags for ALSA, overriding pkg-config
>   ALSA_INCLUDEDIR
>               includedir for ALSA, overriding pkg-config
>   JACK_CFLAGS C compiler flags for JACK, overriding pkg-config
>   JACK_LIBS   linker flags for JACK, overriding pkg-config
>   JACK_INCLUDEDIR
>               includedir for JACK, overriding pkg-config
>   PORTAUDIO_CFLAGS
>               C compiler flags for PORTAUDIO, overriding pkg-config
>   PORTAUDIO_LIBS
>               linker flags for PORTAUDIO, overriding pkg-config
>   PORTAUDIO_INCLUDEDIR
>               includedir for PORTAUDIO, overriding pkg-config
>   COMEDI_CFLAGS
>               C compiler flags for COMEDI, overriding pkg-config
>   COMEDI_LIBS linker flags for COMEDI, overriding pkg-config
>   COMEDI_INCLUDEDIR
>               includedir for COMEDI, overriding pkg-config
>   SDL_CFLAGS  C compiler flags for SDL, overriding pkg-config
>   SDL_LIBS    linker flags for SDL, overriding pkg-config
>   SDL_INCLUDEDIR
>               includedir for SDL, overriding pkg-config
>   QTCORE_CFLAGS
>               C compiler flags for QTCORE, overriding pkg-config
>   QTCORE_LIBS linker flags for QTCORE, overriding pkg-config
>   QTCORE_INCLUDEDIR
>               includedir for QTCORE, overriding pkg-config
>   QTGUI_CFLAGS
>               C compiler flags for QTGUI, overriding pkg-config
>   QTGUI_LIBS  linker flags for QTGUI, overriding pkg-config
>   QTGUI_INCLUDEDIR
>               includedir for QTGUI, overriding pkg-config
>   QTOPENGL_CFLAGS
>               C compiler flags for QTOPENGL, overriding pkg-config
>   QTOPENGL_LIBS
>               linker flags for QTOPENGL, overriding pkg-config
>   QTOPENGL_INCLUDEDIR
>               includedir for QTOPENGL, overriding pkg-config
>
> Philip

Let me know how it goes!

Eric


_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to