This morning while setting up a cross compilation environment for my new netbook I was greeted with this lovely error message:
# port install distcc
...
gcc-4.0: -E, -S, -save-temps and -M options are not allowed with multiple -arch flags
error: command 'gcc' failed with exit status 1
make: *** [include-server] Error 1
Error: Status 1 encountered during processing.
After some short searching I found this conversation on the distcc mailing list
...
This is a tricky one to solve. I think the right fix is to make gcc support
-M options even when multiple -arch flags are specified.
(gcc would need to produce several .d files and then merge them into a
single one.)
> I simply removed -MD from the CFLAGS in the Makefile.
Yes, that's what I did too. That seems like a fine work-around in the mean
time.
I would be happy to accept a patch to make distcc do this automatically (or
even just a patch to the INSTALL file to describe the work-around).
...
So it seems as if this bug is with GCC and not with The MacPorts Project nor distcc. At this point, I believe the best intermediate solution is to simply patch the Makefile as mentioned on the mailing list.
Here's a shell script I wrote that integrates patching along with installation while retaining manageability through macports:
#!/bin/sh
makefile=/opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/distcc/work/distcc-3.1/Makefile
if test -e $makefile; then # user has a half completed installation
break
else # user has not previously attempted installation
port configure distcc
fi
# if the makefile still does not exist there's a problem
if ! test -e $makefile; then echo "The makefile does not exist. Are you sure distcc isn't already installed?" && exit 1; fi
# patch makefile and install
echo "\e[1m---> Patching Makefile\e[0m"
sed -i.bak -e 's/\-MD\ \-W/\-W/g' $makefile && port install distcc
My very first laptop, the Asus EeePC 1000HE, arrived today but much to my dismay, was dead on arrival. The touchpad is completely unresponsive out of the box.
I connected a USB mouse and verified the touchpad hardware was recognized in device manager. I tried enabling/disabling the touchpad via the synaptec software and using the hotkeys on the keyboard but it still didn't work. I even copied the latest Gentoo Live cd to my flash drive and tested the laptop under X11 but it still wouldn't function. I saw the support hours on the bottom of the laptop were 24/7 and because I've never personally had a support contract before and also because it was 3am, I figured I'd give ASUS a quick call.
Unfortunately they lead me through the same patronizing steps I had already taken myself and told me I should just return the unit back to the retailer. What a bummer. I ultimately plan on doing this but I figured before I return it, I should at least clear my mind of any doubt and reseat the thin ribbon cable that runs from the back of the keyboard to the motherboard. (FIC cable?)
Unfortunately this didn't solve the problem but at least you guys get a sweet teardown guide ;D
One thing that I always hate about disassembling laptops is the varying screw sizes which makes re-assembly an absolute chore/nightmare unless you happen to be gifted with the memory of a savant. It's nice to see that Asus standardized the screws into three separate types which were reused throughout most of the assembly.
Step 4 we get down to business. Remove 8 of the larger screws.
Step 5. Remove 3 of the medium sized screws that are revealed underneath the battery bay.
Step 6. It starts to get a little more tricky. Insert a flat object like the head of a flat eyeglasses screwdriver or a toothpick and push down the tabs that secure the keyboard in place. Once you pop a tab you'll need to lift the keyboard so it doesn't accidentally re-seat itself. Keep consistent upwards pressure as you release the 3 remaining tabs.
Step 8. With the keyboard free of its plastic-tab bondage, you should now have clear access to the delicate ribbon cable below. I can't remember the name of the socket but it reminds me of a ZIF socket and functions similarly. The arrows on the sides of the sockets are the points where a small flathead screwdriver or toothpick can be wedged and gently pried. Take careful consideration here and make sure you give even treatment on either side of the socket as to not damage it. When the socket is fully open the cable will slide out with ease. Be careful not to damage the ribbon cable as you gently caress the ribbon cable to safety.
Step 9. Oh boy, 6 more long screws.
Step 9a. Located in the upper middle of the keyboard is the last remaining screw. If you want to keep your warranty intact (and I suggest you do, seeing as my sturdy unit was DOA (don't tell the ladies)) you can gently coerce the sticker not to rip. Fortunately it's not one of those foil stickers that tears easily. It's a plain 'ol garden variety vinyl sticker. Underneath you'll find a long screw. No pun intended.
Step 10. Apply the same technique you used on step 8 to gently remove this cable. Notice the indicated bright blue plastic tab that is meant to help your on your journey to cable emancipation. Be gentle with these guys they're very sensitive.
This cable is tainted in broken'ness on my netbook. It may look perfectly normal but that's exactly what it wants you to think!
Final thoughts: Modders will rejoice as there's quite a bit of room in the concave, under the motherboard which should allow ample room to install all sorts of retarded gadgets inside your 1000HE. One point of interest is a ribbon cable socket labeled "DEBUG" near the USB ports. I also noticed an unpopulated slot labeled "USIM" which may either have something to do with mobile telephony or human rights. You decide.
In the spirit of keeping up with my recent less than informative posts, check out this youtube clip demonstrating optimal usage of a straw, a Nintendo DSi and KORG DS-10 (a sweet tracker program for the DS)
I did some testing this morning with the GL2 and I'm really happy with the results. What a deal. Just a quick hand held shoot around Cal Arts at like 7am. I did a few tests but shot it mostly using a Merkury x2 wide angle lens and Tiffen UV filter in 24F mode. The vignette caused by the wide angle lens is bugging me, I think I can adjust the aperture to fix that but I'll figure that out later.
I'm going to avoid apologizing for lack of posts lately simply because I think you probably get the idea. Cal Arts is serious business.
I overheard a classmate saying you can either sleep or get your work done and frankly they are 100% correct in my eyes. Some of you super kids might be able to pull this off with ease but this school is kicking my ass and I'm happy for it. If I've learned anything thus far it's how to feel comfortable with one's limitations...
Every assignment I feel Icould do 10x better if you had just a few more hours (and a functional right hand!) but there simply aren't enough hours in the day or marbles in the sanity jar.
So I present to you a sampling of assignments I was proud of:
Also, THE DEAL OF THE CENTURY!!! I love Canon cameras. I just do. I also love craigslist. Together with $895 they created this:
If awesome things don't come of this then you need to nag me until they do.
I finally found some time to fix my camera. Unfortunately It required a donor but one brave little soul answered the call of duty from ebay and gave his life. Let us take a moment of silence while we stare at his guts.
Okay, now for the show. What follows is my 2008 accepted Cal Arts portfolio, all artwork was created in about 4 months from September to December 2007.
Amazing! I'm so excited I can't contain myself! It's finally reality...I know it's just the beginning but...
I MADE IT! I'M OFFICIALLY AT CAL ARTS! WHOO!!!
Enormous thank you to Mom and Dad and other important people who helped me tremendously to realize this goal. I love you guys, I really do! You think you have an idea of what this means to me but you really don't. I can't thank you enough. Sincerely.
I've already met some really cool people and looking forward to the year ahead and the new relationships that will be formed. I feel really receptive to friendship right now and the camaraderie is wonderful. Something about responding to a question about my major with, "oh, I'm in Character" and getting, The Look followed with a high five, feels incredibly
gratifying. Everyone just assumes you must be an amazing artist if you're in the program, which is silly but still nice for the ego.
Only the first day down but so far, lots of orientation type stuff and going over conduct type rules. It's very strange to be in a regimented school environment again after growing up home schooled. I kind of feel like I'm in elementary school all over again but in some ways, I really appreciate the schedule and structure. I can tell it's going to take some getting used to but of all places to complain about, Cal Arts is hardly a thorn in my side compared with any other school. The freedom of this small private school is probably reminiscent of Berkeley in the 60s and 70s. Can't even imagine what Cal Arts was like back then! So far I can really tell they understand what it's like to live and learn as an artist and their teaching style is something I'm incredibly receptive to. If you were to experience it, you may think it's unorthodox but silly me is eating it up plate after plate.
I feel like I've finally found my people. Although I've been called crazy MY ENTIRE LIFE BY EVERYONE I KNOW, I've always felt like I was never the crazy one; everyone else just needed a bigger dose of imagination, creativity and passion. Now I'm at Cal Arts, surrounded by people who are extremely passionate and motivated and I'm excited to collaborate and accept the challenge of the quick pace that will soon present itself. Awesome.
Tonight I went to a screening of the movie Secretary and afterwards there was a discussion with Amy Danger, the Production Designer for the movie. Stuff like this is a regular occurrence at Cal Arts and it's always fantastic to hear professional artists talk about their process. The connections with the industry here are amazing and the discussion tonight with Amy was no exception. Superb.
Time to organize my apartment and get some sleep for tomorrow's happenings. Bye internets.
I was thinking... the N280 and N270 are probably the same pinouts. Depending on how adventurous you're feeling, you could... read more
on Asus EeePC 1000HE Teardown Guide