Re: Error building python in latest uClinux-dist (20120620)

Ezequiel Garcia <[email protected]>
Newsgroups gmane.linux.uclinux.devel
Message-ID <CALF0-+XDVB-317U2joYO+RB944i413q=V4AOHNm4Tg5zgE1+eg@mail.gmail.com>
Hi Luis!

On Thu, Aug 9, 2012 at 8:32 PM, Luis Alves <[email protected]> wrote:
> Hi,
>
> I'm getting this error when trying to build python in the latest uClinux-dist:
>
> [...]
> ucfront-gcc m68k-uclinux-gcc -m68000 -Wl,-elf2flt
> -Wl,-L/root/m68k/20120620/uClinux-dist/user/./../staging/lib
> -Wl,-rpath-link
> -Wl,/root/m68k/20120620/uClinux-dist/user/./../staging/lib -Xlinker
> -export-dynamic -o python \
>                         Modules/python.o \
>                         libpython2.6.a -lutil   -lm -lc
> libpython2.6.a(posixmodule.o): In function `posix_tmpnam':
> posixmodule.c:(.text+0x4a66): warning: the use of `tmpnam' is
> dangerous, better use `mkstemp'
> python.elf2flt: In function `posix_fork':
> posixmodule.c:(.text+0xb860a): undefined reference to `fork'
> collect2: ld returned 1 exit status
> make[2]: *** [python] Error 1
> make[2]: Leaving directory
> `/root/m68k/20120620/uClinux-dist/user/python/build/Python-2.6.5/build'
> make[1]: *** [build/Python-2.6.5-built] Error 2
> make[1]: Leaving directory `/root/m68k/20120620/uClinux-dist/user/python'
> [...]
>
>
> Target is 68000 (nommu - no fork).
>
> Any suggestion?
>

As you probably know nommu hasn't got fork system call.

Out of curiosity, why do you need python? Perhaps you could try a
lighter language... like Lua?

Hope this helps,
Ezequiel.
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.