2010年6月26日 星期六

什麼時候台灣也能這樣?

G20, Toronto, Canada
警方與示威者都是騎腳踏車為主呢...什麼時候台灣也能這樣呢?

ㄟ..我是指 腳踏車.....

53s, 警方舉起腳踏車前輪作為緩衝區

G-20 protestors hit Toronto streets
http://cnn.com/video/?/video/world/2010/06/26/meserve.g20.protests.cnn


Police car burns as protesters watch
http://cnn.com/video/?/video/world/2010/06/26/vo.g20.police.car.fire.cnn

每位程式設計師都必須知道的「麻煩事件處理原則」


http://blog.xuite.net/osaki99/blog/32037908
看起來我現在正陷在無窮迴圈中..... -_-""

2010年6月21日 星期一

buildroot-2010.05

Building gmp-4.2.4

configure:32896: checking for flex
configure:32912: found /path_to_my_toolchain/usr/bin/flex
configure:32922: result: flex
configure:32935: checking for yywrap in -lfl
configure:32965: /path_to_my_toolchain/usr/bin/arm-unknown-linux-uclibcgnueabi-gcc -O3 -pipe -Os -mtune=arm1136jf-s -march=armv6j -mabi=aapcs-linux -mfpu=vfp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/path_to_my_toolchain/usr/include -I/path_to_my_toolchain/include --sysroot=/path_to_my_toolchain/ -isysroot /path_to_my_toolchain -o conftest -O3 -fomit-frame-pointer conftest.c -lfl >&5
configure:32971: $? = 0
configure:32975: test -z
|| test ! -s conftest.err
configure:32978: $? = 0
configure:32981: test -s conftest
configure:32984: $? = 0
configure:32997: result: yes
configure:33075: checking lex output file root
configure:33086: flex conftest.l
/home/prj/vega_trunk/other/buildroot-2010.05/buildroot-2010.05/output/toolchain/gmp-4.2.4/configure: line 33087: /path_to_my_toolchain/usr/bin/flex: cannot execute binary file
It seems configure have found the flex for target, which is wrong. Making buildroot with following command would relieve the situation.
LEX=/usr/bin/flex make


