Skip to contentSkip to conversation

How can i compile bash3.1 with uclibc

Buildroot renxuefeng 1 participant 2 messages Oct 10, 2006 1 message not in the archive

lore
Share & tools
lore

renxuefeng

author
#0 lore raw

i met a problem When i build buildroot with uclibc. while compiling the bash3.1, it showed some error:

nojobs.o: In function `make_child':
nojobs.c:(.text+0x464): undefined reference to `fork'

I thought this is because the uclibc didnot support the fork function under the armnommu platform
but how can i using bash under uclibc.
does anybody have some patch for this problem.

A message that is not in the archive (sent off-list or not yet received): [email protected]

author
#2 lore raw

Thanks Michael.
I have done using your method. Now I can compile the bash sucessfully. but i don't know whether there will be some problem. I know fork and vfork have some differences.

Quoted 27 lines

You should add the following option to gcc

CFLAGS += -Dfork=vfork

On 10/10/06, *renxuefeng* <[email protected]
<mailto:[email protected]>> wrote:

i met a problem When i build buildroot with uclibc. while compiling the bash3.1, it showed some error:

nojobs.o: In function `make_child':
nojobs.c:(.text+0x464): undefined reference to `fork'

I thought this is because the uclibc didnot support the fork function under the armnommu platform
but how can i using bash under uclibc.
does anybody have some patch for this problem.

_______________________________________________
buildroot mailing list
buildroot at uclibc.org <mailto:[email protected]>
http://busybox.net/mailman/listinfo/buildroot