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: getline conflict error


Yann or anyone,

Sorry to ask again but I didn't get a response yet. Any ideas on this?
I'm stuck.

thanx
/carl h.

On Wed, Nov 25, 2009 at 12:29 PM, piper.guy1 <piper.guy1@gmail.com> wrote:
> My build failed. Seems to be a 'getline' conflict.
>
> Any help would be appreciated.
>
> thanx
> /carl h.
>
> [ALL ?] ? ? ?LN include/sys/ptrace.h
> [ALL ?] ? ? ?LN include/sys/elf.h
> [ALL ?] ? ? ?LN include/sys/io.h
> [ALL ?] ? ? ?LN include/sys/procfs.h
> [ALL ?] ? ? ?LN include/sys/ucontext.h
> [ALL ?] ? ? ?LN include/sys/user.h
> [ALL ?] ? ?make[1]: Leaving directory
> `/home/carl/felabs/sysdev/toolchain/crosstool-ng-1.5.1/targets/arm-unknown-linux-uclibcgnueabi/build/build-libc-headers'
> [EXTRA] ? ?Installing headers
> [DEBUG] ? ?==> Executing: 'make CROSS=
> PREFIX=/usr/local/xtools/arm-unknown-linux-uclibcgnueabi/arm-unknown-linux-uclibcgnueabi//sys-root/
> install_headers'
> [ALL ?] ? ?make[1]: Entering directory
> `/home/carl/felabs/sysdev/toolchain/crosstool-ng-1.5.1/targets/arm-unknown-linux-uclibcgnueabi/build/build-libc-headers'
> [ALL ?] ? ? ?HOSTCC extra/scripts/unifdef
> [ERROR] ? ?extra/scripts/unifdef.c:209: error: conflicting types for 'getline'
> [ALL ?] ? ?/usr/include/stdio.h:651: note: previous declaration of
> 'getline' was here
> [ERROR] ? ?make[1]: *** [extra/scripts/unifdef] Error 1
> [ALL ?] ? ?make[1]: Leaving directory
> `/home/carl/felabs/sysdev/toolchain/crosstool-ng-1.5.1/targets/arm-unknown-linux-uclibcgnueabi/build/build-libc-headers'
> [ERROR] ? ?Build failed in step 'Installing C library headers'
> [ERROR] ? ?Error happened in
> '/home/carl/felabs/sysdev/toolchain/crosstool-ng-1.5.1/scripts/functions'
> in function 'CT_DoExecLog' (line unknown, sorry)
> [ERROR] ? ? ? ? ?called from
> '/home/carl/felabs/sysdev/toolchain/crosstool-ng-1.5.1/scripts/build/libc/uClibc.sh'
> at line # 88 in function 'do_libc_headers'
> [ERROR] ? ? ? ? ?called from
> '/home/carl/felabs/sysdev/toolchain/crosstool-ng-1.5.1/scripts/crosstool-NG.sh'
> at line # 544 in function 'main'
> [ERROR] ? ?Look at
> '/usr/local/xtools/arm-unknown-linux-uclibcgnueabi/build.log' for more
> info on this error.
> [ERROR] ?(elapsed: 43:43.10)
>

--
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]