samba runtime issue
Build and boot the bootpImage with the prebuilt rootfs.tar. smbd -D and nmbd -D exhausted memory, and crashed with segmentation fault or oom
[ 8.510000] Freeing init memory: 156K
[ 415.820000] pgd = cf8a8000
[ 415.830000] [be545ff0] *pgd=0a175031, *pte=00000000, *ppte=00000000
[ 415.850000]
[ 415.850000] Pid: 376, comm: smbd
[ 415.860000] CPU: 0 Not tainted (2.6.31.1-cavm1 #104)
[ 415.870000] PC is at 0x400017c0
[ 415.880000] LR is at 0x400029b8
[ 415.890000] pc : [<400017c0>] lr : [<400029b8>] psr: 60000010
[ 415.890000] sp : be545fd8 ip : be546120 fp : be54611c
[ 415.900000] r10: 0a57d960 r9 : 40003f99 r8 : 0000b7dc
[ 415.910000] r7 : 00000001 r6 : 40003f97 r5 : be546934 r4 : be54611f
[ 415.920000] r3 : 00000000 r2 : be546120 r1 : be5469c4 r0 : 00000000
[ 415.930000] Flags: nZCv IRQs on FIQs on Mode USER_32 ISA ARM Segment user
[ 415.940000] Control: 00c5787d Table: 0f8a800a DAC: 00000015
[ 821.240000] pgd = cd790000
[ 821.250000] [be4b7fc0] *pgd=0ccba031, *pte=00000000, *ppte=00000000
[ 821.260000]
[ 821.270000] Pid: 377, comm: nmbd
[ 821.280000] CPU: 0 Not tainted (2.6.31.1-cavm1 #104)
[ 821.290000] PC is at 0x400017c0
[ 821.300000] LR is at 0x400029b8
[ 821.310000] pc : [<400017c0>] lr : [<400029b8>] psr: 60000010
[ 821.310000] sp : be4b7fa8 ip : be4b80f0 fp : be4b80ec
[ 821.320000] r10: 0a227918 r9 : 40003f99 r8 : 0000b7dc
[ 821.330000] r7 : 00000001 r6 : 40003f97 r5 : be4b8904 r4 : be4b80ef
[ 821.340000] r3 : 00000000 r2 : be4b80f0 r1 : be4b8994 r0 : 00000000
[ 821.350000] Flags: nZCv IRQs on FIQs on Mode USER_32 ISA ARM Segment user
[ 821.360000] Control: 00c5787d Table: 0d79000a DAC: 00000015

Welcome to Buildroot
buildroot login:
Running "smbd -D& watch -n 1 free;" can observe that the free memory keep reducing and fault until free memory become 0. nmbd behave the same. The time to fault depends on how many free memory you have.

"strace smbd -D" sees repeating following message:
open("/usr/lib/charset/CP850.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/CP850.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/CP850.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/CP850.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/CP850.so", O_RDONLY) = -1 ENOENT (No such file or directory)
gettimeofday({1082, 728256}, NULL) = 0
open("/etc/TZ", O_RDONLY) = 3
read(3, "MST7MDT\n"..., 68) = 8
close(3) = 0
gettimeofday({1082, 728942}, NULL) = 0
open("/etc/TZ", O_RDONLY) = 3
read(3, "MST7MDT\n"..., 68) = 8
close(3) = 0
open("/etc/TZ", O_RDONLY) = 3
read(3, "MST7MDT\n"..., 68) = 8
close(3) = 0
open("/etc/TZ", O_RDONLY) = 3
read(3, "MST7MDT\n"..., 68) = 8
close(3) = 0
geteuid32() = 0
write(5, "[1969/12/31 17:18:02, 0] lib/cha"..., 56) = 56
geteuid32() = 0
write(5, " init_iconv: Conversion from UTF"..., 59) = 59
gettimeofday({1082, 731490}, NULL) = 0
open("/etc/TZ", O_RDONLY) = 3
read(3, "MST7MDT\n"..., 68) = 8
close(3) = 0
gettimeofday({1082, 732175}, NULL) = 0
open("/etc/TZ", O_RDONLY) = 3
read(3, "MST7MDT\n"..., 68) = 8
close(3) = 0
open("/etc/TZ", O_RDONLY) = 3
read(3, "MST7MDT\n"..., 68) = 8
close(3) = 0
open("/etc/TZ", O_RDONLY) = 3
read(3, "MST7MDT\n"..., 68) = 8
close(3) = 0
geteuid32() = 0
write(5, "[1969/12/31 17:18:02, 0] lib/cha"..., 56) = 56
geteuid32() = 0
write(5, " init_iconv: Attempting to repla"..., 72) = 72
Copying the CP850.so to /usr/lib would relieve the situation.

"smbd -i -S" shows message repeating:
init_iconv: Conversion from CP850 to UTF-8 not supported
init_iconv: Attempting to replace with conversion from ASCII to ASCII
init_iconv: Conversion from CP850 to ASCII not supported
init_iconv: Attempting to replace with conversion from ASCII to ASCII
init_iconv: Conversion from CP850 to UTF8 not supported
init_iconv: Attempting to replace with conversion from ASCII to ASCII
init_iconv: Conversion from CP850 to UTF-16BE not supported
init_iconv: Attempting to replace with conversion from ASCII to UTF-16BE
init_iconv: Conversion from UTF8 to CP850 not supported

Solution
On buildroot-2010.05, BR2_ENABLE_LOCALE(i18n) prevent BR2_PACKAGE_LIBICONV from being selected. As a result, libiconv is not included, so samba have to use itself's iconv, which would need CP850.so to be present. But CP850.so isn't installed by buildroot (deleted). For some reason, it would consume all the memory and fault until there is no more.
Either add libiconv, or add CP850.so should relieve this situation.


Build roofs with code sourcery arm-2009q1
CC libxt_connlimit.oo
In file included from libxt_CLASSIFY.c:11:
/opt/staging/usr/include/linux/pkt_sched.h:516: error: expected specifier-qualifier-list before 'u32'
make[3]: *** [libxt_CLASSIFY.oo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/buildroot-2010.05/buildroot-2010.05/output/build/iptables-1.4.7/extensions'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/buildroot-2010.05/buildroot-2010.05/output/build/iptables-1.4.7'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/buildroot-2010.05/buildroot-2010.05/output/build/iptables-1.4.7'
make: *** [/buildroot-2010.05/buildroot-2010.05/output/build/iptables-1.4.7/.stamp_built] Error 2
make: Leaving directory `/buildroot-2010.05/buildroot-2010.05'
Command exited with non-zero status 2


Edit the /opt/staging/usr/include/linux/pkt_sched.h with following change:
diff -Naur pkt_sched.h orig
--- pkt_sched.h 2010-07-02 20:33:01.240976559 +0800
+++ orig 2010-07-02 20:32:57.472976778 +0800
@@ -513,7 +513,7 @@

struct tc_drr_stats
{
- __u32 deficit;
+ u32 deficit;
};

#endif

and make again...


Add oprofile got error like following:
checking for bfd_openr in -lbfd... no
configure: error: bfd library not found
make: *** [/buildroot-2010.05/output/build/oprofile-0.9.4/.stamp_configured] Error 1

config.log shows:
configure:22369: checking for bfd_openr in -lbfd
configure:22404: /opt/arm-linux-le-uclibc-gcc-4.3.3-2010.05/usr/bin/arm-unknown-linux-uclibcgnueabi-gcc -O3 -pipe -Os -mtune=arm1136jf-s -march=armv6j -mabi=aapcs-linux -mfpu=vfp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/arm-linux-le-uclibc-gcc-4.3.3-2010.05/usr/include -I/opt/arm-linux-le-uclibc-gcc-4.3.3-2010.05/include --sysroot=/opt/arm-linux-le-uclibc-gcc-4.3.3-2010.05/ -isysroot /opt/arm-linux-le-uclibc-gcc-4.3.3-2010.05 -o conftest -O3 -pipe -Os -mtune=arm1136jf-s -march=armv6j -mabi=aapcs-linux -mfpu=vfp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/arm-linux-le-uclibc-gcc-4.3.3-2010.05/usr/include -I/opt/arm-linux-le-uclibc-gcc-4.3.3-2010.05/include --sysroot=/opt/arm-linux-le-uclibc-gcc-4.3.3-2010.05/ -isysroot /opt/arm-linux-le-uclibc-gcc-4.3.3-2010.05 -I/buildroot-2010.05/output/build/binutils-2.20.1-target/bfd -I/buildroot-2010.05/output/toolchain/binutils-2.20.1/include -L/opt/arm-linux-le-uclibc-gcc-4.3.3-2010.05/lib -L/opt/arm-linux-le-uclibc-gcc-4.3.3-2010.05/usr/lib --sysroot=/opt/arm-linux-le-uclibc-gcc-4.3.3-2010.05/ -L/buildroot-2010.05/output/build/binutils-2.20.1-target/bfd conftest.c -lbfd -liberty -lpopt -ldl >&5
/opt/arm-linux-le-uclibc-gcc-4.3.3-2010.05/usr/bin/../lib/gcc/arm-unknown-linux-uclibcgnueabi/4.3.3/../../../../arm-unknown-linux-uclibcgnueabi/bin/ld: skipping incompatible /opt/arm-linux-le-uclibc-gcc-4.3.3-2010.05/usr/lib/libiberty.a when searching for -liberty
/buildroot-2010.05/output/build/binutils-2.20.1-target/bfd/libbfd.a(compress.o): In function `bfd_uncompress_section_contents':
/buildroot-2010.05/output/toolchain/binutils-2.20.1/bfd/compress.c:96: undefined reference to `inflateInit_'
/buildroot-2010.05/output/toolchain/binutils-2.20.1/bfd/compress.c:103: undefined reference to `inflate'
/buildroot-2010.05/output/toolchain/binutils-2.20.1/bfd/compress.c:106: undefined reference to `inflateReset'
/buildroot-2010.05/output/toolchain/binutils-2.20.1/bfd/compress.c:108: undefined reference to `inflateEnd'
collect2: ld returned 1 exit status

Fixed by:
--- package/oprofile/oprofile.mk.old 2010-07-20 14:54:04.490219166 +0800
+++ package/oprofile/oprofile.mk 2010-07-20 14:54:10.635230378 +0800
@@ -8,7 +8,7 @@
--with-extra-includes="$(BUILD_DIR)/binutils-$(BR2_BINUTILS_VERSION)-target/bfd \
-I$(TOOLCHAIN_DIR)/binutils-$(BR2_BINUTILS_VERSION)/include" \
--with-extra-libs=$(BUILD_DIR)/binutils-$(BR2_BINUTILS_VERSION)-target/bfd \
- --with-kernel-support
+ --with-kernel-support LIBS=-lz

OPROFILE_BINARIES := utils/ophelp
OPROFILE_BINARIES += pp/opannotate pp/oparchive pp/opgprof pp/opreport opjitconv/opjitconv



build oprofile with buildroot, but using external toolchain (CodeSourcery arm2009q1)
--2010-07-20 16:07:11-- http://buildroot.net/downloads/sources//binutils-.tar.bz2
Resolving buildroot.net... 140.211.167.224
Connecting to buildroot.net|140.211.167.224|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://sources.buildroot.net//binutils-.tar.bz2 [following]
--2010-07-20 16:07:12-- http://sources.buildroot.net//binutils-.tar.bz2
Resolving sources.buildroot.net... 88.198.64.109
Connecting to sources.buildroot.net|88.198.64.109|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2010-07-20 16:07:12 ERROR 404: Not Found.

Fix
--- toolchain/external-toolchain/Config.in.old 2010-07-20 16:30:51.345366895 +0800
+++ toolchain/external-toolchain/Config.in 2010-07-20 16:30:14.953219224 +0800
@@ -19,4 +19,6 @@
prompt "Strip shared libraries"
help
Strip shared libraries copied from the external toolchain.
+
+source "toolchain/binutils/Config.in"
endif



build oprofile with buildroot, but using external toolchain (CodeSourcery arm2009q1)
checking libiberty.h usability... yes
checking libiberty.h presence... yes
checking for libiberty.h... yes
checking for cplus_demangle in -liberty... no
configure: error: liberty library not found
make: *** [/home/prj/vega_trunk/other/buildroot-2010.05/buildroot-2010.05/output/build/oprofile-0.9.4/.stamp_configured] Error 1

ld -liberty library
http://ubuntuforums.org/showthread.php?t=390903
It looks like you need the "iberty" library: http://gcc.gnu.org/onlinedocs/libiberty/

Install binutils-dev. It provides /usr/lib/libiberty.a

Fix
--- package/oprofile/oprofile.mk.old 2010-07-20 16:48:25.753219513 +0800
+++ package/oprofile/oprofile.mk 2010-07-20 16:54:17.765301012 +0800
@@ -6,8 +6,8 @@
OPROFILE_VERSION := 0.9.4
OPROFILE_CONF_OPT := --localstatedir=/var \
--with-extra-includes="$(BUILD_DIR)/binutils-$(BR2_BINUTILS_VERSION)-target/bfd \
- -I$(TOOLCHAIN_DIR)/binutils-$(BR2_BINUTILS_VERSION)/include" \
- --with-extra-libs=$(BUILD_DIR)/binutils-$(BR2_BINUTILS_VERSION)-target/bfd \
+ -I$(TOOLCHAIN_DIR)/binutils-$(BR2_BINUTILS_VERSION)/include -I$(BUILD_DIR)/binutils-$(BR2_BINUTILS_VERSION)-target/libiberty" \
+ --with-extra-libs="$(BUILD_DIR)/binutils-$(BR2_BINUTILS_VERSION)-target/bfd -L$(BUILD_DIR)/binutils-$(BR2_BINUTILS_VERSION)-target/libiberty" \
--with-kernel-support LIBS=-lz

OPROFILE_BINARIES := utils/ophelp

2010年6月18日 星期五

Ubuntu 10.04

tw.archive.ubuntu.com apt-get掛站處理方法

apt-get update
apt-get install git-core git-svn subversion gitk gettext texinfo virtualbox-ose samba vim bison flex g++ python-xcbgen libncurses5-dev

apt-get install htop vim tree samba openssh-server libncurses5 libncurses5-dev autoconf flex bison m4 virtualbox-ose virtualbox-guest-additions bison cpp flex g++ gcc gettext cvs texinfo patch patchutils libncurses5-dev uboot-mkimage python-xcbgen automake texlive git-core gitk subversion ctags gcin

Use bash instead of dash

/etc/fstab
/etc/samba/smb.conf
ssh-keygen
git config


System - Preferences - IBus Preferences
IBus deamon not started. Do you want to start it now? Yes
Input Method - [Chinese - bopomofo(m17n)] - Add - Close

apt-get install ibus-chewing

2010年6月17日 星期四

Kernel related (?) user space crash at ARM11 MPCore

On ARM platforms with write-allocate caches, I-cache may be populated with garbage after copy-on-write page duplication
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/426280

Re: Kernel related (?) user space crash at ARM11 MPCore
http://article.gmane.org/gmane.linux.ports.arm.kernel/64861

http://article.gmane.org/gmane.linux.ports.arm.kernel/64449
(kernel patch)


Kernel related (?) user space crash at ARM11 MPCore
http://www.spinics.net/lists/arm-kernel/msg72059.html

2010年6月14日 星期一

bash 版本的差異

某大生出來的Debian RAMDISK...
GNU bash, version 3.1.17(1)-release (i486-pc-linux-gnu)

cp -dpfr A/ B/not_exist_dir/
cp: target `B/not_exist_dir/' is not a directory: No such file or directory

cp -dpfr A/ B/not_exist_dir
(OK)

My Ubuntu 8.04
GNU bash, version 3.2.39(1)-release (i486-pc-linux-gnu)

(Both are ok)


if [ -x "/buildroot-2010.05/output/target/usr/bin/speaker-test" ]; then \
mkdir -p /buildroot-2010.05/output/target/usr/share/alsa/speaker-test; \
mkdir -p /buildroot-2010.05/output/target/usr/share/sounds/alsa; \
cp -rdpf /opt/cnstools/arm-linux-le-uclibc-gcc-4.3.3-2010.05/usr/share/alsa/speaker-test/* /buildroot-2010.05/output/target/usr/share/alsa/speaker-test/; \
cp -rdpf /opt/cnstools/arm-linux-le-uclibc-gcc-4.3.3-2010.05/usr/share/sounds/alsa/* /buildroot-2010.05/output/target/usr/share/sounds/alsa/; \
fi
if [ -x "/buildroot-2010.05/output/target/usr/sbin/alsactl" ]; then \
mkdir -p /buildroot-2010.05/output/target/usr/share/; \
rm -rf /buildroot-2010.05/output/target/usr/share/alsa/; \
cp -rdpf /opt/cnstools/arm-linux-le-uclibc-gcc-4.3.3-2010.05/usr/share/alsa/ /buildroot-2010.05/output/target/usr/share/alsa/; \
fi
cp: target `/buildroot-2010.05/output/target/usr/share/alsa/' is not a directory: No such file or directory
make: *** [/buildroot-2010.05/output/target/usr/sbin/alsactl] Error 1

2010年6月13日 星期日

MagicJack info

How to uninstall Magic Jack from your PC
http://www.ooine.com/index.php/2008/3/15/How-to-uninstall-Magic-Jack

MagicJack Runs Natively on Linux
http://www.magicjacksupport.com/magicjack-runs-natively-on-linux-t8566.html

magicJack Free Conference Calling : Never Pay for a Conference Call Again
http://www.freemagicconference.com/

絕對不能原諒自己

絕對不能原諒自己
http://blog.bs2.to/post/EdwardLee/20568

其一是是否把這個病人看成了自己最親愛的人,若是,就會千方百計地想辦法,就會通過千方百計地想辦法,找出切實可行的辦法來。

其二是是不是把所謂的國際、國內水平看作了不可踰越的鴻溝,若是,就會把自己束縛住,若不是,就會使我們進發出無限的創造力,充分利用我們的知識治療此病。

其三是是否敢於向自己的微小過失開戰,若是,就會使我們認真地檢查自己的甚至是微小的過失,使我們在總結個人的成功與失敗中,找出出路,找出辦法,並創造出新的成果來。

總之,我們要想發明,要想創造,我們絕對不可原諒自己,絕對不可以以別人是如此為藉口原諒自己。


這是一種工作態度

2010年6月12日 星期六

buildroot errors

[Buildroot] Bug while autoreconfiguring tslib
http://lists.busybox.net/pipermail/buildroot/2009-March/026737.html

[Buildroot] svn commit: [25827] trunk/buildroot/package/automake
http://lists.busybox.net/pipermail/buildroot/2009-March/026736.html


runtime error

getaddrinfo Segmentation fault while pppoe interface up
http://lists.uclibc.org/pipermail/uclibc/2009-April/042366.html

[Buildroot] ping/wget/ftpget 'Segmentation fault' while PPPoE interface up
http://lists.busybox.net/pipermail/buildroot/2009-April/027162.html
(the patch)
http://lists.busybox.net/pipermail/buildroot/attachments/20090424/4a988d52/attachment-0001.obj

[Buildroot] Issue for the integration of Codesourcery external toolchains
http://lists.busybox.net/pipermail/buildroot/2010-January/031427.html

2010年6月9日 星期三

glibc toolchain

Build from scratch
ARM cross-compiling howto
http://www.ailis.de/~k/archives/19-ARM-cross-compiling-howto.html

cross compiler mini howto
http://linux.bytesex.org/cross-compiler.html

Building a cross-compiler
http://www.nongnu.org/thug/cross.html

The GNU C Library: Appendix C Installing the GNU C Library
http://www.gnu.org/s/libc/manual/html_node/Installation.html#Installation

cross compile glibc, busybox and bridge-utils
http://heaven.branda.to/~thinker/GinGin_CGI.py/show_id_doc/30
glibc-2.3.3

[Share] compile cross-compiler howto
http://moto.debian.org.tw/viewtopic.php?p=49621
gcc-3.4.3/glibc-2.3.4


crosstool


[[projects:crosstool]]
http://ymorin.is-a-geek.org/projects/crosstool

Crosstool-NG 1.7.0, Free Electrons contributed basic Blackfin support
http://free-electrons.com/blog/crosstool-ng170/

crosstool-howto
http://www.kegel.com/crosstool/current/doc/crosstool-howto.html

Building and Testing gcc/glibc cross toolchains
http://www.kegel.com/crosstool/

Crosstool build results
http://www.kegel.com/crosstool/crosstool-0.43/buildlogs/

用crosstool-ng建立arm-linux交叉工具链
http://hi.baidu.com/caicry/blog/item/f306db639c4281680c33fa1b.html

Easy to build toolchain, cross-ng
http://cslics.blogspot.com/2007/11/easy-to-build-toolchain-cross-ng.html


CodeSourcery
Sourcery G++ Lite Edition
http://www.codesourcery.com/sgpp/lite_edition.html

GNU Toolchain for ARM Processors
http://www.codesourcery.com/sgpp/lite/arm

Download Sourcery G++ Lite Edition for ARM
http://www.codesourcery.com/sgpp/lite/arm/portal/subscription?@template=lite

Why Choose Sourcery G++?
http://www.codesourcery.com/sgpp/

Download Sourcery G++ Lite Edition for ARM (to AllVersion)
http://www.codesourcery.com/sgpp/lite/arm/portal/subscription?@template=lite


[U-Boot] [PATCH 2/2] ARM: fix build error with gcc-4.4.2 about inline function declared weak
http://old.nabble.com/-U-Boot---PATCH-2-2--ARM:-fix-build-error-with-gcc-4.4.2-about-inline-function-declared-weak-p26188857.html

CUDA 2.3 on Ubuntu 9.10
http://carlosscheidegger.wordpress.com/2009/11/16/cuda-2-3-on-ubuntu-9-10/
errors related to gcc 4.4 (sensibly) not liking inline functions declared as weak symbols.


Buildroot can built glibc toolchin?

2010年6月7日 星期一

buildroot-2010.05

Bug 1807 - LZMA 4.32.7, Required header file(s) are missing. (utime.h)
https://bugs.busybox.net/show_bug.cgi?id=1807

I strongly think that the problem is that you compiled your uClibc without the UCLIBC_SUSV4_LEGACY option set to yes. When this option isn't set, the header file utime.h doesn't get installed (and the corresponding functions are not implemented in uClibc).

Our default configuration file for uClibc 0.9.31 (toolchain/uClibc/uClibc-0.9.31.config) enables this option. However, if you built an uClibc configuration file yourself, by default, uClibc disables this option.


"cannot find -lresolv"
eable UCLIBC_HAS_LIBRESOLV_STUB


Re: [tcpdump-workers] Problem with build of tcpdump-current
http://www.mail-archive.com/tcpdump-workers@lists.tcpdump.org/msg03042.html
Analysing the config.log, I find that the problem was
gcc related. Using gcc-3.4.3 instead of gcc-3.3.5
solve the problem.