[uClibc] Re: uClibc++ update

Peter S. Mazinger ps.m at gmx.net
Mon Sep 6 07:23:57 UTC 2004


On Mon, 6 Sep 2004, Peter S. Mazinger wrote:

> > Version 0.1.2 is out.  Lots of good stuff.
> > 
> > http://garrett.dyndns.biz/uClibc++/download.html
> > 
> > I'm still not able to run gcc 3.4 on my system.
> 
> This is the result of the build process ;-(
> 
> make -C src all
> make[1]: Entering directory `/usr/src/redhat/BUILD/uClibc++/src'
> g++ -c  -Wall -Wno-trigraphs -W -pedantic  -Os     -fno-builtin -nostdinc++ -ansi -I../include -fPIC -o char_traits.o char_traits.cpp
> In file included from ../include/memory:23,
>                  from ../include/char_traits:22,
>                  from char_traits.cpp:22:
> ../include/utility: In function `bool std::operator!=(const std::pair<T1, T2>&, const std::pair<T1, T2>&)':
> ../include/utility:71: error: `x' undeclared (first use this function)
> ../include/utility:71: error: (Each undeclared identifier is reported only once for each function it appears in.)
> ../include/utility:71: error: `y' undeclared (first use this function)

I have corrected this, and after that get the attached logs (w/ 
-fpermissive and w/o)

> In file included from ../include/char_traits:22,
>                  from char_traits.cpp:22:
> ../include/memory: In function `std::pair<T*, ptrdiff_t> std::get_temporary_buffer(ptrdiff_t)':
> ../include/memory:101: error: there are no arguments to `malloc' that depend on a template parameter, so a declaration of `malloc' must be available
> ../include/memory:101: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
> make[1]: *** [char_traits.o] Error 1
> make[1]: Leaving directory `/usr/src/redhat/BUILD/uClibc++/src'
> make: *** [all] Error 2
> 
> Peter
> 
> 

-- 
Peter S. Mazinger <ps dot m at gmx dot net>           ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08  BB6E C389 975E A5F0 59F2

____________________________________________________________________
Miert fizetsz az internetert? Korlatlan, ingyenes internet hozzaferes a FreeStarttol.
Probald ki most! http://www.freestart.hu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build-permissive.log.bz2
Type: application/x-bzip2
Size: 1747 bytes
Desc: 
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20040906/69d552eb/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.log.bz2
Type: application/x-bzip2
Size: 1782 bytes
Desc: 
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20040906/69d552eb/attachment-0001.bin 


More information about the uClibc mailing list