FAQ: [#6407] 2010 latest build inttostr needs missing wchar support in tools(2010)

Document created by Aaronwu Employee on Sep 11, 2013
Version 1Show Document
  • View in full screen mode

[#6407] 2010 latest build inttostr needs missing wchar support in tools

Submitted By: Phil Wilshire

Open Date

2010-12-15 08:04:02     Close Date

2010-12-15 10:26:39

Priority:

Medium     Assignee:

Nobody

Status:

Closed     Fixed In Release:

N/A

Found In Release:

2010R1-RC5     Release:

2010R1-RC4

Category:

uClibc     Board:

STAMP

Processor:

BF533     Silicon Revision:

0;0.3

Is this bug repeatable?:

Yes     Resolution:

Not reproducible

Uboot version or rev.:

    Toolchain version or rev.:

2010R1-RC4

App binary format:

N/A     

Summary: 2010 latest build inttostr needs missing wchar support in tools

Details:

 

Hi

Just tried out the very latest release and the build fails here.

I simply downloaded the tools etc.

Looked for any other report but dud not find one.

 

   ...Phil

 

details =============

bfin-uclinux-gcc -DHAVE_CONFIG_H -I. -I/home/student/work/btrain/blackfin-linux-dist/user/blkfin-apps/inetutils/inetutils-1.6/lib -I..   -DEMBED -D__uClinux__ -I/home/student/work/btrain/blackfin-linux-dist  -mcpu=bf533-0.3  -pipe -Wall -g -O2      -mcpu=bf533-0.3 -c /home/student/work/btrain/blackfin-linux-dist/user/blkfin-apps/inetutils/inetutils-1.6/lib/imaxtostr.c

In file included from ./wchar.h:58,

                 from ./stdint.h:99,

                 from /home/student/work/btrain/blackfin-linux-dist/user/blkfin-apps/inetutils/inetutils-1.6/lib/inttostr.h:21,

                 from /home/student/work/btrain/blackfin-linux-dist/user/blkfin-apps/inetutils/inetutils-1.6/lib/inttostr.c:22,

                 from /home/student/work/btrain/blackfin-linux-dist/user/blkfin-apps/inetutils/inetutils-1.6/lib/imaxtostr.c:3:

/home/student/work/btrain/opt/uClinux/bfin-uclinux/bin/../bfin-uclinux/runtime/usr/include/wchar.h:32:2: error: #error Attempted to include wchar.h when uClibc built without wide char support.

In file included from ./wchar.h:58,

                 from ./stdint.h:99,

                 from /home/student/work/btrain/blackfin-linux-dist/user/blkfin-apps/inetutils/inetutils-1.6/lib/inttostr.h:21,

                 from /home/student/work/btrain/blackfin-linux-dist/user/blkfin-apps/inetutils/inetutils-1.6/lib/inttostr.c:22,

                 from /home/student/work/btrain/blackfin-linux-dist/user/blkfin-apps/inetutils/inetutils-1.6/lib/imaxtostr.c:3:

/home/student/work/btrain/opt/uClinux/bfin-uclinux/bin/../bfin-uclinux/runtime/usr/include/wchar.h:107: error: two or more data types in declaration specifiers

make[9]: *** [imaxtostr.o] Error 1

make[9]: Leaving directory `/home/student/work/btrain/blackfin-linux-dist/user/blkfin-apps/inetutils/build-inetutils-1.6/lib'

make[8]: *** [install-recursive] Error 1

make[8]: Leaving directory `/home/student/work/btrain/blackfin-linux-dist/user/blkfin-apps/inetutils/build-inetutils-1.6/lib'

make[7]: *** [install] Error 2

 

Follow-ups

 

--- Mike Frysinger                                           2010-12-15 08:20:20

the 2010R1 release builds just fine for me.  please post the *full* build log as

an attachment so we can see why it isnt working for you.

 

which uclibc package did you install ?  the default one does not include a

wchar.h header file at all.  the full one supports wchar and so shouldnt

generate that error.

 

--- Phil Wilshire                                            2010-12-15 09:04:47

OK I'll try again with the full package installed.

Just as a side note which of the following needs to be installed.

 

 

blackfin-toolchain-2010R1-RC4.i386.tar.bz2

blackfin-toolchain-elf-gcc-4.3-2010R1-RC4.i386.tar.bz2

blackfin-toolchain-uclibc-default-2010R1-RC4.i386.tar.bz2

blackfin-toolchain-uclibc-full-2010R1-RC4.i386.tar.bz2

 

I tried just this

blackfin-toolchain-uclibc-full-2010R1-RC4.i386.tar.bz2

But it did not seem to have any binary files in it...

 

  Phil

 

--- Mike Frysinger                                           2010-12-15 10:13:19

the diff packages are documented here:

  http://docs.blackfin.uclinux.org/doku.php?id=toolchain:installing

 

--- Phil Wilshire                                            2010-12-15 10:15:51

OK installing

blackfin-toolchain-uclibc-full-2010R1-RC4.i386.tar.bz2

last fixed this problem.

close this one.

Still have a problem with missing linux/align.h within mtd-utils

but that is for a different report

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes