如果只要抓某個目錄就是加上 "-L" 參數。
像
wget -r -L http://buildhost.openmoko.org/tmp/cross/將prebuild cross toolchain 抓下來。
還是有不一樣的地方 .. 每個folde會多一個 index.html。
username = <name>然後run
password = <password>
domain = <domain>
smbclient -L 10.1.1.5 -A winxp就可以正確 list 出 host 10.1.15 的share folder
smbclient \\\\10.1.1.5\Charles -A winxp注意,大小寫要完全符合喔。還有"\"要加escape character :"\"所以變成兩倍。
smb:\>以下就和 ftp 一樣,用get 拿file,用put 丟file,用"!" 執行local 的command。
smbclient \\\\10.1.1.5\\Charles -A winxp -c "put myfile"很方便喔 :)
在install smbfs (其實不需要) package時,會詢問要不要採用dhcp server傳來的WINS設定,
回答Yes的話,就可以直接用 server name,不必用ip address囉 (但是雙倍斜線還是要)
svn co https://site localREPORT request failed on '...' REPORT of '...': 400 Bad Request (http://...)
You're behind a firewall which blocks DAV requests. Most firewalls do that.
Either ask your Administrator to change the firewall, or access the repository with https:// instead of http:// like in https://svn.collab.net/repos/svn/
That way you connect to the repository with SSL encryption, which firewalls can't interfere with (if they don't block the SSL port completely).
PERFORMER "Strainsky, Chorus&Orch. of Opera Society of DC"其中
TITLE "Stravinsky--Oratorio - Melodrama, I"
FILE "CDImage1.wave" WAVE
TRACK 01 AUDIO
TITLE "OEDIPUS REX--Prologue - Act I"
PERFORMER "Strainsky, Chorus&Orch. of Opera Society of DC"
INDEX 01 00:00:00
FILE "CDImage1.wave" WAVE改為
FILE "CDImage1.ape" WAVE
就可以。quilt cmd可以用
quilt cmd -h來看可用的command有哪些。
./configure --help
---------------------- DirectFB v0.9.25 ---------------------但是build qemu時,不可以 --disable-sdl 。
(c) 2000-2002 convergence integrated media GmbH
(c) 2002-2004 convergence GmbH
-----------------------------------------------------------
(*) DirectFB/Core: Single Application Core. (2006-12-04 07:00)
(*) Direct/Memcpy: Using MMXEXT optimized memcpy()
(!) Direct/Util: opening '/dev/fb0' failed
--> No such device
(!) DirectFB/FBDev: Error opening framebuffer device!
(!) DirectFB/FBDev: Use 'fbdev' option or set FRAMEBUFFER environment variable.
(!) DirectFB/Core: Could not initialize 'system' core!
--> Initialization error!
Could not initialize SDL - exiting
#include <stdio.h>build :
#include "SDL.h"
main(int argc, char *argv[])
{
if(SDL_Init(SDL_INIT_AUDIO | SDL_INIT_VIDEO) < 0) {
fprintf(stderr,"Cannot Init SDL: %s\n",SDL_GetError());
exit(1);
}
atexit(SDL_Quit);
}
gcc `sdl-config --cflags` `sdl-config --libs` -osdlhello sdlhello.c試run..
ALSA lib confmisc.c:670:(snd_func_card_driver) cannot find card '0'嗯...這是??所以重新再來一次..disable ALSA..
ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device
ALSA lib confmisc.c:391:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_concat returned error: No such device
ALSA lib confmisc.c:1070:(snd_func_refer) error evaluating name
ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_refer returned error: No such device
ALSA lib conf.c:3968:(snd_config_expand) Evaluate error: No such device
ALSA lib pcm.c:2143:(snd_pcm_open_noupdate) Unknown PCM default
--disable-alsa --disable-video-directfb --disable-video-fbcon --with-x還是一樣。
Could not initialize SDL --exit查一下這個error message是 sdl.c 印出來的。所以print out一下 SDL_GetError( ).是
No available video device奇怪,sdlhello 都可以 SDL_Init( ) OK的。
Pdd Initialize
USB PostInit - Mass Storage Class
BOT_InternalInit
BOT_ReadConfigurationValue
GetEndpointDescriptor
BOT_ReadConfigurationValue
BOT_TransferThread
BOT_DeviceNotify
..
BOT_ResetPipeState
BOT_DeviceNotify
BOT_HandleRequest
BOT_DeviceNotify
..
git clone git://www.denx.de/git/u-boot.git但是在proxy就不能動作。
git clone http://www.denx.de/git/u-boot.git果然可以動(?),不過變得很慢,很慢。
update-alternatives --config git選 git-scm,才能正常checkout.
/usr/bin/kdm -config /var/run/kdm/kdmrc所以config檔是在 /var/run/kdm/kdmrc
Enable=false改成 true
Xaccess=/etc/kde3/kdm/Xaccess知道要修改Xaccess,讓所有host都能連線:
#* #any host can get a login window把一開頭的comment 符號"#"拿掉。
/etc/init.d/kdm restart接著在Windows上啟動Xming。
wget -r -l 1 http://svn.openmoko.org/trunk/src/target/u-boot/patches/全部拿下來。
C:\Program Files\Microsoft Visual Studio 8\VC\ce\Dll\armv4
(block,page) ==> (chip index, rel block, offset page)Kernel的話,其實就直接將page 轉成 chip index, offset page就可以了)。
(rel block, offset page) ==> (chip page)
(page) ==> (block, page)
(block, page) ==> (chip index, rel block, page)
./configure --with-wxWINDIR=../wxWidgets需要wxWidgets的config.in
apt-get source libwxgtk2.6-0download自己安裝的版本(可以用aptitude search wx來看自己裝的是那一版)
make -f makefile.unx原來,這就是標準的wxWidget make command :
g++ -c `wx-config --cxxflags` -o wxhatch.o wxhatch.cpp但是還是有error :
wxhatch.cpp: In member function 'wxString MyFrame::Do_wxw_Extract_All
(const wxString&, const wxString&, wxProgressDialog*)':wxhatch.cpp:10140
: error: cannot convert 'const wxChar*' to 'const char*' for argument '1'
to 'int chmod(const char*, __mode_t)'
make: *** [wxhatch.o] Error 1
g++ hworld.cpp `wx-config --libs` `wx-config --cxxflags` -o hworld