[flashboot] Flashboot still possible with 4.9

James Records james.records at gmail.com
Wed May 4 02:12:36 EST 2011


Rickard,

Here is what I have, this needs to be run from within a directory that
includes the following sets:

base49.tgz
etc49.tgz
comp49.tgz
man49.tgz
misc49.tgz
src.tar.gz
sys.tar.gz

also in this directory needs to be mk-mini.conf

I execute this script as follows:

sh build-chroot-env.sh 49base

This will take a while but at the end of this script it should dump you out
of the chroot environment at which point I just move the directory to
/usr/local/share/49base and make a symlink from my flashboot flash-dist
directory to it.

I have not tested the part below where I marked not tested in the script, I
did that part by hand last night, but it *should* work.

I'll attach my mk-mini and the script itself, let me know if you have any
issues running it.

J

On Tue, May 3, 2011 at 8:46 AM, Rickard Dahlstrand <rd at tilde.se> wrote:

> Hi James,
>
> I have started something similar, but didn't finish it. Send it over and
> I'll will try to include it into the dist.
>
> Rickard.
>
> 3 maj 2011 kl. 16.58 skrev James Records:
>
> I just got this working with 4.9, I have a script, I'll post it when I get
> into the office.
>
> J
>
> On Tue, May 3, 2011 at 6:16 AM, Rickard Dahlstrand <rd at tilde.se> wrote:
>
>> Hi Stuart and Mark,
>>
>> I started work on a automated chroot build script, but other stuff got in
>> the way of completing it. Will try to get the time to do it soon.
>>
>> Rickard.
>>
>> 3 maj 2011 kl. 11.35 skrev Stuart Henderson:
>>
>> > It is possible but you need to do things a different way.
>> > Use a chroot jail rather than DESTDIR which no longer works.
>> > See the list archives for more info
>> >
>> >
>> > On 2011/05/03 11:23, flashbootlist at itmon.nl wrote:
>> >> Dear List,
>> >>
>> >> My home firewall runs on an Alix system with a flashboot OpenBSD 4.6.
>> >> I haven't upgraded since and I thought now with the release of 4.9 it
>> >> made sence to build a new flashboot.
>> >>
>> >> I installed a virtualbox with 4.9; downloaded the latest flashboot
>> >> scripts (2010-12-24) and executed build-release as stated in the
>> >> README. This has worked for me with 4.6 without problems. But now the
>> >> building seams to fail on "libstdc++-v3"
>> >>
>> >> Has anyone succesfully build a 4.9 FlashBoot image? Is this still
>> possible?
>> >>
>> >> Mark
>> >>
>> >> ===> libstdc++-v3
>> >> c++ -O2 -pipe  -DIN_GLIBCPP_V3 -DHAVE_CONFIG_H
>> >> -I/usr/src/gnu/lib/libstdc++-v3/../libstdc++-v3/
>> >> -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/libsupc++
>> >> -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/gcc
>> >> -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include
>> >> -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/gcc/gcc/include
>> >> -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include
>> >> -I/usr/src/gnu/lib/libstdc++-v3/../libiberty/include -I.
>> >> -frandom-seed=RepeatabilityConsideredGood -DIN_GLIBCPP_V3
>> >> -DHAVE_CONFIG_H -I/usr/src/gnu/lib/libstdc++-v3
>> >> -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/libsupc++
>> >> -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/gcc
>> >> -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include
>> >> -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/gcc/gcc/include
>> >> -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include
>> >> -I/usr/src/gnu/lib/libstdc++-v3/../libiberty/include -I.
>> >> -frandom-seed=RepeatabilityConsideredGood   -fno-implicit-templates
>> >> -ffunction-sections -fdata-sections  -Wno-deprecated
>> >> -fno-implicit-templates -ffunction-sections -fdata-sections
>> >> -Wno-deprecated   -idirafter
>> >> /root/flashboot/flash-dist/usr/include/g++  -nostdinc -idirafter
>> >> /root/flashboot/flash-dist/usr/include -c
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc
>> >> -o bitmap_allocator.o
>> >> In file included from
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/bitmap_allo
>> >> cator.h:37,
>> >>                from
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc
>> >> :30:
>> >> /root/flashboot/flash-dist/usr/include/g++/cstddef:50:28: error:
>> >> bits/c++config.h: No such file or directory
>> >> In file included from
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/bitmap_allo
>> >> cator.h:43,
>> >>                from
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc
>> >> :30:
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/concurrence
>> >> .h:41:24: error: bits/gthr.h: No such file or directory
>> >> In file included from
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/bitmap_allo
>> >> cator.h:37,
>> >>                from
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc
>> >> :30:
>> >> /root/flashboot/flash-dist/usr/include/g++/cstddef:53: error:
>> >> expected constructor, destructor, or type conversion before '(' token
>> >> /root/flashboot/flash-dist/usr/include/g++/cstddef:58: error:
>> >> '_GLIBCXX_END_NAMESPACE' does not name a type
>> >> In file included from
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/bitmap_allo
>> >> cator.h:38,
>> >>                from
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc
>> >> :30:
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/functexcep
>> >> t.h:93: error: '_GLIBCXX_END_NAMESPACE' does not name a type
>> >> In file included from
>> /root/flashboot/flash-dist/usr/include/g++/utility:66,
>> >>                from
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/bitmap_allo
>> >> cator.h:39,
>> >>                from
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc
>> >> :30:
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_relops
>> >> .h:136: error: '_GLIBCXX_END_NAMESPACE' does not name a type
>> >> In file included from
>> /root/flashboot/flash-dist/usr/include/g++/utility:67,
>> >>                from
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/bitmap_allo
>> >> cator.h:39,
>> >>                from
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc
>> >> :30:
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h
>> >> :94: error: template with C linkage
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h
>> >> :96: error: expected ',' or '...' before '<' token
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h
>> >> :96: error: 'bool operator==(int)' must have an argument of class or
>> >> enumerated type
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h
>> >> :100: error: template with C linkage
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h
>> >> :102: error: expected ',' or '...' before '<' token
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h
>> >> :102: error: 'bool operator<(int)' must have an argument of class or
>> >> enumerated type
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h
>> >> :107: error: template with C linkage
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h
>> >> :109: error: expected ',' or '...' before '<' token
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h
>> >> :109: error: 'bool operator!=(int)' must have an argument of class or
>> >> enumerated type
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h
>> >> :113: error: template with C linkage
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h
>> >> :115: error: expected ',' or '...' before '<' token
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h
>> >> :115: error: 'bool operator>(int)' must have an argument of class or
>> >> enumerated type
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h
>> >> :119: error: template with C linkage
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h
>> >> :121: error: expected ',' or '...' before '<' token
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h
>> >> :121: error: 'bool operator<=(int)' must have an argument of class or
>> >> enumerated type
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h
>> >> :125: error: template with C linkage
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h
>> >> :127: error: expected ',' or '...' before '<' token
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h
>> >> :127: error: 'bool operator>=(int)' must have an argument of class or
>> >> enumerated type
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h
>> >> :142: error: template with C linkage
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h
>> >> :143: error: expected initializer before '<' token
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h
>> >> :147: error: '_GLIBCXX_END_NAMESPACE' does not name a type
>> >> In file included from
>> >> /root/flashboot/flash-dist/usr/include/g++/functional:55,
>> >>                from
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/bitmap_allo
>> >> cator.h:40,
>> >>                from
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc
>> >> :30:
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:113: error: template with C linkage
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:133: error: template with C linkage
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:142: error: template with C linkage
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:151: error: template with C linkage
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:160: error: template with C linkage
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:169: error: template with C linkage
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:178: error: template with C linkage
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:179: error: expected template-name before '<' token
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:179: error: expected `{' before '<' token
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:179: error: expected unqualified-id before '<' token
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:195: error: template with C linkage
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:204: error: template with C linkage
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:213: error: template with C linkage
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:222: error: template with C linkage
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:231: error: template with C linkage
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:240: error: template with C linkage
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:256: error: template with C linkage
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:265: error: template with C linkage
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:274: error: template with C linkage
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:275: error: expected template-name before '<' token
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:275: error: expected `{' before '<' token
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:275: error: expected unqualified-id before '<' token
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:311: error: template with C linkage
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:313: error: expected template-name before '<' token
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:313: error: expected `{' before '<' token
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:313: error: expected unqualified-id before '<' token
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:327: error: template with C linkage
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:333: error: template with C linkage
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:353: error: template with C linkage
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:391: error: template with C linkage
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:393: error: expected template-name before '<' token
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:393: error: expected `{' before '<' token
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:393: error: expected unqualified-id before '<' token
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:416: error: template with C linkage
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:425: error: template with C linkage
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:427: error: expected template-name before '<' token
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:427: error: expected `{' before '<' token
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:427: error: expected unqualified-id before '<' token
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:450: error: template with C linkage
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:480: error: template with C linkage
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:481: error: expected template-name before '<' token
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:481: error: expected `{' before '<' token
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:481: error: expected unqualified-id before '<' token
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:498: error: template with C linkage
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:504: error: template with C linkage
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:523: error: template with C linkage
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:529: error: template with C linkage
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:530: error: expected template-name before '<' token
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:530: error: expected `{' before '<' token
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:530: error: expected unqualified-id before '<' token
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:541: error: template with C linkage
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:542: error: expected template-name before '<' token
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:542: error: expected `{' before '<' token
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:542: error: expected unqualified-id before '<' token
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:554: error: template with C linkage
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:555: error: expected template-name before '<' token
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:555: error: expected `{' before '<' token
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:555: error: expected unqualified-id before '<' token
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:582: error: template with C linkage
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:583: error: expected template-name before '<' token
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:583: error: expected `{' before '<' token
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:583: error: expected unqualified-id before '<' token
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:598: error: template with C linkage
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:599: error: expected template-name before '<' token
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:599: error: expected `{' before '<' token
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:599: error: expected unqualified-id before '<' token
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:614: error: template with C linkage
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:615: error: expected template-name before '<' token
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:615: error: expected `{' before '<' token
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:615: error: expected unqualified-id before '<' token
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:630: error: template with C linkage
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:631: error: expected template-name before '<' token
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:631: error: expected `{' before '<' token
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:631: error: expected unqualified-id before '<' token
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:646: error: template with C linkage
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:662: error: template with C linkage
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:678: error: template with C linkage
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:694: error: template with C linkage
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:711: error: template with C linkage
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:716: error: template with C linkage
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:721: error: template with C linkage
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:726: error: template with C linkage
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:731: error: template with C linkage
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:736: error: template with C linkage
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:741: error: template with C linkage
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi
>> >> on.h:746: error: template with C linkage
>> >> In file included from
>> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/libsupc++/new:45,
>> >>                from
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/bitmap_allo
>> >> cator.h:41,
>> >>                from
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc
>> >> :30:
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/libsupc++/exception:40:
>> >> error: '#pragma' is not allowed here
>> >>
>> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/libsupc++/exception:133
>> >> : error: expected declaration before end of line
>> >> *** Error code 1
>> >>
>> >> Stop in /usr/src/gnu/lib/libstdc++-v3 (line 104 of /usr/share/mk/
>> sys.mk).
>> >> *** Error code 1
>> >>
>> >> Stop in /usr/src/gnu/lib (line 48 of /usr/share/mk/bsd.subdir.mk).
>> >> *** Error code 1
>> >>
>> >> Stop in /usr/src (line 74 of Makefile).
>> >>
>> >> _______________________________________________
>> >> flashboot mailing list
>> >> flashboot at mindrot.org
>> >> https://lists.mindrot.org/mailman/listinfo/flashboot
>> > _______________________________________________
>> > flashboot mailing list
>> > flashboot at mindrot.org
>> > https://lists.mindrot.org/mailman/listinfo/flashboot
>>
>> _______________________________________________
>> flashboot mailing list
>> flashboot at mindrot.org
>> https://lists.mindrot.org/mailman/listinfo/flashboot
>>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mindrot.org/pipermail/flashboot/attachments/20110503/e300b78a/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mk-mini.conf
Type: application/octet-stream
Size: 155 bytes
Desc: not available
URL: <http://lists.mindrot.org/pipermail/flashboot/attachments/20110503/e300b78a/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build-chroot-env.sh
Type: application/x-sh
Size: 1406 bytes
Desc: not available
URL: <http://lists.mindrot.org/pipermail/flashboot/attachments/20110503/e300b78a/attachment-0001.sh>


More information about the flashboot mailing list