This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: SH build problem with fanotify_mark
Kaz Kojima <kkojima@rr.iij4u.or.jp> writes:
> Now the errors during compiling misc/stub-syscalls.c go away,
> though there is a link error
>
> /exp/ldroot/dodes/xsh-libc-intest/linkobj/libc_pic.a(fanotify_mark.os): In function `fanotify_mark@@GLIBC_2.16':
> (.text+0x0): multiple definition of `fanotify_mark@@GLIBC_2.16'
> /exp/ldroot/dodes/xsh-libc-intest/linkobj/libc_pic.a(stub-syscalls.os):/exp/ldroot/dodes/xsh-libc-intest/misc/stub-syscalls.c:24: first defined here
> collect2: ld returned 1 exit status
Try removing {,linkobj/}libc_pic.a.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."