From: Rob Landley <rob@landley.net>
To: user-mode-linux-devel@lists.sourceforge.net
Cc: Jeff Dike <jdike@addtoit.com>
Subject: Re: [uml-devel] UML build process uses perl? (With sed alternative.)
Date: Thu, 20 Jan 2005 18:52:47 -0500 [thread overview]
Message-ID: <200501201852.48095.rob@landley.net> (raw)
In-Reply-To: <200501210031.j0L0VN3u005305@ccure.user-mode-linux.org>
On Thursday 20 January 2005 07:31 pm, Jeff Dike wrote:
> rob@landley.net said:
> > I still need the attached one-liner patch to get it to build under
> > uclibc, though.
>
> What does that break, exactly?
>
> Jeff
CC arch/um/kernel/init_task.o
CC arch/um/kernel/irq.o
gcc -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common
-O2 -fomit-frame-pointer -U__i386__ -Ui386 -D__arch_um__ -DSUBARCH=\"i386\"
-D_LARGEFILE64_SOURCE -Iarch/um/include
-I/linux-2.6.9/arch/um/kernel/tt/include
-I/linux-2.6.9/arch/um/kernel/skas/include -D_GNU_SOURCE -c -o
arch/um/kernel/irq_user.o arch/um/kernel/irq_user.c
In file included from arch/um/kernel/irq_user.c:16:
arch/um/include/user.h:15: error: conflicting types for `strlcpy'
/usr/include/string.h:384: error: previous declaration of `strlcpy'
make[1]: *** [arch/um/kernel/irq_user.o] Error 1
make: *** [arch/um/kernel] Error 2
This is because uclibc's string.h has this snippet:
#ifdef __USE_BSD
/* Two OpenBSD extension functions. */
extern size_t strlcat(char *__restrict dst, const char *__restrict src,
size_t n) __THROW;
extern size_t strlcpy(char *__restrict dst, const char *__restrict src,
size_t n) __THROW;
#endif
Rob
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
prev parent reply other threads:[~2005-01-21 0:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-14 5:40 [uml-devel] UML build process uses perl? (With sed alternative.) Rob Landley
2005-01-19 18:55 ` Blaisorblade
2005-01-20 3:44 ` Rob Landley
2005-01-20 6:25 ` Rob Landley
2005-01-21 0:31 ` Jeff Dike
2005-01-20 23:52 ` Rob Landley [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200501201852.48095.rob@landley.net \
--to=rob@landley.net \
--cc=jdike@addtoit.com \
--cc=user-mode-linux-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox