[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] GNU Radio release 3.3.0-rc0 available for testin

From: Alexandru Csete
Subject: Re: [Discuss-gnuradio] GNU Radio release 3.3.0-rc0 available for testing
Date: Wed, 19 May 2010 16:01:23 +0200


I noticed a minor build issue that started to exist few months ago. If
configuring using --prefix=/somedir and somedir does not already
exist, then build will fail with the error:

make[5]: Entering directory
test -f `basename 'eeprom_boot.a51'` || ln -s 'eeprom_boot.a51' .
test -f ../common/`basename 'eeprom_boot.a51'` -o \
                \! -f `dirname 'eeprom_boot.a51'`/../common/`basename
'eeprom_boot.a51'` \
                || ln -s `dirname
'eeprom_boot.a51'`/../common/`basename 'eeprom_boot.a51'`
../common/`basename 'eeprom_boot.a51'`
asx8051 -plosgff `basename 'eeprom_boot.a51'`
sdcc -mmcs51 --no-xinit-opt -I../../../../usrp/firmware/include
-I../../../../usrp/firmware/src/common -DHAVE_USRP2 \
                -c -o eeprom_init.rel `test -f 'eeprom_init.c' || echo
test -f `basename '_startup.a51'` || ln -s '_startup.a51' .
test -f ../common/`basename '_startup.a51'` -o \
                \! -f `dirname '_startup.a51'`/../common/`basename
'_startup.a51'` \
                || ln -s `dirname '_startup.a51'`/../common/`basename
'_startup.a51'` ../common/`basename '_startup.a51'`
asx8051 -plosgff `basename '_startup.a51'`
sdcc -mmcs51 --no-xinit-opt --code-loc 0x0000 --code-size 0x1800
--xram-loc 0x1800 --xram-size 0x0800 -Wl '-b USBDESCSEG = 0xE000' -L
../../lib libfx2.lib -o eeprom_boot.ihx eeprom_boot.rel
eeprom_init.rel _startup.rel
/usr/bin/python ./../common/build_eeprom.py
-p/opt/gnuradio/3.3git-rc0-26-g89440000 -r2 eeprom_boot.ihx >
PREFIX dir (/opt/gnuradio/3.3git-rc0-26-g89440000), does not exist
make[5]: *** [burn-usrp2-eeprom] Error 1
make[5]: Leaving directory
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/alc/gnuradio/source/3.3git-rc0-26-g89440000'
make: *** [all] Error 2

Creating the target directory manually before executing "make" fixes
the problem but AFAIK this should not be necessary since "make
install" will create all the required directories.

I looked in the build_eeprom.py script but I can't see why checking
that "prefix" exists at build time is required.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]