* [Buildroot] [Fwd: Re: I apologize for asking...] @ 2009-02-24 11:04 Xavian-Anderson Macpherson 2009-02-24 13:16 ` Andrew Wiley 2009-02-25 9:06 ` Xavian-Anderson Macpherson 0 siblings, 2 replies; 4+ messages in thread From: Xavian-Anderson Macpherson @ 2009-02-24 11:04 UTC (permalink / raw) To: buildroot An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20090224/be4af0ad/attachment-0001.htm> -------------- next part -------------- A non-text attachment was scrubbed... Name: ShinsMail.png Type: image/png Size: 7620 bytes Desc: not available URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20090224/be4af0ad/attachment-0001.png> -------------- next part -------------- An embedded message was scrubbed... From: Andrew Wiley <debio264@gmail.com> Subject: Re: [Buildroot] I apologize for asking... Date: Mon, 23 Feb 2009 19:58:26 -0600 Size: 4157 URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20090224/be4af0ad/attachment-0001.eml> ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [Fwd: Re: I apologize for asking...] 2009-02-24 11:04 [Buildroot] [Fwd: Re: I apologize for asking...] Xavian-Anderson Macpherson @ 2009-02-24 13:16 ` Andrew Wiley 2009-02-25 9:06 ` Xavian-Anderson Macpherson 1 sibling, 0 replies; 4+ messages in thread From: Andrew Wiley @ 2009-02-24 13:16 UTC (permalink / raw) To: buildroot On Tue, Feb 24, 2009 at 5:04 AM, Xavian-Anderson Macpherson < Shingoshi@comcast.net> wrote: > Andrew, > Thanks for writing back. The reason why I didn't try just running "unset > CFLAGS" is twofold. 1. When I ran "which unset" nothing came come up. That > being the case, I didn't think it would work. 2. I was really afraid it > might screw up my system, if it wasn't meant to be run on my system. I was > thinking this should only apply to the buildroot system. So, now I will try > it. > `unset` isn't a real command, it's built in to your shell. Somehow this environment variable is getting set, and buildroot wants it cleared. I don't know if buildroot starts its own shell or what, but this is getting set somehow somewhere. Because unsetting the variable only affects the shell you're currently in, it can't screw up your system. If you unset it in one shell, then launch another, the setting will be back in the new shell. > > > Ok. I just ran the command in a shell. Nothing changes. I have the same > result as before. I will try moving this into a chroot I've built, and see > if I get a different result. > > I have tested this in a chroot, and I still get the same result. Took a > long to complete building the dependencies for the chroot. But once it was > done, nothing changes. > I'm guessing that somewhere in a folder (generally /etc/profile.d), your distribution has a bunch of scripts that are run to set up environment variables. You may need to go through these scripts and comment out CFLAGS, but hopefully someone from the Buildroot devs has a better suggestion. I may be missing something, but I'm pretty sure that when you run `unset` and it has no effect, it means Buildroot is starting a new shell somewhere, which is somehow getting that variable back. Andrew Wiley -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20090224/aaaf66bf/attachment.htm> ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [Fwd: Re: I apologize for asking...] 2009-02-24 11:04 [Buildroot] [Fwd: Re: I apologize for asking...] Xavian-Anderson Macpherson 2009-02-24 13:16 ` Andrew Wiley @ 2009-02-25 9:06 ` Xavian-Anderson Macpherson 2009-02-25 14:38 ` Eric Malkowski 1 sibling, 1 reply; 4+ messages in thread From: Xavian-Anderson Macpherson @ 2009-02-25 9:06 UTC (permalink / raw) To: buildroot An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20090225/832f8b59/attachment.htm> ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [Fwd: Re: I apologize for asking...] 2009-02-25 9:06 ` Xavian-Anderson Macpherson @ 2009-02-25 14:38 ` Eric Malkowski 0 siblings, 0 replies; 4+ messages in thread From: Eric Malkowski @ 2009-02-25 14:38 UTC (permalink / raw) To: buildroot I created your problem and fixed it using the method described earlier. A transcript follows... Are you using bash for your shell? emalkowski at eric-lnx:/local/emalkowski/buildroot$ export CFLAGS=blah emalkowski at eric-lnx:/local/emalkowski/buildroot$ make Checking build system dependencies: BUILDROOT_DL_DIR clean: Ok CC clean: Ok CXX clean: Ok CPP clean: Ok CFLAGS clean: FALSE You must run 'unset CFLAGS' so buildroot can run with a clean environment on your build machine make: *** [dependencies] Error 1 emalkowski at eric-lnx:/local/emalkowski/buildroot$ env | grep CFLAGS CFLAGS=blah emalkowski at eric-lnx:/local/emalkowski/buildroot$ unset CFLAGS emalkowski at eric-lnx:/local/emalkowski/buildroot$ env | grep CFL emalkowski at eric-lnx:/local/emalkowski/buildroot$ make Checking build system dependencies: BUILDROOT_DL_DIR clean: Ok CC clean: Ok CXX clean: Ok CPP clean: Ok CFLAGS clean: Ok INCLUDES clean: Ok CXXFLAGS clean: Ok which installed: Ok sed works: Ok (/bin/sed) GNU make version '3.81': Ok C compiler '/usr/bin/gcc' C compiler version '4.1.1': Ok C++ compiler '/usr/bin/g++' C++ compiler version '4.1.1': Ok awk installed: Ok bash installed: Ok bison installed: Ok flex installed: Ok gettext installed: Ok makeinfo installed: Ok Build system dependencies: Ok rm -rf /local/emalkowski/buildroot/project_build_i586/vehicle_manager/buildro ot-config mkdir -p /local/emalkowski/buildroot/project_build_i586/vehicle_manager cp -dpRf package/config/buildroot-config /local/emalkowski/buildroot/project_ build_i586/vehicle_manager/buildroot-config << snip >> Xavian-Anderson Macpherson wrote: > Would some one please just make a utility to "unset CFLAGS", so that I > can get this to work. Maybe provide a setting from within buildroot > itself to set this properly. Nothing I do can get this to work. > > Xavian-Anderson Macpherson > Shingoshi > ------------------------------------------------------------------------ > > _______________________________________________ > buildroot mailing list > buildroot at busybox.net > http://lists.busybox.net/mailman/listinfo/buildroot ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-02-25 14:38 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2009-02-24 11:04 [Buildroot] [Fwd: Re: I apologize for asking...] Xavian-Anderson Macpherson 2009-02-24 13:16 ` Andrew Wiley 2009-02-25 9:06 ` Xavian-Anderson Macpherson 2009-02-25 14:38 ` Eric Malkowski
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox