Victor Yuan
获得 0 次赞
帮助过0人
total 252 -rw-r--r-- 1 root root 21147 May 11 2013 ascii hex(8x16).h -rw-r--r-- 1 root root 22198 May 11 2013 bcm2835.c -rw-r--r-- 1 root root 42263 May 11 2013 bcm2835.h -rw-r--r-- 1 root root 1329 May 11 2013 GB2312.h -rw-r--r-- 1 root root 254 Jul 7 04:15 lcd -rw-r--r-- 1 root root 254 Apr 28 05:19 lcd.bak -rw-r--r-- 1 root root 6874 May 11 2013 lcdinit.c -rw-r--r-- 1 root root 35700 May 11 2013 lcdpi.c -rw-r--r-- 1 root root 140 May 11 2013 Makefile -rwxr-xr-x 1 root root 38912 Jul 7 04:12 mztx06a -rw-r--r-- 1 root root 35504 May 1 11:21 mztx06a.c -rw-r--r-- 1 root root 16480 May 11 2013 qqp_arm.h -rw-r--r-- 1 root root 2311 May 11 2013 wii.py
root@raspberrypi:/etc/init.d# sudo update-rc.d lcd defaults update-rc.d: using dependency based boot sequencing insserv: script lcd is not an executable regular file, skipped!
login as: pi pi@192.168.0.103's password: Linux raspberrypi 3.12.22+ #691 PREEMPT Wed Jun 18 18:29:58 BST 2014 armv6l The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Mon Jul 7 04:06:39 2014 from 192.168.0.100 pi@raspberrypi ~ $ cd mztx661a-pi-ext/ pi@raspberrypi ~/mztx661a-pi-ext $ cd src pi@raspberrypi ~/mztx661a-pi-ext/src $ make gcc -o mztx06a -l rt mztx06a.c bcm2835.c /usr/bin/ld: cannot open output file mztx06a: Permission denied collect2: ld returned 1 exit status make: *** [all] Error 1 pi@raspberrypi ~/mztx661a-pi-ext/src $ ls ascii hex(8x16).h bcm2835.h lcd lcdinit.c Makefile qqp_arm.h bcm2835.c GB2312.h lcd.bak lcdpi.c mztx06a.c wii.py pi@raspberrypi ~/mztx661a-pi-ext/src $ ld returned 1 exit status ld: cannot open output file a.out: Permission denied pi@raspberrypi ~/mztx661a-pi-ext/src $ make -lpthread gcc -o mztx06a -l rt mztx06a.c bcm2835.c /usr/bin/ld: cannot open output file mztx06a: Permission denied collect2: ld returned 1 exit status make: *** [all] Error 1 pi@raspberrypi ~/mztx661a-pi-ext/src $ sudo make gcc -o mztx06a -l rt mztx06a.c bcm2835.c