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!

_______________________________________________
uClibc mailing list
[EMAIL PROTECTED]
http://busybox.net/cgi-bin/mailman/listinfo/uclibc

Reply via email to