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