Monthly Archives: October 2010

Error in compiling QEMU-XEN

The following errors occurs when I did “make tool”. For some reason, the file “cpu.h” in subdir + test -d git://xenbits.xensource.com/qemu-xen-4.0-testing.git+ ‘[‘ ‘!’ -d ioemu-remote ‘]’+ rm -f ioemu-dir+ ln -sf ioemu-remote ioemu-dir/home/myname/src/xen-4.0-testing.hg/tools/ioemu-dir/target-i386/kvm.c: In function `kvm_arch_init_vcpu’:/home/myname/src/xen-4.0-testing.hg/tools/ioemu-dir/target-i386/kvm.c:47:5: warning: implicit declaration of … Continue reading

Posted in Uncategorized | Leave a comment

Xen Installation & Compilation

Installation from source Xen 4.0 source code mercurial (hg) repository and changelog: http://xenbits.xen.org/xen–4.0-testing.hg You can get Xen 4.0 with mercurial using the following command: hg clone http://xenbits.xen.org/xen-4.0-testing.hg Note that this will give you the LATEST version in xen–4.0-testing.hg repository! It might be a release candidate for next … Continue reading

Posted in Uncategorized | Leave a comment

Xen compilation

When I was trying to compile Xen-4.0.1, I got these messages: make[1]: Entering directory `/xen-4.0-testing.hg/xen’make -f Rules.mk _installmake[2]: Entering directory `/xen-4.0-testing.hg/xen’make -C toolsmake[3]: Entering directory `/xen-4.0-testing.hg/xen/tools'[ -d figlet ] && make -C figletmake[4]: Entering directory `/xen-4.0-testing.hg/xen/tools/figlet’make[4]: `figlet’ is up to … Continue reading

Posted in Uncategorized | 3 Comments

USB plug-in rule for TI MSP-EXP43xx LaunchPad Kit

Content of file /etc/udev/rules.d/udev/46-TI_launchpad.rules: ATTRS{idVendor}==”0451″, ATTRS{idProduct}==”2036″, MODE=”0660″, GROUP=”plugdev”ATTRS{idVendor}==”0451″, ATTRS{idProduct}==”F432″, MODE=”0660″, GROUP=”plugdev”

Posted in Uncategorized | Leave a comment

Script to remove tailing "(00)" in filenames

#!/usr/bin/tclshforeach f [glob *.*] { if {[regexp -all -nocase {(.*)\.(.*)} $f dummy fullname ext] } { if { [regexp -all -nocase {(.*)\(00\)} $fullname dummy name ] } { set cmd “file rename -force \”$f\” \”$name.$ext\”” puts $cmd eval $cmd } … Continue reading

Posted in Uncategorized | 1 Comment

To find function declaration in static library

The following command finds a reference to function “gtk_widget_get_pango_context” in static library libwxOil.a: linux-bvhg:~/> nm -l -C libwxOil.a | grep gtk_widget_get_pango_context U gtk_widget_get_pango_context(_GtkWidget*) /home/myname/src/XaraLX/wxOil/ftfonts.cpp:868

Posted in Uncategorized | Leave a comment

GLIB and wxWidget Class conflict

When compiling XaraLX, there is a conflict between GLIB-2.0 and  wxWidget 2.8 as shown below: /usr/local/include/glib-2.0/gio/giotypes.h:127:47: error: conflicting declaration `typedef struct _GSocket GSocket’/usr/include/wx-2.8/wx/unix/gsockunx.h:41:1: error: `class GSocket’ has a previous declaration as `class GSocket’ The quick solution is to modify <XaraLX … Continue reading

Posted in Uncategorized | Leave a comment

Microsoft is officially all out to promote Windows 7 mobile

Check this out: http://create.msdn.com/en-US/home/about/how_it_works_createhttp://www.microsoft.com/downloads/en/details.aspx?FamilyID=04704acf-a63a-4f97-952c-8b51b34b00ce&displaylang=enhttps://microsoft.promo.eprize.com/windowsphone7/

Posted in Uncategorized | Leave a comment

Hello world!

Welcome to WordPress.com. This is your first post. Edit or delete it and start blogging!

Posted in Uncategorized | 1 Comment

To find dependency in Linux dynamic object file/library

linux-bvhg:~> objdump -x `which ffmpeg`/usr/local/bin/ffmpeg: file format elf64-x86-64/usr/local/bin/ffmpegarchitecture: i386:x86-64, flags 0x00000112:EXEC_P, HAS_SYMS, D_PAGEDstart address 0x0000000000405360Program Header:PHDR off 0x0000000000000040 vaddr 0x0000000000400040 paddr 0x0000000000400040 align 2**3filesz 0x00000000000001f8 memsz 0x00000000000001f8 flags r-xINTERP off 0x0000000000000238 vaddr 0x0000000000400238 paddr 0x0000000000400238 align 2**0filesz 0x000000000000001c memsz 0x000000000000001c … Continue reading

Posted in Uncategorized | Leave a comment