I am on 10.4.3 and am using DawinPorts where possible (almost always possible) and following Jon's instructions.
ryan-papes-mac-mini:~/gnuradio/usrp Ryan$ echo $PATH /opt/local/bin:/opt/local/sbin:/sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin ryan-papes-mac-mini:~/gnuradio/usrp Ryan$ echo $CPATH /Users/Ryan/gr/include:/opt/local/include ryan-papes-mac-mini:~/gnuradio/usrp Ryan$ echo $PKG_CONFIG_PATH /opt/local/lib/pkgconfig:/Users/Ryan/gr/lib/pkgconfig ryan-papes-mac-mini:~/gnuradio/usrp Ryan$ echo $LDFLAGS -L/Users/Ryan/gr/lib -L/opt/local/lib ryan-papes-mac-mini:~/gnuradio/usrp Ryan$ echo $PYTHON_ROOT ryan-papes-mac-mini:~/gnuradio/usrp Ryan$ echo $PYTHON_VERSION ryan-papes-mac-mini:~/gnuradio/usrp Ryan$ echo $PYTHONPATH /Users/Ryan/gr/lib/python2.3/site-packages If i DO NOT set: SDCC_INCLUDE=/opt/local/share/sdcc/include/ SDCC_LIB=/opt/local/share/sdcc/lib/ then I get the following error sdcc -mmcs51 --no-xinit-opt -I../../../firmware/include -I../../../firmware/src/usrp0 -I../common -DHAVE_USRP0 \ -c -o usrp_main.rel `test -f 'usrp_main.c' || echo './'`usrp_main.c usrp_main.c:31:20: string.h: No such file or directory usrp_main.c:327: warning: function 'memset' implicit declaration usrp_main.c:327: error: too many parameters usrp_main.c:348: error: code not generated for 'main' due to previous errors I tried adjusting some other environment variables prior to ./config-ing (not SDCC_*) but referencing any of the sdcc paths actually broke configure, in some instances. No problems once I set SDCC_*, however, FWIW. On 1/15/06, Michael Dickens <[EMAIL PROTECTED]> wrote: > I use DarwinPorts exclusively on OSX 10.4.4, and do not have this > issue. Thus some Q's to see if we can figure out what's going on. > Note that setting those environment variables can't hurt, but maybe > there's another way. - MLD > > * What version of MacOS X are you compiling under? > > * Are you using DarwinPorts exclusively, or following Jon's > directions, or some other means for getting the background libraries, > includes, & applications? Please elaborate. > > * What is your current shell environment variable setup? The most > important ones to compile GR are: > > PATH > CPATH > PKG_CONFIG_PATH > LDFLAGS > PYTHON_ROOT > PYTHON_VERSION > PYTHONPATH > > On Jan 14, 2006, at 10:59 PM, Ryan Pape wrote: > > FWIW, to get SDCC to compile and link the USRP I had to set in the > > environment: > > > > SDCC_LIB=/opt/local/share/sdcc/lib/ > > SDCC_INCLUDE=/opt/local/share/sdcc/include/ > > _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio