Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] How can i compile bash3.1 with uclibc
@ 2006-10-10 10:55 renxuefeng
       [not found] ` <901e5e350610100506t1574b963u5dcf77b34a9967ad@mail.gmail.com>
  0 siblings, 1 reply; 3+ messages in thread
From: renxuefeng @ 2006-10-10 10:55 UTC (permalink / raw)
  To: buildroot

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot]  How can i compile bash3.1 with uclibc
@ 2006-10-10 12:53 Michael
  0 siblings, 0 replies; 3+ messages in thread
From: Michael @ 2006-10-10 12:53 UTC (permalink / raw)
  To: buildroot

You should add the following option to gcc.

CFLAGS+=-Dfork=vfork
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20061010/b71ef139/attachment.htm 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] How can i compile bash3.1 with uclibc
       [not found] ` <901e5e350610100506t1574b963u5dcf77b34a9967ad@mail.gmail.com>
@ 2006-10-10 14:02   ` renxuefeng
  0 siblings, 0 replies; 3+ messages in thread
From: renxuefeng @ 2006-10-10 14:02 UTC (permalink / raw)
  To: buildroot

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.
> You should add the following option to gcc
>
> CFLAGS += -Dfork=vfork
>
> On 10/10/06, *renxuefeng* <renxf_maillist@126.com 
> <mailto:renxf_maillist@126.com>> 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:buildroot@uclibc.org>
>     http://busybox.net/mailman/listinfo/buildroot
>
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-10-10 14:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-10 10:55 [Buildroot] How can i compile bash3.1 with uclibc renxuefeng
     [not found] ` <901e5e350610100506t1574b963u5dcf77b34a9967ad@mail.gmail.com>
2006-10-10 14:02   ` renxuefeng
  -- strict thread matches above, loose matches on Subject: below --
2006-10-10 12:53 Michael

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox