can't complie microperl with error undefined reference to `__ctype_b'
https://bugs.busybox.net/show_bug.cgi?id=4219
Bernhard Reutner-Fischer <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |buildroot at uclibc.org
Component|Standard Compliance |Other
Version|0.9.30.3 |unspecified
AssignedTo|unassigned at uclibc.org |unassigned at buildroot.uclibc
| |.org
Product|uClibc |buildroot--- Comment #1 from Bernhard Reutner-Fischer <[email protected]> --- Buildroot issue.
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugs.busybox.net/show_bug.cgi?id=4219
--- Comment #2 from Thomas Petazzoni <[email protected]> --- I guess your uClibc lacks UCLIBC_HAS_CTYPE_TABLES, which is enabled in the default uClibc configuration that Buildroot uses to build a toolchain. Can you check your uClibc configuration ?
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugs.busybox.net/show_bug.cgi?id=4219
--- Comment #3 from Mike Frysinger <[email protected]> --- usually when this error comes up, it's because the cross-compile incorrectly used things like -I/usr/include. please post the *full* build log of all the objects as an attachment.
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugs.busybox.net/show_bug.cgi?id=4219
??? <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID--- Comment #4 from ??? <[email protected]> ---
I checked uclibc.config contains UCLIBC_HAS_CTYPE_TABLES.
I tried many times, compiling microperl success, here is my compilation steps:
1. Chmod + w Makefile.micro
2 In line 39, as described below, the last uudmap.h bitcount.h removed.
38 clean:
39-rm-f $ (O) microperl generate_uudmap $ (_X)
40 #-rm-f $ (O) microperl generate_uudmap $ (_X) uudmap.h bitcount.h3. First in the x86 compiler normally generates two files uudmap.h bitcount.h root [perl-5.14.0] # make-f Makefile.micro
4 comments Dir 181,182 lines
181 # uudmap.h bitcount.h: generate_uudmap $ (_X) 182 # $ (RUN). / Generate_uudmap $ (_X) uudmap.h bitcount.h
5 Executive root [perl-5.14.0] # make-f Makefile.micro clean
Then uudmap.h bitcount.h not delete the two files. uclibc compile perl will
be used.
6 Finally compile uclibc microperl
root [perl-5.14.0] # make-f Makefile.micro CC = i686-linux-gcc
Thank you for your help.
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.