Greetings, 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 `/home/alc/gnuradio/source/3.3git-rc0-26-g89440000/usrp/firmware/src/usrp2' 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/usrp2 -I../../../../usrp/firmware/src/common -I../../../../usrp/firmware/src/common -DHAVE_USRP2 \ -c -o eeprom_init.rel `test -f 'eeprom_init.c' || echo './'`eeprom_init.c 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 > burn-usrp2-eeprom PREFIX dir (/opt/gnuradio/3.3git-rc0-26-g89440000), does not exist make[5]: *** [burn-usrp2-eeprom] Error 1 make[5]: Leaving directory `/home/alc/gnuradio/source/3.3git-rc0-26-g89440000/usrp/firmware/src/usrp2' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/home/alc/gnuradio/source/3.3git-rc0-26-g89440000/usrp/firmware/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/alc/gnuradio/source/3.3git-rc0-26-g89440000/usrp/firmware' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/alc/gnuradio/source/3.3git-rc0-26-g89440000/usrp' 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. Alex _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio