[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: various build failures



Hi,

On Fri, 23 Jun 2006, Finn Thain wrote:

>   LD      .tmp_vmlinux1
> arch/m68k/mac/built-in.o: In function `iop_dump_one_iop':
> arch/m68k/mac/iop.c:661: undefined reference to `strcpy'
> arch/m68k/mac/iop.c:671: undefined reference to `strcpy'
> kernel/built-in.o: In function `prof_cpu_mask_read_proc':
> kernel/profile.c:385: undefined reference to `strcpy'
> fs/built-in.o: In function `lock_get_status':
> fs/locks.c:2014: undefined reference to `strcpy'
> fs/locks.c:2018: undefined reference to `strcpy'
> fs/built-in.o:fs/locks.c:2062: more undefined references to `strcpy' follow
> make: *** [.tmp_vmlinux1] Error 1

That's sprintf calls converted to __builtin_strcpy. A simple workaround is 
to add -fno-builtin-sprintf to CFLAGS in the Makefile.
Over the weekend I want to cleanup string.h a little more and then also 
deal with this properly.

bye, Roman



Reply to: