wael Amr writes: > Hi, > what do you mean by "-C /path/to/src/linux O=/path/to/build/linux" ?
'make -C /foo' is similar to '(cd /foo ; make)'. See 'make -C /path/to/src/linux help' for a description of the 'O' variable. Lluis > As i typed the command " make CC=gcc-4.4",but i got this error message: > scripts/checksyscalls.sh: line 13: cannot create temp file for here-document: > No > space left on device > HOSTCC scripts/mod/file2alias.o > scripts/mod/file2alias.c:847:1: fatal error: error writing to /tmp/ccbKzAKC.s: > No space left on device > compilation terminated. > make[2]: *** [scripts/mod/file2alias.o] Error 1 > make[1]: *** [scripts/mod] Error 2 > make: *** [scripts] Error 2 > So please support. > Thank you in advance for your cooperation and time. > Best Regards > Wael AMR > On Sun, Jul 8, 2012 at 11:51 AM, Lluís Vilanova <vilan...@ac.upc.edu> wrote: > wael Amr writes: >> Hi, >> I solved the problem in the last email but i got another error when i > tried the >> command "make" for the Linux kernel 2.6.28.4 as shown: >> /home/wael/Mac/Gem5/linux-2.6.28.4/kernel/mutex.c:93: undefined reference > to >> `__mutex_lock_slowpath' >> kernel/built-in.o: In function `mutex_unlock': >> /home/wael/Mac/Gem5/linux-2.6.28.4/kernel/mutex.c:118: undefined reference > to >> `__mutex_unlock_slowpath' >> make: *** [.tmp_vmlinux1] Error 1 >> So please support for this blocking problem. >> Any help will be really highly appreciated. > AFAIR, you need an older gcc version. Version 4.4 works fine for me: > make -C /path/to/src/linux O=/path/to/build/linux CC=gcc-4.4 > Still, it would be nice if someone with the knowledge and time fixed this: > http://comments.gmane.org/gmane.comp.emulators.m5.users/8196 > Lluis > -- > "And it's much the same thing with knowledge, for whenever you learn > something new, the whole world becomes that much richer." > -- The Princess of Pure Reason, as told by Norton Juster in The Phantom > Tollbooth > _______________________________________________ > gem5-users mailing list > gem5-users@gem5.org > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users > _______________________________________________ > gem5-users mailing list > gem5-users@gem5.org > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users -- "And it's much the same thing with knowledge, for whenever you learn something new, the whole world becomes that much richer." -- The Princess of Pure Reason, as told by Norton Juster in The Phantom Tollbooth _______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users