Gentoo Archives: gentoo-alt

From: Michael Yang <yangofzeal@×××××.com>
To: gentoo-alt@l.g.o
Subject: [gentoo-alt] freebsd bootstrap coreutils fail
Date: Thu, 23 Jul 2009 16:05:58
Message-Id: 2125c95f0907230905w5e5dfabco395d56057737b068@mail.gmail.com
1 Hi - I'm trying to bootstrap prefix on FreeBSD 7.2-RELEASE/i386
2
3 $ uname -a
4 FreeBSD ubuntu 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 08:49:13
5 UTC 2009 root@××××××××××××××××××.edu:/usr/obj/usr/src/sys/GENERIC
6 i386
7
8 I follow the directions on
9 http://www.gentoo.org/proj/en/gentoo-alt/prefix/bootstrap-freebsd.xml?style=printable
10 I am using bootstrap-prefix.sh revision 48494.
11
12 I get to the step:
13
14 $ ./bootstrap-prefix.sh $EPREFIX/tmp coreutils
15
16 And then the following error results:
17
18 localcharset.c:393: warning: incompatible implicit declaration of
19 built-in function 'strlen'
20 localcharset.c:394: warning: implicit declaration of function 'strcmp'
21 if gcc -std=gnu99 -DHAVE_CONFIG_H
22 -DLIBDIR=\"/home/michael/gentoo/tmp/usr/lib\" -I. -I. -I.. -I.. -I.
23 -O2 -pipe -MT mbswidth.o -MD -MP -MF ".deps/mbswidth.Tpo" -c -o
24 mbswidth.o mbswidth.c; then mv -f ".deps/mbswidth.Tpo"
25 ".deps/mbswidth.Po"; else rm -f ".deps/mbswidth.Tpo"; exit 1; fi
26 mbswidth.c:64: error: expected identifier or '(' before string constant
27 *** Error code 1
28
29 Here's my gcc version:
30
31 $ gcc -v
32 Using built-in specs.
33 Target: i386-undermydesk-freebsd
34 Configured with: FreeBSD/i386 system compiler
35 Thread model: posix
36 gcc version 4.2.1 20070719 [FreeBSD]
37
38 -mike

Replies

Subject Author
[gentoo-alt] Re: freebsd bootstrap coreutils fail Michael Yang <yangofzeal@×××××.com>