about uClibc configuration for EXCLUDE_BRK
Ahan Hsieh 謝武漢
ahan.hsieh at sunplus.com
Fri Apr 13 02:53:01 PDT 2007
Hi, folk,
Recently, I build LTP for testing uClinux.
When I build LTP, an error occur:
/tmp/ccxhcYOf.o: In function `main':
/tmp/ccxhcYOf.o(.text+0x9b4): undefined reference to `sbrk'
/tmp/ccxhcYOf.o(.text+0x10fc): undefined reference to `sbrk'
sbrk() is defined in uClibc/libc/sysdeps/linux/common/sbrk.c,
and in some statement in the relative Makefile is following:
ifneq ($(strip $(EXCLUDE_BRK)),y)
CSRC+=sbrk.c
endif
I have some questions:
1. What dose sbrk() work for? When should I enable/disable EXCLUDE_BRK ?
2. We can configure the compile options by "make menuconfig" or configure
them in uClibc/extra/Configs/Config.arch.
Which compile options should be configured in
uClibc/extra/Configs/Config.arch ?
Or is there any document to reference?
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/uclibc/attachments/20070413/5e79c4fd/attachment.htm
More information about the uClibc
mailing list