Skip to contentSkip to conversation

can't complie microperl with error undefined reference to `__ctype_b'

Buildroot bugzilla at busybox.net 1 participant 4 messages Sep 22, 2011 – Sep 24, 2011 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

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.
#2 lore raw
In reply to a message not in the archive

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.
#3 lore raw
In reply to a message not in the archive

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.
#4 lore raw
In reply to a message not in the archive

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.h

3. 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.