Gentoo Archives: gentoo-embedded

From: James Francis <francis@×××××××.com>
To: solar@g.o
Cc: aeriksson@××××××××.fm, gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] stage1-uclibc build error
Date: Tue, 03 Aug 2004 12:41:32
Message-Id: 1091536888.3966.5.camel@jimf.payload.com
In Reply to: Re: [gentoo-embedded] stage1-uclibc build error by Ned Ludd
1 > Seems we're missing an 'fl' library... What's fl?
2
3 This is the Flex (GNU's Lexical Analyzer) library.
4
5 On Tue, 2004-08-03 at 02:46, Ned Ludd wrote:
6 > I'm not sure what that problem is about, but the bootstrap is the
7 > recommended way (by me atleast)
8 >
9 > You might also want to track this open bug.
10 > http://bugs.gentoo.org/show_bug.cgi?id=59191
11 >
12 > On Tue, 2004-08-03 at 01:44, aeriksson@××××××××.fm wrote:
13 > > > That might actually work if you had USE="-* build bootstrap uclibc" set
14 > > > from a stage1, thats how the catalyst does it and it's supposed to be
15 > > > done.
16 > > >
17 > > <snip>
18 > > > It works if you use the correct bootstrap script.
19 > > > In this case you have to use bootstrap-cascade.sh
20 > >
21 > > Thanks a lot for the info. (Is there any particular doc I should have
22 > > looked in to pick up that I need to use bootstrap-cascade.sh?) Worked
23 > > like a charm, sort of...
24 > >
25 > > "ACCEPT_KEYWORDS="~x86" scripts/bootstrap-cascade.sh" --> No probs
26 > > "ACCEPT_KEYWORDS="~x86" USE="-* build bootstrap uclibc" emerge
27 > > system" --> failed with:
28 > >
29 > > bison -d parse.y -o parse.c
30 > > bison -d parse.y -o parse.c
31 > > lex -t token.l > token.c
32 > > gcc -Os -pipe -include ../include-glibc/glibc-bugs.h -I../libipsec
33 > > -I../include-glibc -I//usr/include -DIPSEC_DEBUG -DINET6
34 > > -DYY_NO_UNPUT -I. -Wall -c -o pfkey.o pfkey.c
35 > > gcc -Os -pipe -include ../include-glibc/glibc-bugs.h -I../libipsec
36 > > -I../include-glibc -I//usr/include -DIPSEC_DEBUG -DINET6
37 > > -DYY_NO_UNPUT -I. -Wall -c -o pfkey_dump.o pfkey_dump.c
38 > > gcc -Os -pipe -include ../include-glibc/glibc-bugs.h -I../libipsec
39 > > -I../include-glibc -I//usr/include -DIPSEC_DEBUG -DINET6
40 > > -DYY_NO_UNPUT -I. -Wall -c -o key_debug.o key_debug.c
41 > > gcc -Os -pipe -include ../include-glibc/glibc-bugs.h -I../libipsec
42 > > -I../include-glibc -I//usr/include -DIPSEC_DEBUG -DINET6
43 > > -DYY_NO_UNPUT -I. -Wall -c -o ipsec_strerror.o ipsec_strerror.c
44 > > gcc -Os -pipe -include ../include-glibc/glibc-bugs.h -I../libipsec
45 > > -I../include-glibc -I//usr/include -DIPSEC_DEBUG -DINET6
46 > > -DYY_NO_UNPUT -I. -Wall -c -o parse.o parse.c
47 > > gcc -Os -pipe -include ../include-glibc/glibc-bugs.h -I../libipsec
48 > > -I../include-glibc -I//usr/include -DIPSEC_DEBUG -DINET6
49 > > -DYY_NO_UNPUT -I. -Wall -c -o token.o token.c
50 > > parse.y: In function `setkeymsg':
51 > > parse.y:635: warning: dereferencing type-punned pointer will break
52 > > strict-aliasing rules
53 > > parse.y:651: warning: dereferencing type-punned pointer will break
54 > > strict-aliasing rules
55 > > gcc -o setkey setkey.o parse.o token.o pfkey.o pfkey_dump.o
56 > > key_debug.o ipsec_strerror.o -L../libipsec -lipsec -lfl
57 > > /usr/lib/gcc-lib/i386-pc-linux-uclibc/3.3.4/../../../../i386-pc-linux-
58 > > uclibc/bin/ld: cannot find -lfl
59 > > collect2: ld returned 1 exit status
60 > > make: *** [setkey] Error 1
61 > > rm token.c
62 > >
63 > > !!! ERROR: net-misc/iputils-021109-r3 failed.
64 > > !!! Function src_compile, Line 64, Exitcode 2
65 > > !!! setkey failed
66 > >
67 > >
68 > > Seems we're missing an 'fl' library... What's fl?
69 > >
70 > > /Anders
71 > >
72 > >
73 > > --
74 > > gentoo-embedded@g.o mailing list
75
76
77 --
78 gentoo-embedded@g.o mailing list