About Building GNU Radio System in Cygwin‏

When I building a Full GNU Radio System
(http://gnuradio.org/trac/wiki/CygwinInstallMain on windows)

$ cd gnuradio-3.2
$ ./configure

I get following error message…

And I saw the other discuss,

I also did the “./configure --prefix=$BOOST_PREFIX
–with-libraries=thread,date_time,program_options” on boost_1_36_0…

In the above in “boost 1.36 on Cygwin” it is mentioned,“$ ./configure
–with-libraries=thread,date_time"for the configure command. But while
configuring I ended up with the following errorconfigure: error: Could
not link against libboost_program_options!The solution to this problem
is to use the following as a configure cmd.”$ ./configure
–prefix=$BOOST_PREFIX
–with-libraries=thread,date_time,program_options"

But had the same error message…

What can I do?

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 how to run the C preprocessor… gcc -E
checking for grep that handles long lines and -e… /usr/bin/grep
checking for egrep… /usr/bin/grep -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 minix/config.h usability… no
checking minix/config.h presence… no
checking for minix/config.h… no
checking whether it is safe to define EXTENSIONS… yes
checking for library containing strerror… none required
checking for g++… g++
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 std::isnan… yes
checking gr_libdir_suffix…
checking whether to append 64 to libdir… no
checking whether gcc accepts -Wall… yes
checking whether gcc accepts -Werror-implicit-function-declaration…
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 dependency style of gcc… gcc3
checking whether ln -s works… yes
checking whether make sets $(MAKE)… (cached) yes
checking for a BSD-compatible install… /usr/bin/install -c
checking for a thread-safe mkdir -p… /usr/bin/mkdir -p
checking for rm… /usr/bin/rm
checking for as… as
checking for dlltool… dlltool
checking for objdump… objdump
checking for a sed that does not truncate output… /usr/bin/sed
checking for fgrep… /usr/bin/grep -F
checking for ld used by gcc… /usr/i686-pc-cygwin/bin/ld.exe
checking if the linker (/usr/i686-pc-cygwin/bin/ld.exe) 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… 8192
checking whether the shell understands some XSI constructs… yes
checking whether the shell understands “+=”… yes
checking for /usr/i686-pc-cygwin/bin/ld.exe option to reload object
files… -r
checking for objdump… (cached) objdump
checking how to recognize dependent libraries… file_magic ^x86 archive
import|
^x86 DLL
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 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… -DDLL_EXPORT -DPIC
checking if gcc PIC flag -DDLL_EXPORT -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/i686-pc-cygwin/bin/ld.exe)
supports shared
libraries… yes
checking whether -lc should be explicitly linked in… yes
checking dynamic linker characteristics… Win32 ld.exe
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/i686-pc-cygwin/bin/ld.exe
checking if the linker (/usr/i686-pc-cygwin/bin/ld.exe) is GNU ld… yes
checking whether the g++ linker (/usr/i686-pc-cygwin/bin/ld.exe)
supports shared
libraries… yes
checking for g++ option to produce PIC… -DDLL_EXPORT -DPIC
checking if g++ PIC flag -DDLL_EXPORT -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/i686-pc-cygwin/bin/ld.exe)
supports shared
libraries… yes
checking dynamic linker characteristics… Win32 ld.exe
checking how to hardcode library paths into programs… immediate
checking for g77… no
checking for xlf… no
checking for f77… no
checking for frt… no
checking for pgf77… no
checking for cf77… no
checking for fort77… no
checking for fl32… no
checking for af77… no
checking for xlf90… no
checking for f90… no
checking for pgf90… no
checking for pghpf… no
checking for epcf90… no
checking for gfortran… no
checking for g95… no
checking for xlf95… no
checking for f95… no
checking for fort… no
checking for ifort… no
checking for ifc… no
checking for efc… no
checking for pgf95… no
checking for lf95… no
checking for ftn… no
checking whether we are using the GNU Fortran 77 compiler… no
checking whether accepts -g… no
checking for python… /usr/bin/python
checking for python version… 2.5
checking for python platform… cygwin
checking for python script directory… /usr/lib/python2.5/site-packages
checking for python extension module directory…
/usr/lib/python2.5/site-packag
es
checking for Python include path… /usr/include/python2.5
checking Python.h usability… yes
checking Python.h presence… yes
checking for Python.h… yes
checking for Python LDFLAGS… -L/usr/lib/python2.5/config -lpython2.5
checking for swig… /usr/bin/swig
checking for SWIG version… 1.3.36
checking for xmlto… no
checking for socket in -lsocket… no
checking for the pthreads library -lpthreads… no
checking whether pthreads work without any flags… yes
checking for joinable pthread attribute… PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads… no
checking for library containing clock_gettime… none required
checking for clock_gettime… yes
checking for gettimeofday… yes
checking for nanosleep… yes
checking sys/ipc.h usability… yes
checking sys/ipc.h presence… yes
checking for sys/ipc.h… yes
checking sys/shm.h usability… yes
checking sys/shm.h presence… yes
checking for sys/shm.h… yes
checking for library containing shmat… none required
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 time.h usability… yes
checking time.h presence… yes
checking for time.h… 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 linux/ppdev.h usability… no
checking linux/ppdev.h presence… no
checking for linux/ppdev.h… no
checking dev/ppbus/ppi.h usability… no
checking dev/ppbus/ppi.h presence… no
checking for dev/ppbus/ppi.h… no
checking sys/mman.h usability… yes
checking sys/mman.h presence… yes
checking for sys/mman.h… yes
checking sys/select.h usability… yes
checking sys/select.h presence… yes
checking for sys/select.h… yes
checking for sys/types.h… (cached) yes
checking sys/resource.h usability… yes
checking sys/resource.h presence… yes
checking for sys/resource.h… yes
checking for stdint.h… (cached) yes
checking sched.h usability… yes
checking sched.h presence… yes
checking for sched.h… yes
checking signal.h usability… yes
checking signal.h presence… yes
checking for signal.h… yes
checking sys/syscall.h usability… no
checking sys/syscall.h presence… no
checking for sys/syscall.h… no
checking malloc.h usability… yes
checking malloc.h presence… yes
checking for malloc.h… yes
checking netinet/in.h usability… yes
checking netinet/in.h presence… yes
checking for netinet/in.h… yes
checking windows.h usability… yes
checking windows.h presence… yes
checking for windows.h… yes
checking vec_types.h usability… no
checking vec_types.h presence… no
checking for vec_types.h… no
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 whether byte ordering is bigendian… no
checking whether struct tm is in sys/time.h or time.h… time.h
checking for working alloca.h… yes
checking for alloca… yes
checking for posix_memalign… no
checking for valloc… yes
malloc has unknown alignment.
checking for vprintf… yes
checking for _doprnt… no
checking for mmap… yes
checking for select… yes
checking for socket… yes
checking for strcspn… yes
checking for strerror… yes
checking for strspn… yes
checking for getpagesize… yes
checking for sysconf… yes
checking for snprintf… yes
checking for gettimeofday… (cached) yes
checking for nanosleep… (cached) yes
checking for sched_setscheduler… yes
checking for modf… yes
checking for sqrt… yes
checking for sigaction… yes
checking for sigprocmask… yes
checking for pthread_sigmask… yes
checking for sched_setaffinity… no
checking for sincos in -lm… yes
checking for sincosf in -lm… yes
checking for sinf in -lm… yes
checking for cosf in -lm… yes
checking for trunc in -lm… yes
checking for exp10 in -lm… no
checking for log2 in -lm… no
checking for library containing shm_open… no
checking for shm_open… no
checking for ld used by gcc… (cached) /usr/i686-pc-cygwin/bin/ld.exe
checking if the linker (/usr/i686-pc-cygwin/bin/ld.exe) is GNU ld…
(cached) ye
s
checking whether /usr/i686-pc-cygwin/bin/ld.exe accepts
–enable-runtime-pseudo-
reloc… yes
checking for CreateFileMapping function… yes
checking for sys/types.h… (cached) yes
checking for fcntl.h… (cached) yes
checking io.h usability… yes
checking io.h presence… yes
checking for io.h… yes
checking for windows.h… (cached) yes
checking for winioctl.h… yes
checking for winbase.h… yes
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… (cached) 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… yes
checking whether mkdir accepts only one arg… no
checking for dot… NO
checking for pkg-config… /usr/bin/pkg-config
checking pkg-config is at least version 0.18… yes
checking for FFTW3F… yes
checking for doxygen… no
checking for machine dependent speedups… x86
checking for CPPUNIT… yes
checking for guile… /usr/bin/guile
checking for boost >= 1.35… yes
checking whether the boost::thread includes are available… yes
checking for exit in -lboost_thread-gcc34-mt-1_36… yes
checking whether the boost::date_time includes are available… yes
checking for exit in -lboost_date_time-gcc34-mt-1_36… yes
checking whether the boost::program_options includes are available…
yes
configure: error: Could not link against libboost_program_options!


輕鬆分享 – 利用 Windows Live 相簿分享相片

Li Mei-Wen wrote:

And I saw the other discuss,
./configure --with-libraries=thread,date_time"for the configure command.
But while configuring I ended up with the following errorconfigure: error:
Could not link against libboost_program_options!The solution to this
problem is to use the following as a configure cmd."$
./configure --prefix=$BOOST_PREFIX --with-libraries=thread,date_time,program_options"

But had the same error message…

Did you repeat the “make”, “make install”, and “cp” steps for installing
boost? Are the
libboost_program_options files listed when you do “ls
/usr/local/lib/boost”?

– Don W.