This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [CT-_NG] build_wcs_upper_buffer error with crosstool-ng 1.1.2


Tyr below patch to solve return type error.

--- glibc-2.4.orig/posix/regex_internal.h       2006-04-23
00:28:40.000000000 +0800
+++ glibc-2.4/posix/regex_internal.h    2006-04-23 00:29:45.000000000 +0800
@@ -390,7 +390,7 @@ static reg_errcode_t re_string_realloc_b
      internal_function;
 #ifdef RE_ENABLE_I18N
 static void build_wcs_buffer (re_string_t *pstr) internal_function;
-static int build_wcs_upper_buffer (re_string_t *pstr) internal_function;
+static reg_errcode_t build_wcs_upper_buffer (re_string_t *pstr)
internal_function;   ...



2008/5/30, leemgs <leemgs@gmail.com>:
> Umm.... I failed  toolchaing compiling wiht ct-ng 1.1.2.
> I meeted "conflicting types for 'build_wcs_upper_buffer'" related
> error during  Build C library.
> Anyone have this experience?   Below is log messages.
>
>          .................. Upper Omission  ...................
>  =================================================================
> [INFO ]  Installing C library headers
> [EXTRA]    Configuring C library
> [EXTRA]    Installing C library headers
> [INFO ]  Installing C library headers: done in 224.19s
> [INFO ]  =================================================================
> [INFO ]  Installing C library start files
> [EXTRA]    Configuring C library
> [WARN ]    Removing "-pipe" for use with glibc>=2.6
> [EXTRA]    Building C library start files
> [EXTRA]    Installing C library start files
> [INFO ]  Installing C library start files: done in 83.61s
> [INFO ]  =================================================================
> [INFO ]  Installing shared core C compiler
> [EXTRA]    Copying headers to install area of bootstrap gcc, so it can
> build libgcc2
> [EXTRA]    Configuring shared core C compiler
> [EXTRA]    Building shared core C compiler
> [EXTRA]    Installing shared core C compiler
> [INFO ]  Installing shared core C compiler: done in 552.91s
> [INFO ]  =================================================================
> [INFO ]  Installing C library
> [EXTRA]    Configuring C library
> [WARN ]    Removing "-pipe" for use with glibc>=2.6
> [EXTRA]    Building C library
> [ERROR]    regex_internal.c:265: error: conflicting types for
> 'build_wcs_upper_buffer'
> [ERROR]    regex_internal.h:394: error: previous declaration of
> 'build_wcs_upper_buffer' was here
> [ERROR]    Build failed in step "Installing C library"
> [ERROR]    Error happened in
> "/opt/androidtoolchain112/lib/ct-ng-1.1.2/scripts/build/libc_glibc.sh"
> in function "do_libc" (line unknown, sorry)
> [ERROR]          called from
> "/opt/androidtoolchain112/lib/ct-ng-1.1.2/scripts/crosstool.sh" at
> line # 488 in function "main"
> [ERROR]    Look at "/root/x-tools/arm-android-linux-gnueabi/build.log"
> for more info on this error.
> [ERROR]  Build completed at 20080530.093251
> [ERROR]  (elapsed: 54:11.76)
> [54:12] / make: *** [build]
>
> real    54m13.223s
> user    21m38.472s
> sys     9m3.038s
> [root@centos51 bin]#
>

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]