Bug 187 - ntfs-3g: could not build cross
Summary: ntfs-3g: could not build cross
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: PC Linux
: P5 enhancement
Target Milestone: ---
Assignee: unassigned
URL:
Keywords: assemble-failure
Depends on:
Blocks:
 
Reported: 2009-03-15 13:31 UTC by zhouqimin
Modified: 2009-03-30 11:54 UTC (History)
1 user (show)

See Also:
Host: Linux version 2.6.23 (gentoo 2008 , gcc version 4.1.1)
Target: linux i686
Build: buildroot 2009.2.1


Attachments
config files , and error message when build ntfs-3g (20.71 KB, application/octet-stream)
2009-03-15 13:31 UTC, zhouqimin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description zhouqimin 2009-03-15 13:31:16 UTC
Created attachment 151 [details]
config files , and error message when build ntfs-3g

Hi,erery one.

When I select ntfs-3g in buildroot's  menuconfig and build the softwares, it will show some error messages about ntfs-3g.

following messages are the errors:
---------------------------------------
unistr.c: In function 'ntfs_ucstombs':
unistr.c:752: error: 'MB_CUR_MAX' undeclared (first use in this function)
unistr.c:752: error: (Each undeclared identifier is reported only once
unistr.c:752: error: for each function it appears in.)
unistr.c:760: warning: implicit declaration of function 'wctomb'
unistr.c: In function 'ntfs_mbstoucs':
unistr.c:874: warning: implicit declaration of function 'mbstowcs'
unistr.c:898: warning: implicit declaration of function 'mbtowc'
make[2]: *** [libntfs_3g_la-unistr.lo] error 1
make[2]: Leaving directory `/mnt/sda3/buildroot-20090315/build_i686/ntfs-3g-1.5130/libntfs-3g'
make[1]: *** [all-recursive] error 1
make[1]: Leaving directory `/mnt/sda3/buildroot-20090315/build_i686/ntfs-3g-1.5130'
make: *** [all] error 2
---------------------------------------
This report's attachment file is a bar file include buildroot's config files and the error message file. [buildroot 2009.05 ; gcc 4.3.3 ; uclibc 0.9.30.1; ]

This error alse exist in past version's buildroot.

And I wish you can add partimage to buildroot's package.

Thank you.


zhouqimin
2009-03-15
zhouqm27@gmail.com
Comment 1 Peter Korsgaard 2009-03-30 11:54:42 UTC
Thanks. NTFS-3G needs WCHAR (and LARGEFILE) support in the toolchain. I've fixed the Kconfig stuff up in r25895 to make this clear.